body {
    position: relative;
}

.overlay {
    position: absolute;
    width: 100vw;
    height: 100vh;

    background: #F3F8FF;
    transition: opacity .25s ease, visibility .25s ease;

    z-index: 9999999999;

    top: 0;
    right: 0;
}

.overlay.--loaded {
    opacity: 0;
    visibility: hidden;
}

.hero {
    width: 100%;
    border-radius: 32px;
    background:
        radial-gradient(circle at 85% 20%, rgba(52, 211, 153, 0.55), transparent 34%),
        linear-gradient(135deg, #16A34A 0%, #10B981 45%, #059669 100%);

    margin-top: 70px;
    padding: 35px 20px;

    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 32px;
}


.hero__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero__header-title {
    font-family: "BalsamqSans", sans-serif;
    font-weight: 400;
    font-size: 55px;
    color: #FFFFFF;
    line-height: 90%;
}

.hero__header-badge {
    background: #FFFFFF;
    padding: 14px 90px 14px 32px;
    width: auto;
    display: inline-block;
    border-radius: 50px;
    position: relative;

    transform: rotateZ(2deg)
}

.hero__header-subtitle {
    font-family: "Onest", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #047857;
}

.hero__header-icon {
    position: absolute;
    right: -7px;
    top: -19px;

    transform: rotateZ(20deg);
}

.hero__header-icon-star {
    position: absolute;
    right: -12px;
    transform: translateX(50%);
    top: -19px;
}

.hero__header-description {
    font-family: "Onest", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.3em;
    max-width: 88%;
    margin-top: 24px;
}

.hero__buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero__buttons-to-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 18px 21px 18px 21px;
    width: 100%;

    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 500;

    border: none;
    border-radius: 10px;

    background: #FFFFFF;
    color: #047857;

    cursor: pointer;
}

.hero__buttons-to-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 18px 21px 18px 21px;
    width: 100%;

    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 500;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.35);

    cursor: pointer;
}

@font-face {
    font-family: "Onest";
    src: url("/fonts/Onest-VariableFont_wght.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BalsamqSansBold";
    src: url("/fonts/BalsamiqSans-Bold.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BalsamqSans";
    src: url("/fonts/BalsamiqSans-Regular.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

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

    .hero__header {
       gap: 28px;
    }

    .hero__header-title {
        font-size: 60px;
    }
}

@media (min-width:1200px) {

    .hero {
        padding: 58px 100px;
        gap: 48px;
    }

    .hero__header {
        position: relative;
    }

    .hero__header-title {
        font-size: 74px;
    }

    .hero__header-subtitle {
        font-size: 18px;
    }

    .hero__header-badge {
        position: absolute;
        bottom: 0;
        right: 0;

        padding: 38px 110px 38px 28px;

        transform: rotateZ(-2deg);
    }

    .hero__header-icon {
        width: 130px;
        height: 130px;

        right: -15px;
        top: -12px;
    }

    .hero__header-description {
        max-width: 67%;
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction: row;
        align-items: center;
    }

    .hero__buttons-to-catalog {
        width: auto;
        padding: 32px;

        border-radius: 18px;
        font-size: 18px;
    }

    .hero__buttons-to-pay {
        width: auto;
        padding: 32px;

        border: 3.5px solid rgba(255, 255, 255, 0.35);

        border-radius: 18px;
        font-size: 18px;
    }
}