@import '../modules/variables';

*,
*:after,
*:before {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

.container {
    background: unset;
}

img {
    max-width: 100%;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: #46b450;
    border-radius: 10px;
    color: #fff;
    padding: 10px 30px;
    text-align: center;
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    color: $black;
}

a {
    text-decoration: none;
}

.form-control {
    padding: 1rem 1.5rem;
}

.btn-orange {
    background-color: $orange;
    color: #fff;
    border-radius: 50px;
    font-family: $gotham-bold;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    line-height: 22px;
    font-size: 15px;
    border: 2px solid $orange;
    transition: all 0.4s ease;
    &:hover {
        background-color: $black;
        border-color: $black;
        color: #fff;
    }
    @media (min-width: 990px) {
        font-size: 22px;
        height: 50px;
        padding: 18px 0;
    }
}

.btn-transparent {
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-family: $gotham-bold;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    line-height: 22px;
    font-size: 15px;
    border: 1px solid #fff;
    transition: all 0.4s ease;
    &:hover {
        background-color: #fff;
        color: $black;
    }
}

.btn-black {
    background-color: $black;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-family: $gotham-bold;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    line-height: 22px;
    border: 2px solid $black;
    font-size: 15px;
    transition: all 0.4s ease;
    &:hover {
        background-color: $orange;
        color: #fff;
    }
    @media (min-width: 990px) {
        font-size: 26px;
        height: 75px;
        padding: 18px 0;
    }
}

.ml-auto {
    margin-left: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.banner-container {
    padding-top: 80px;
    padding-bottom: 34px;
    background-size: cover;
    background-position: center;
    &::before {
        content: "";
        background: linear-gradient(to bottom, $black, transparent);
        width: 100%;
        height: 130px;
        left: 0;
        top: 0;
        position: absolute;
        z-index: 1;
    }
    .bread-crumb {
        font-size: 11px;
        color: #fff;
        margin-bottom: 89px;
        position: relative;
        z-index: 2;
        text-shadow: 0 1px 1px rgba($color: #000000, $alpha: 0.25);
        a {
            color: #fff;
            font-size: inherit;
        }
        span {
            font-family: $gotham-bold;
            font-size: inherit;
        }
    }
    .content {
        z-index: 1;
    }
    h1 {
        font-family: $gotham-black;
        color: #fff;
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 25px;
    }
    @media (min-width: 768px) {
        padding-top: 147px;
        padding-bottom: 200px;
        position: relative;
        &::after {
            content: "";
            width: 100%;
            left: 0;
            bottom: 0;
            height: 300px;
            background: linear-gradient(to top, $black, transparent);
            display: block;
            z-index: 0;
            position: absolute;
        }
        .bread-crumb {
            font-size: 12px;
            margin-bottom: 149px;
        }
        h1 {
            font-size: 42px;
            line-height: 120%;
            z-index: 1;
            margin-bottom: 37px;
        }
        .btn-orange {
            max-width: 240px;
            z-index: 1;
            position: relative;
        }
    }
}

#teachers {
    padding-top: 50px;
    .title {
        text-align: center;
        margin-bottom: 9px;
        h2 {
            font-size: 32px;
            font-family: $gotham-bold;
            line-height: 130%;
            color: $black;
            margin-bottom: 9px;
        }
        p {
            font-size: 16px;
            line-height: 150%;
            max-width: 55ch;
            margin: 0 auto;
        }
    }
    .carousel {
        .teacher {
            @media screen and (min-width: 768px) {
                .teacher-content {
                    height: 510px;
                }
            }
            padding-bottom: 27px;
            img.thumb {
                width: 100%;
            }
            .content {
                h3 {
                    color: $orange;
                    font-size: 48px;
                    font-family: $gotham-bold;
                    margin-top: -56px;
                    text-align: center;
                }
                a {
                    display: flex;
                    justify-content: center;
                    margin-bottom: 8px;
                }
                p {
                    text-align: center;
                    font-size: 16px;
                    line-height: 150%;
                    margin-bottom: 17px;
                    color: $black;
                }
                .slick-arrows {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    .slick-arrow {
                        outline: none;
                        border: none;
                        border-radius: 50%;
                        padding: 0;
                        width: 62px;
                        height: 62px;
                        background-color: $black;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        i {
                            color: #fff;
                            font-size: 26px;
                        }
                        &.slick-disabled {
                            width: 48px;
                            height: 48px;
                            background-color: rgba($color: $black, $alpha: 0.12);
                            i {
                                color: $black;
                                font-size: 20px;
                            }
                        }
                        &.slick-prev {
                            margin-right: 24px;
                        }
                    }
                }
            }
        }
    }
    @media (min-width: 768px) {
        .carousel {
            .teacher {
                .content {
                    h3 {
                        margin-top: 0;
                    }
                    a img {
                        width: 30px;
                        height: 30px;
                    }
                }
            }
        }
    }
    @media (min-width: 990px) {
        padding-top: 150px;
        padding-bottom: 105px;
        .title {
            margin-bottom: 63px;
            h2 {
                font-size: 48px;
                line-height: 140%;
                margin-bottom: 23px;
            }
            p {
                line-height: 150%;
                font-size: 24px;
            }
        }
        .carousel {
            .teacher {
                .content {
                    h3 {
                        font-size: 130px;
                        margin-top: 0;
                        text-align: left;
                        margin-left: calc(-100px - (var(--bs-gutter-x) * 0.5));
                        margin-bottom: 0;
                    }
                    a {
                        justify-content: start;
                    }
                    p {
                        font-size: 20px;
                        text-align: left;
                        max-width: 50ch;
                        margin-bottom: 32px;
                    }
                    .slick-arrows {
                        justify-content: start;
                    }
                }
            }
        }
    }
    @media (min-width: 1024px) {
        .carousel {
            .teacher {
                .content {
                    h3 {
                        font-size: 90px;
                    }
                }
            }
        }
    }
    @media (min-width: 1200px) {
        .carousel {
            .teacher {
                .content {
                    h3 {
                        font-size: 120px;
                    }
                }
            }
        }
    }
}

#about {
    background-color: $black;
    padding-top: 42px;
    padding-bottom: 17px;
    .title {
        h2 {
            font-family: $gotham-bold;
            font-size: 32px;
            text-align: center;
            color: $green;
            margin-bottom: 54px;
        }
    }
    .carousel-about {
        .colab {
            border-radius: 7px;
            background-color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 0 40px 30px;
            margin: 40px 60px 0;
            &.slick-center {
            }
            .icon {
                margin-top: -40px;
                margin-bottom: 16px;
                border-radius: 50%;
                max-height: 142px;
                width: 142px;
            }
            h3 {
                font-family: $gotham-bold;
                line-height: 150%;
                color: $black;
                font-size: 20px;
            }
            h4 {
                line-height: 150%;
                color: $black;
                font-size: 16px;
            }
            .quote {
                margin-bottom: 5px;
            }
            p {
                font-size: 14px;
                color: $black;
                max-width: 28ch;
            }
        }
    }
    @media (min-width: 768px) {
        padding-top: 160px;
        padding-bottom: 420px;
        .title {
            h2 {
                font-size: 48px;
                margin-bottom: 37px;
            }
        }
        .carousel-about {
            .colab {
                transform: scale(0.8);
                opacity: 0.8;
                margin: 40px 30px 0;
                transition: all 0.4s ease;
                &.slick-center {
                    transform: scale(1);
                    opacity: 1;
                    .quote {
                        path {
                            fill: $orange;
                        }
                    }
                }
                .quote {
                    path {
                        fill: $green;
                    }
                }
            }
        }
    }
    @media (min-width: 768px) {
        .carousel-about {
            .colab {
                margin: 40px 40px 0;
            }
        }
    }
}

#use {
    padding-top: 50px;
    padding-bottom: 30px;
    background-image: url(../img/bg-dflix-mob.png);
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
    position: relative;
    &::before {
        content: "";
        position: absolute;
        background: inherit;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .logo {
        margin-bottom: 22px;
    }

    

    
    h2 {
        font-family: $gotham-bold;
        font-size: 22px;
        line-height: 120%;
        color: #fff;
    }
    p {
        font-family: $gotham-bold;
        font-size: 24px;
        color: #fff;
        margin-bottom: 15px;
        line-height: 25px;
        span {
            font-family: $gotham;
            font-size: 16px;
        }
    }

    .box-plans {
        margin-bottom: 40px;

        
    }

    @media (min-width: 768px) {
        margin-top: -188px;
        background-image: url(../img/bg-dflix-mob.png);
        padding-top: 100px;
        padding-bottom: 90px;
        border-radius: 8px;
        margin-bottom: 77px;

        .box-plans {
            margin-bottom: 40px;
    
            display: flex;
            div:first-child {
                padding-right: 32px;
                border-right: 1px solid #fff;
            }
    
            div:last-child {
                padding-left: 32px;
                border-left: 1px solid #fff;
            }

        }
        .logo {
            margin-bottom: 27px;
        }
        h2 {
            font-size: 32px;
            margin-bottom: 24px;
        }
        p {
            font-size: 32px;
            margin-bottom: 40px;
            line-height: 25px;
            span {
                font-size: 16px;
            }
        }
        a {
            max-width: fit-content;
            padding: 20px 30px;
        }
    }
}

#faq {
    margin-bottom: 111px;
    .title {
        h2 {
            font-size: 27px;
            font-family: $gotham-bold;
            margin-bottom: 17px;
        }
        p {
            font-size: 18px;
            line-height: 150%;
            max-width: 35ch;
        }
    }
    .item-faq {
        border-bottom: 2px solid $black;
        button {
            background-color: unset;
            min-height: 50px;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: $black;
            font-family: $gotham-bold;
            border: none;
            width: 100%;
            padding: 0;
            padding-right: 16px;
            transition: all 0.4s ease;
            &[aria-expanded="true"] {
                color: $orange;
                svg {
                    transform: rotate(45deg);
                    path {
                        fill: $orange;
                    }
                }
            }
            p {
                margin-bottom: 16px;
            }
            svg {
                min-width: 16px;
            }
        }
        .content {
            padding: 10px 0;
        }
    }
    .btn-orange {
        margin-top: 40px;
    }
    @media (min-width: 990px) {
        padding-bottom: 156px;
        margin-bottom: 40px;
        position: relative;
        &::after {
            content: "";
            width: 100%;
            height: 238px;
            z-index: -1;
            bottom: -81px;
            position: absolute;
            display: block;
            background: linear-gradient(to top, $black, transparent 45%);
        }
        .title {
            h2 {
                font-size: 42px;
                margin-bottom: 23px;
            }
            p {
                font-size: 18px;
                margin-bottom: 18px;
                max-width: 25ch;
            }
            a {
                max-width: 197px;
                font-size: 24px;
            }
        }
        .item-faq {
            button {
                font-size: 22px;
                justify-content: start;
                svg {
                    margin-left: 8px;
                }
            }
            p {
                font-size: 18px;
            }
        }
    }
}

#blogSection {
    background-color: $black;
    padding-top: 36px;
    padding-bottom: 111px;
    h2 {
        text-align: center;
        color: $green;
        font-family: $gotham-bold;
        font-size: 24px;
        line-height: 128%;
        margin-bottom: 30px;
    }
    .first-post {
        padding: 37px 20px 25px;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 7px;
        img {
            margin-bottom: 8px;
        }
        .category {
            color: $gray;
            font-size: 12px;
            margin-bottom: 5px;
            line-height: 22px;
            font-family: $gotham-bold;
        }
        h3 {
            font-size: 24px;
            font-family: $gotham-bold;
            line-height: 120%;
            margin-bottom: 7px;
        }
        .date {
            color: $gray;
            font-size: 12px;
            line-height: 22px;
            font-family: $gotham-bold;
        }
        p {
            font-family: $gotham;
            font-size: 14px;
            line-height: 26px;
            color: $black-light;
            margin-bottom: 10px;
        }
    }
    @media (min-width: 764px) {
        .post {
            display: flex;
            margin-bottom: 38px;
            .thumb {
                display: flex;
                align-items: center;
                justify-content: start;
                overflow: hidden;
                max-width: 100px;
                min-width: 100px;
                max-height: 100px;
                margin-right: 20px;
                img {
                    max-width: unset;
                    height: 100%;
                }
            }
            .content {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding-bottom: 11px;
                h3 {
                    font-family: $gotham-bold;
                    font-size: 20px;
                    color: #fff;
                    margin: auto 0;
                }
                a {
                    display: flex;
                    align-items: center;
                    color: #fff;
                    font-family: $gotham-bold;
                    img {
                        margin-left: 20px;
                    }
                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
    }
    @media (min-width: 990px) {
        padding-top: 144px;
        padding-bottom: 217px;
        h2 {
            font-size: 38px;
            margin-bottom: 75px;
        }
        .first-post {
            padding: 60px 40px 60px;
            img {
                margin-bottom: 12px;
            }
            .category {
                font-size: 16px;
                margin-bottom: 10px;
            }
            h3 {
                font-size: 32px;
                margin-bottom: 10px;
            }
            .date {
                font-size: 16px;
                margin-bottom: 20px;
            }
            p {
                font-size: 16px;
                margin-bottom: 20px;
            }
            a {
                max-width: 197px;
                height: 50px;
                font-size: 22px;
                &:hover {
                    border-color: $black;
                }
            }
        }
        .post {
            .thumb {
                max-width: 150px;
                min-width: 150px;
                max-height: 150px;
            }
            .content {
                h3 {
                    font-size: 26px;
                }
            }
        }
        .btn-orange {
            max-width: 197px;
            height: 50px;
            font-size: 22px;
            &:hover {
                border-color: #fff;
            }
        }
    }
}

#signFooter {
    background-color: $orange;
    padding-bottom: 60px;
    position: relative;
    &::before {
        content: "";
        display: block;
        width: 100%;
        height: 130px;
        position: absolute;
        z-index: 1;
        top: -12px;
        background: linear-gradient(to bottom, $black, transparent 45%);
    }
    &::after {
        content: "";
        display: block;
        width: 100%;
        height: 113px;
        position: absolute;
        z-index: 1;
        bottom: -12px;
        background: linear-gradient(to top, $black, transparent 45%);
    }
    .img {
        margin-top: -71px;
        margin-bottom: 11px;
        z-index: 2;
    }
    .content {
        h2 {
            text-align: center;
            color: #fff;
            line-height: 110%;
            margin-bottom: 11px;
            font-weight: lighter;
            font-size: 18px;
            font-family: 'Metropolis SemiBold';
            span {
                font-family: $gotham-bold;
                font-size: 42px;
                line-height: 1.2em;

            }
        }
    }
    @media (min-width: 768px) {
        padding-top: 94px;
        padding-bottom: 0px;
        .img {
            margin-top: -150px;
        }
        .content {
            display: flex;
            align-items: center;
            margin-bottom: auto;
            z-index: 9;
            margin-bottom: 94px;
            h2 {
                text-align: left;
                margin-right: auto;
                font-weight: lighter;
                span {
                    font-weight: bold;
                }
            }
            a {
                max-width: 222px;
            }
        }
    }

    @media (min-width: 992px) {
        padding-top: 94px;
        padding-bottom: 0px;
        .img {
            margin-top: -150px;
        }
        .content {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: auto;
            z-index: 9;
            margin-bottom: 94px;
            h2 {
                text-align: left;
                display: block;
                font-size: 1.2vw;
                span {
                    font-size: 3vw;
                    font-weight: bold;
                    line-height: 1em;

                    .cents {
                        font-size: 26px;
                    }
                }

                &:first-child {
                    padding-right: 32px;
                    border-right: 1px solid rgba(0, 0, 0, 0.2);
                }
                &:last-child {
                    padding-left: 32px;
                }
            }
            a {
                max-width: 222px;
            }
        }
    }
}

.search-form {
    border: 1px solid $black;
    border-radius: 48px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0;
    &:focus-within {
        box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
    }
    button {
        border: none;
        background-color: unset;
        outline: none;
        padding-left: 16px;
        padding-right: 4px;
        padding-top: 12px;
        padding-bottom: 12px;
        display: flex;
        align-items: center;
    }
    input {
        display: flex;
        align-items: center;
        padding-left: 4px;
        box-shadow: unset;
        border: none;
        background-color: unset;
        &:focus {
            background-color: unset;
            box-shadow: unset;
            border: none;
        }
    }
}

form.invalid .wpcf7-response-output {
    display: none;
}
