/* =========================================
   CLASSES PAGE
========================================= */

main {
    background: #fff;
}


/* =========================================
   HERO
========================================= */
.mobile-language {
    display: none;
}

.classes-hero {
    position: relative;

    min-height: 390px;

    background: #050505;
    color: #fff;

    overflow: hidden;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 83%,
        0 100%
    );
}

.classes-hero-container {
    position: relative;

    width: min(1160px, 88%);
    height: 100%;

    margin: 0 auto;
    padding-top: 60px;
}


/* SMALL TITLE */

.hero-small-title {
    position: relative;
    z-index: 3;
}

.hero-small-title p {
    margin: 0;

    color: #e31b23;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-small-title span {
    display: block;

    width: 40px;
    height: 3px;

    margin-top: 12px;

    background: #e31b23;
}


/* MAIN HERO TITLE */

.classes-hero h1 {
    position: relative;
    z-index: 1;

    margin: 20px 0 0;

    color: #fff;

    font-size: clamp(90px, 12vw, 185px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -10px;
}


/* =========================================
   CLASSES SECTION
========================================= */

.classes-section {
    background: #fff;

    padding: 90px 30px 80px;
}


/* =========================================
   DETAILS INTRO
========================================= */

.classes-details-intro {
    width: min(1180px, 88%);

    margin: 0 auto;

    text-align: center;
}

.details-intro-label {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 16px;
}

.details-intro-label span {
    width: 35px;
    height: 2px;

    background: #e31b23;
}

.details-intro-label p {
    margin: 0;

    color: #e31b23;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.classes-details-intro h2 {
    margin: 0;

    color: #111;

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
}

.classes-details-intro h2 span {
    color: #e31b23;
}

.details-intro-text {
    max-width: 520px;

    margin: 18px auto 0;

    color: #555;

    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================
   CLASS DETAILS
========================================= */

.classes-details {
    width: min(1180px, 88%);

    margin: 55px auto 0;
}


/* ROW */

.class-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 80px;

    padding: 55px 0;

    scroll-margin-top: 100px;
}


/* ALTERNATING ROW */

.class-detail-row.reverse .class-detail-image {
    order: 2;
}

.class-detail-row.reverse .class-detail-text {
    order: 1;
}


/* IMAGE */

.class-detail-image {
    width: 100%;
}

.class-detail-image img {
    display: block;

    width: 100%;
    height: 390px;

    object-fit: cover;
}


/* TEXT */

.class-detail-text {
    max-width: 520px;
}

.detail-red-line {
    display: block;

    width: 45px;
    height: 3px;

    margin-bottom: 18px;

    background: #e31b23;
}

.class-detail-text h2 {
    margin: 0 0 20px;

    color: #111;

    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.class-detail-text p {
    margin: 0 0 15px;

    color: #222;

    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
}

.class-detail-text p:last-child {
    margin-bottom: 0;
}


/* DIVIDER */

.class-detail-divider {
    width: 100%;
    height: 1px;

    background: #e31b23;
}


/* =========================================
   SCHEDULE BUTTON
========================================= */

.schedule-button-container {
    display: flex;
    justify-content: center;

    margin-top: 60px;
}

.schedule-button {
    display: inline-block;

    min-width: 180px;

    padding: 13px 25px;

    border: 2px solid #e31b23;

    background: transparent;
    color: #080808;

    text-align: center;
    text-decoration: none;

    font-size: 10px;
    font-weight: 600;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.schedule-button:hover {
    background: #e31b23;
    color: #fff;
}


/* =========================================
   ACTIVE NAVIGATION
========================================= */

header nav a.active-page {
    position: relative;
}

header nav a.active-page::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 100%;
    height: 2px;

    background: #e31b23;
}


/* =========================================
   LAPTOP
   901px - 1200px
========================================= */

@media (min-width: 901px) and (max-width: 1200px) {

    /* HERO */

    .classes-hero {
        min-height: 370px;
    }

    .classes-hero-container {
        width: 90%;

        padding-top: 55px;
    }

    .classes-hero h1 {
        font-size: clamp(100px, 13vw, 145px);
        letter-spacing: -7px;
    }


    /* SECTION */

    .classes-section {
        padding: 85px 30px 75px;
    }


    /* INTRO */

    .classes-details-intro {
        width: 90%;
    }

    .classes-details-intro h2 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }


    /* DETAILS */

    .classes-details {
        width: 90%;

        margin-top: 50px;
    }

    .class-detail-row {
        gap: 65px;

        padding: 50px 0;
    }

    .class-detail-image img {
        height: 360px;
    }

    .class-detail-text h2 {
        font-size: clamp(2.3rem, 4vw, 3.6rem);
    }

    .class-detail-text p {
        font-size: 0.9rem;
    }
}


/* =========================================
   TABLET
   768px - 900px
========================================= */

@media (min-width: 768px) and (max-width: 900px) {

    /* HERO */

    .classes-hero {
        min-height: 350px;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 90%,
            0 100%
        );
    }

    .classes-hero-container {
        width: 90%;

        padding-top: 50px;
    }

    .hero-small-title p {
        font-size: 11px;
    }

    .classes-hero h1 {
        margin-top: 25px;

        font-size: clamp(85px, 14vw, 115px);
        letter-spacing: -6px;
    }


    /* SECTION */

    .classes-section {
        padding: 75px 30px 70px;
    }


    /* INTRO */

    .classes-details-intro {
        width: 90%;
    }

    .classes-details-intro h2 {
        font-size: clamp(2.8rem, 8vw, 4rem);
        letter-spacing: -3px;
    }

    .details-intro-text {
        font-size: 0.85rem;
    }


    /* DETAILS */

    .classes-details {
        width: 90%;

        margin-top: 45px;
    }

    .class-detail-row {
        grid-template-columns: 1fr 1fr;

        gap: 45px;

        padding: 45px 0;
    }

    .class-detail-image img {
        height: 310px;
    }

    .class-detail-text h2 {
        margin-bottom: 17px;

        font-size: clamp(2rem, 5vw, 3rem);
    }

    .class-detail-text p {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .detail-red-line {
        width: 40px;

        margin-bottom: 15px;
    }


    /* BUTTON */

    .schedule-button-container {
        margin-top: 50px;
    }
}


/* =========================================
   TABLET SMALL
   580px - 767px
========================================= */

@media (min-width: 580px) and (max-width: 767px) {

    /* HERO */

    .classes-hero {
        min-height: 330px;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 90%,
            0 100%
        );
    }

    .classes-hero-container {
        width: 90%;

        padding-top: 50px;
    }

    .hero-small-title p {
        font-size: 11px;
    }

    .hero-small-title span {
        width: 35px;
    }

    .classes-hero h1 {
        margin-top: 25px;

        font-size: clamp(75px, 15vw, 100px);
        letter-spacing: -5px;
    }


    /* SECTION */

    .classes-section {
        padding: 70px 30px 65px;
    }


    /* INTRO */

    .classes-details-intro {
        width: 90%;
    }

    .classes-details-intro h2 {
        font-size: clamp(2.7rem, 9vw, 3.8rem);
        letter-spacing: -3px;
    }

    .details-intro-text {
        max-width: 460px;

        font-size: 0.82rem;
    }


    /* DETAILS */

    .classes-details {
        width: 90%;

        margin-top: 50px;
    }

    .class-detail-row,
    .class-detail-row.reverse {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 45px 0;
    }

    .class-detail-row.reverse .class-detail-image,
    .class-detail-row.reverse .class-detail-text {
        order: initial;
    }

    .class-detail-image img {
        height: 340px;
    }

    .class-detail-text {
        width: 100%;
        max-width: 600px;
    }

    .class-detail-text h2 {
        font-size: clamp(2.3rem, 8vw, 3.2rem);
    }

    .class-detail-text p {
        font-size: 0.88rem;
        line-height: 1.75;
    }


    /* BUTTON */

    .schedule-button-container {
        margin-top: 50px;
    }
}


/* =========================================
   SMALL TABLET
   451px - 579px
========================================= */

@media (min-width: 451px) and (max-width: 579px) {

    /* HERO */

    .classes-hero {
        min-height: 300px;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 90%,
            0 100%
        );
    }

    .classes-hero-container {
        width: 90%;

        padding-top: 45px;
    }

    .hero-small-title p {
        font-size: 10px;
    }

    .hero-small-title span {
        width: 32px;
        height: 2px;

        margin-top: 10px;
    }

    .classes-hero h1 {
        margin-top: 25px;

        font-size: clamp(65px, 16vw, 85px);
        letter-spacing: -5px;
    }


    /* SECTION */

    .classes-section {
        padding: 65px 25px 60px;
    }


    /* INTRO */

    .classes-details-intro {
        width: 100%;
    }

    .details-intro-label p {
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .classes-details-intro h2 {
        font-size: clamp(2.5rem, 10vw, 3.3rem);
        letter-spacing: -3px;
    }

    .details-intro-text {
        max-width: 430px;

        font-size: 0.8rem;
    }


    /* DETAILS */

    .classes-details {
        width: 100%;

        margin-top: 45px;
    }

    .class-detail-row,
    .class-detail-row.reverse {
        grid-template-columns: 1fr;

        gap: 28px;

        padding: 40px 0;
    }

    .class-detail-row.reverse .class-detail-image,
    .class-detail-row.reverse .class-detail-text {
        order: initial;
    }

    .class-detail-image img {
        height: 300px;
    }

    .class-detail-text {
        width: 100%;
        max-width: 100%;
    }

    .class-detail-text h2 {
        margin-bottom: 17px;

        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .class-detail-text p {
        font-size: 0.85rem;
        line-height: 1.7;
    }


    /* BUTTON */

    .schedule-button-container {
        margin-top: 45px;
    }
}


/* =========================================
   MOBILE
   <= 450px
========================================= */

@media (max-width: 450px) {

    /* HERO */

    .classes-hero {
        min-height: 270px;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 90%,
            0 100%
        );
    }

    .classes-hero-container {
        width: 90%;

        padding-top: 40px;
    }

    .hero-small-title p {
        font-size: 9px;
        letter-spacing: 1.6px;
    }

    .hero-small-title span {
        width: 30px;
        height: 2px;

        margin-top: 9px;
    }

    .classes-hero h1 {
        margin-top: 23px;

        font-size: clamp(58px, 17vw, 72px);
        letter-spacing: -4px;
    }


    /* SECTION */

    .classes-section {
        padding: 60px 20px 55px;
    }


    /* INTRO */

    .classes-details-intro {
        width: 100%;
    }

    .details-intro-label {
        gap: 9px;

        margin-bottom: 13px;
    }

    .details-intro-label span {
        width: 28px;
    }

    .details-intro-label p {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .classes-details-intro h2 {
        font-size: clamp(2.2rem, 11vw, 2.8rem);
        line-height: 0.95;
        letter-spacing: -2px;
    }

    .details-intro-text {
        max-width: 330px;

        margin-top: 15px;

        font-size: 0.75rem;
        line-height: 1.6;
    }


    /* DETAILS */

    .classes-details {
        width: 100%;

        margin-top: 40px;
    }

    .class-detail-row,
    .class-detail-row.reverse {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 38px 0;

        scroll-margin-top: 85px;
    }

    .class-detail-row.reverse .class-detail-image,
    .class-detail-row.reverse .class-detail-text {
        order: initial;
    }

    .class-detail-image img {
        height: 240px;
    }

    .class-detail-text {
        width: 100%;
        max-width: 100%;
    }

    .detail-red-line {
        width: 38px;
        height: 3px;

        margin-bottom: 15px;
    }

    .class-detail-text h2 {
        margin-bottom: 16px;

        font-size: clamp(2rem, 10vw, 2.6rem);
        line-height: 1;
        letter-spacing: -2px;
    }

    .class-detail-text p {
        font-size: 0.82rem;
        line-height: 1.7;
    }


    /* BUTTON */

    .schedule-button-container {
        margin-top: 40px;
    }

    .schedule-button {
        min-width: 170px;

        padding: 12px 22px;

        font-size: 10px;
    }
}