.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 741px;
    margin: 0 auto;
    margin-top: 113px;
}

.hero .hero__h1 {
    font-family: Rubik;
    font-size: 74px;
    font-weight: 800;
    line-height: 88.8px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 0;
    text-transform: uppercase;
}

.hero .hero__h2 {
    font-family: Rubik;
    font-size: 43.45px;
    font-weight: 800;
    line-height: 52.14px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-transform: uppercase;
}

.hero .hero__text {
    font-family: Rubik;
    font-size: 24px;
    font-weight: 400;
    line-height: 38.4px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 24px;
    margin-bottom: 40px;
}

@media screen and (max-width: 1200px) {
    .hero {
        margin-top: 76px;
    }

    .hero .hero__h1 {
        font-size: 64px;
        line-height: 76.8px;
    }

    .hero .hero__h2 {
        font-size: 37.59px;
        line-height: 45.1px;
    }

    .hero .hero__text {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 32px;
    }
}

@media screen and (max-width: 980px) {
    .hero {
        margin-top: 69px;
    }

    .hero .hero__text {
        font-size: 18px;
        line-height: 28.8px;
    }
}

@media screen and (max-width: 720px) {
    .hero {
        margin-top: 42px;
    }

    .hero .hero__h1 {
        font-size: 32px;
        line-height: 38.4px;
    }

    .hero .hero__h2 {
        font-size: 19px;
        line-height: 22.8px;
    }

    .hero .hero__text {
        font-size: 16px;
        line-height: 25.6px;
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .hero__outer {
        padding: 0;
    }

    .hero .hero__text {
        padding: 0 var(--page-padding);
    }

    .hero .cta-btn {
        margin: 0 var(--page-padding);
        width: calc(100% - var(--page-padding));
    }
}

@media screen and (max-width: 355px) {

    .hero .hero__h1 {
        font-size: 30px;
    }

    .hero .hero__h2 {
        font-size: 17.6px;
    }
}

