/* Typeography */

.text-color-first {
    color: var(--first-color);
}

.text-color-second {
    color: var(--second-color);
}

.text-color-third {
    color: var(--third-color);
}

/* Form */

.button {
    display: inline-block;
    cursor: pointer;
    color: var(--second-color);
    background-color: var(--first-color);
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    font-family: var(--first-font);
    border-radius: 4px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.button:hover {
    -webkit-filter: brightness(0.83);
    filter: brightness(0.83);
}

/* Max Width*/

.max-width,
.container {
    max-width: 1200px;
    margin: auto;
}

/* Logo Animation */

header {
    text-align: center;
}

header .logo {
    overflow: hidden;
    position: relative;
    display: inline-block;
    height: 75px;
    margin: 16px auto;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    -webkit-animation: logo 0.75s ease-out forwards;
    -moz-animation: logo 0.75s ease-out forwards;
    -o-animation: logo 0.75s ease-out forwards;
    animation: logo 0.75s ease-out forwards;
}

header .logo.active,
header .logo-image {
    height: 50px;
}

.logo-icon,
.logo-text,
.logo-full {
    height: 100%;
}

.logo-icon,
.logo-text {
    position: absolute;
    top: 0;
    -webkit-animation: 0.75s ease-out forwards;
    -moz-animation: 0.75s ease-out forwards;
    -o-animation: 0.75s ease-out forwards;
    animation: 0.75s ease-out forwards;
}

.logo-icon {
    z-index: 2;
    left: 0;
    -webkit-animation-name: logoIcon;
    -moz-animation-name: logoIcon;
    -o-animation-name: logoIcon;
    animation-name: logoIcon;
}

.logo-text {
    right: 0;
    -webkit-animation-name: logoText;
    -moz-animation-name: logoText;
    -o-animation-name: logoText;
    animation-name: logoText;
}

.logo-full {
    opacity: 0;
}

@keyframes logo {
    from {
        left: 390px;
    }

    to {
        left: 0;
    }
}

@keyframes logoText {
    from {
        right: 390px;
    }

    to {
        right: 0;
    }
}

@media only screen and (max-width: 600px) {
    header .logo {
        margin: 16px auto 8px auto;
        -webkit-transform: scale(.8);
        -moz-transform: scale(.8);
        -ms-transform: scale(.8);
        -o-transform: scale(.8);
        transform: scale(.8);
    }
}

/* Scroll */

.header-placeholder {
    background-color: var(--second-color);
    height: 0;
}

.header-placeholder.active {
    height: 144px;
}

header.active {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgb(77, 76, 76, 0.7);
}

/* Guitar Icon */

.guitar-text {
    position: relative;
    margin-bottom: 8px;
}

.guitar-text img {
    display: block;
    margin-right: 16px;
    height: 100px;
    float: left;
}

.guitar-price {
    position: absolute;
    top: 40px;
    left: 37px;
    color: var(--second-color);
    font-family: var(--first-font);
    font-size: 28px;
    font-weight: bold;
}

.guitar-text p {
    font-size: 24px;
    position: relative;
    transform: translateY(-50%);
    top: 50px;
    margin: 0;
}

@media only screen and (max-width: 527px) {
    .guitar-text img {
        float: none;
        margin: 0 auto;
    }

    .guitar-price {
        left: 50%;
        transform: translateX(-50%);

    }
    
    .guitar-text p {
        text-align: center;
        transform: none;
        top: auto;
    }
    
}

/* Hero/Banner */

.hero {
    height: 600px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-shape {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background-image: url("/images/hero-shape.svg");
    background-position: top center;
    background-size: cover;
}

.hero-text {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 64px 198.69px 32px 32px;
    margin: auto;
}

.hero-text h1,
.hero-text p {
    color: var(--second-color);
}

.hero-text p {
    color: #fff;
    font-weight: bold;
}

.hero-text p:last-of-type {
    margin: 0;
}

.hero-text .button {
    background-color: var(--second-color);
    color: var(--third-color);
    position: absolute;
    bottom: 32px;
    right: 32px;
}

@media screen and (max-width: 992px) {}

@media screen and (max-width: 768px) {}

@media only screen and (max-width: 600px) {
    .hero {
        height: auto;
    }

    .hero-text {
        text-align: center;
        padding: 32px 16px;
    }

    .hero .hero-image {
        height: auto;
        position: relative;
        top: auto;
        left: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .hero .hero-shape {
        background-color: var(--first-color);
        position: relative;
        bottom: auto;
        left: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .hero-text p:last-of-type {
        margin: 0 0 8px 0;
    }

    .hero-text .button {
        position: unset;
    }
}

/* Staff Name  */

.staff-container {
    padding: 32px 0;
}

.staff-container::after {
    content: "";
    clear: both;
    display: table;
}

.staff {
    overflow: hidden;
    position: relative;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.staff:first-child {
    top: -16px;
    left: 16px;
}

.staff:last-child {
    top: 16px;
    left: -16px;
}

.staff img {
    width: 100%;
    display: block;
}

.staff h3 {
    color: var(--first-color);
    background-image: linear-gradient(to bottom left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 70%);
    margin: 0;
    padding: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media only screen and (max-width: 600px) {
    .staff {
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 32px;
    }

    .staff:last-child {
        margin-bottom: 0;
    }
}

/* Stats */

.stat-icon {
    width: 150px;
    margin-bottom: 16px;
}

/* Round Image */

.image-round {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.image-round img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Testimonial */

.testimonial {
    text-align: center;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
    padding: 32px;
}

.testimonial i {
    color: var(--second-color);
    font-size: 32px;
}

.testimonial i[class*="left"] {
    float: left;
    margin-right: 12px;
}

.testimonial i[class*="right"] {
    float: right;
    margin-left: 12px;
}

.testimonial p {
    font-style: italic;
    margin: 0;
    padding: 0 32px;
}

/* Partners */

.partner-image {
    display: block;
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    margin: auto;
    position: relative;
    vertical-align: middle;
    margin-bottom: 16px;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
}

.partner-image:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/* Donation */

.donation {
    display: inline-block;
    width: 100px;
    height: 112px;
    text-align: center;
    color: var(--second-color);
    line-height: 84px;
    font-size: 24px;
    margin: 0 0 16px 0;
    background-image: url(/images/logo-shape.png);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

i.donation {
    font-size: 44px;
}

/* FAQs */

.faq-container {
    max-width: 1000px;
    margin: 12px auto 12px auto;
}

.faq-accordion {
    position: relative;
    color: var(--second-color);
    background-color: var(--first-color);
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    padding-right: 40px;
    font-size: 20px;
    -webkit-transition: color 0.3s, background-color 0.3s;
    -moz-transition: color 0.3s, background-color 0.3s;
    -o-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
    border-bottom: var(--second-color) 1px solid;
}

.faq-accordion.active,
.faq-accordion:hover {
    color: var(--first-color);
    background-color: var(--second-color);
}

.faq-accordion:before,
.faq-accordion:after {
    content: "";
    width: 16px;
    height: 4px;
    background-color: var(--second-color);
    border-radius: 2px;
    position: absolute;
    top: 50%;
    right: 4px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.faq-accordion:after {
    -webkit-transform: rotate(-90deg) translate(2px, -8px);
    -moz-transform: rotate(-90deg) translate(2px, -8px);
    -ms-transform: rotate(-90deg) translate(2px, -8px);
    -o-transform: rotate(-90deg) translate(2px, -8px);
    transform: rotate(-90deg) translate(2px, -8px);
}

.faq-accordion.active::before,
.faq-accordion:hover::before,
.faq-accordion.active::after,
.faq-accordion:hover::after {
    color: var(--second-color);
    background-color: var(--first-color);
}

.faq-accordion.active:after {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.faq-accordion-panel {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    font-size: 18px;
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.faq-accordion-panel div {
    padding: 16px;
}

@media only screen and (max-width: 768px) {
    .faq-accordion {
        font-size: 18px;
    }
}

/* Cards */

.card-container {
    text-align: center;
    padding: 16px 1%;
    max-width: 1200px;
    margin: auto;
}

.card {
    display: inline-block;
    width: 23%;
    padding: 1%;
}

.card a {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.card-detials {
    text-align: left;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 8px;
    background-image: url("/images/hero-shape.svg");
    background-position: top center;
    background-size: cover;
}

.card-detials h3,
.card-detials p {
    font-family: var(--second-font);
    color: #000;
    margin-bottom: 4px;
}

.card-detials h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-detials p:last-of-type {
    margin-bottom: 0;
}

.card:hover img {
    width: 110%;
    height: 110%;
}

@media only screen and (max-width: 992px) {
    .card {
        width: 31.33%;
    }
}

@media only screen and (max-width: 768px) {
    .card {
        width: 48%;
    }
}

@media only screen and (max-width: 600px) {
    .card-detials h3 {
        font-size: 18px;
    }

    .card-detials p {
        font-size: 12px;
    }
}

/* Pagination */

.pagination {
    text-align: center;
    padding: 8px 16px;
    max-width: 1200px;
    margin: auto;
}

.pagination a {
    vertical-align: middle;
    display: inline-block;
    color: var(--second-color);
    margin: 8px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.pagination a.active {
    cursor: default;
    background-color: var(--first-color);
    color: #fff;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}


.pagination a i {
    line-height: 32px;
}