#form {
    width: 100%;
    background: #FFEBED;
    position: relative;
    overflow: hidden;
    transform: translateY(-1px);
}

.form_little_heart1,
.form_little_heart2,
.form_little_heart3,
.form_little_heart4,
.form_little_heart5,
.form_little_heart6 {
    position: absolute;
    pointer-events: none;
    filter: brightness(0) saturate(100%) invert(80%) sepia(2%) saturate(2774%) hue-rotate(314deg) brightness(109%) contrast(102%);
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

.form_little_heart1 {
    width: 99px;
    height: 84px;
    animation-delay: 0s;
    animation-duration: 4s;
    top: 260px;
    right: 95px;
}

.form_little_heart2 {
    width: 45px;
    height: 38px;
    animation-delay: 0.8s;
    animation-duration: 5s;
    top: 180px;
    right: 170px;
}

.form_little_heart3 {
    width: 21px;
    height: 18px;
    animation-delay: 1.6s;
    animation-duration: 3.5s;
    top: 160px;
    right: 100px;
}

.form_little_heart4 {
    width: 99px;
    height: 84px;
    animation-delay: 0s;
    animation-duration: 4s;
    top: 495px;
    left: 65px;
}

.form_little_heart5 {
    width: 45px;
    height: 38px;
    animation-delay: 0.8s;
    animation-duration: 5s;
    top: 410px;
    left: 40px;
}

.form_little_heart6 {
    width: 21px;
    height: 18px;
    animation-delay: 1.6s;
    animation-duration: 3.5s;
    top: 390px;
    left: 140px;
}

.form_cat {
    position: absolute;
    bottom: -45px;
    right: 60px;
    pointer-events: none;
    z-index: 3;
}

.form_line {
    width: 100%;
    height: 32px;
    background: #FFF;
}

.submit-email,
.telega_but {
    display: flex;
    height: 56px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #FFF8F8;
    color: #720913;
    text-align: center;
    font-family: 'HelveticaNeue-Bold';
    font-size: 18px;
    line-height: 120%;
    cursor: pointer;
}

.telega_but {
    margin-top: 18px;
}

.form {
    padding: 194px 0 187px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    background: url(../assets/cloud.svg) center / contain no-repeat;
    width: 802px;
    height: 78px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(76%) saturate(0%) hue-rotate(344deg) brightness(115%) contrast(101%);
    transform: scaleX(-1);
    pointer-events: none;
}

.form_head {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 16px;
    padding-bottom: 64px;
    align-items: center;
}

.form_title {
    color: #720913;
    text-align: center;
    font-family: 'Shadow';
    font-size: 64px;
    line-height: 60px;
    will-change: transform, opacity;
    opacity: 0;
}

.form_text {
    max-width: 600px;
    text-align: center;
    color: #121212;
    font-size: 24px;
    line-height: 32px;
    will-change: transform, opacity;
    opacity: 0;
}

#form.show .form_title {
    animation: bumpUp 0.9s cubic-bezier(.22, 1.4, .36, 1) forwards
}

#form.show .form_text {
    animation: bumpUp 0.9s cubic-bezier(.22, 1.4, .36, 1) 0.5s forwards
}

.registration {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    margin: 0 auto;
    padding: 0 64px;
    height: max-content;
}

#signup-form {
    border-radius: 24px;
    background: #F9E1E2;
    padding: 40px;
    max-width: 576px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    will-change: transform, opacity;
    opacity: 0;
}

#form.show #signup-form {
    animation: fadeleft 0.6s ease 1s forwards;
}

.form_titlereg {
    color: #FFF;
    font-family: 'HelveticaNeue-Bold';
    font-size: 32px;
    line-height: 36px;
    text-align: center;
}

.form_regtitle {
    color: #720913;
}

.form-group input {
    color: #720913;
    font-family: 'HelveticaNeue-Roman';
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    height: 56px;
    padding: 16px 32px;
    border-radius: 5px;
    background-color: #eccecf;
    border: transparent solid 1px;
}

input::placeholder {
    color: #C0646D;
}

.section-emailtg {
    border-radius: 24px;
    background: #720913;
    width: 100%;
    max-width: 880px;
    padding: 40px;
    will-change: transform, opacity;
    opacity: 0;
}

#form.show .section-emailtg {
    animation: faderight 0.6s ease 1s forwards;
}

.form_send {
    font-size: 18px;
    line-height: 24px;
    padding: 8px 0 16px;
    color: #ffadb2;
}

.bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 24px;
}

.bonuses img {
    border-radius: 4px;
}

.step {
    font-size: 24px;
    font-style: normal;
    line-height: 32px;
    letter-spacing: -0.24px;
    text-align: left;
    padding-top: 16px;
    color: #F9E1E2;
}

#signup-form .checkbox label {
    color: #121212;
}

.checkbox label {
    color: #121212;
    font-family: 'HelveticaNeue-Roman';
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.014px;
    text-align: left;
    display: flex;
    gap: 8px;
    position: static;
    width: 100%;
    height: auto;
    color: #FFFFFF;
}

.form-group {
    position: relative;
    width: 100%;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    position: absolute;
    top: 3px;
    left: 3px;
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    border: #FFFFFF solid 2px;
    background: #720913;
    border-radius: 3px;
    cursor: pointer;
}

input[type="checkbox"]::after,
input[type="radio"]::after {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    transition: .2s linear;
    border-radius: 3px;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    background: #720913;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: none;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
    cursor: pointer;
}

.checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#form-signup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#change_form #form-signup button {
    background: #720913 !important;
    color: #FFF !important;
}

#form-signup button,
.white_form_but  {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #720913;
    color: #FFF;
    text-align: center;
    font-family: 'HelveticaNeue-Bold';
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}

.help-block {
    font-size: 14px;
    line-height: 16px;
}

.has-error .help-block {
    color: #AA0909;
}

.email-tg {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
}

.form_text {
    color: #121212;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    max-width: 744px;
}

@media (max-width: 1600px) {
    .form {
        padding: 155px 0 140px;
    }

    .form_title {
        font-size: 48px;
        line-height: 100%;
        letter-spacing: -0.48px;
    }

    .form_text {
        font-size: 22px;
        line-height: 140%;
    }

    .section-emailtg {
        max-width: 700px;
    }

    .form_little_heart1,
    .form_little_heart2,
    .form_little_heart3,
    .form_little_heart4,
    .form_little_heart5,
    .form_little_heart6 {
        display: none;
    }

    .form_cat {
        max-width: 285px;
    }

    .form::after {
        bottom: -5px;
        right: 0;
        width: 600px;
        height: 64px;
    }
}

@media (max-width: 1300px) {
    .form_titlereg {
        font-size: 26px;
        line-height: 26px;
    }

    .step {
        font-size: 20px;
        line-height: 25px;
    }

    .section-emailtg,
    #signup-form {
        padding: 32px;
    }
}

@media (max-width: 1100px) {

    .form {
        padding: 100px 0 140px;
    }

    .registration {
        flex-direction: column;
        align-items: center;
    }

    .section-emailtg {
        max-width: 576px;
    }

    .form_cat {
        right: 0;
    }

}

@media (max-width: 920px) {
    .form_titlereg {
        font-size: 24px;
        line-height: 130%;
    }

    .form_head {
        max-width: 530px;
        gap: 8px;
        padding: 0px 16px 64px;
    }

    .form_title {
        font-size: 30px;
        line-height: 130%;
    }

    .form_text {
        font-size: 16px;
        line-height: 130%;
    }

    .form::after {
        bottom: -5px;
        right: 0;
        width: 405px;
        height: 42px;
    }

    .form_cat {
        display: none;
    }

    #form-signup button {
        height: 52px;
        padding: 16px 32px;
    }

    #signup-form {
        padding: 28px;
        max-height: fit-content;
        border-radius: 16px;
    }

    .section-emailtg {
        max-height: fit-content;
        border-radius: 16px;
    }

    .bonuses {
        margin: 8px 0 2px;
    }

    .telega_but {
        margin-top: 14px;
    }

    .form_after_title {
        text-align: center;
        max-width: 355px;
        font-size: 18px;
        line-height: 24px;
    }

    .form_p {
        text-align: center;
    }

    .registration {
        padding: 0 32px;
    }

    .section-emailtg {
        padding: 32px;
    }

    .bonuses img {
        width: 48px;
        height: 48px;
    }

    .emailcheck {
        margin-top: 8px;
    }

    .registration {
        gap: 62px;
    }

    #signup-form {
        gap: 32px;
    }

    .align_center {
        justify-content: left;
    }

    .step {
        font-size: 18px;
        line-height: 130%;
        letter-spacing: -0.18px;
        padding-top: 30px;
    }

    .form_send {
        font-size: 14px;
        line-height: 130%;
        padding: 6px 0 16px;
    }

    .submit-email,
    .telega_but {
        height: fit-content;
        padding: 5px 32px;
        width: 100%;
    }
}

@media (max-width: 740px) {
    .checkbox label {
        font-size: 14px;
        line-height: 130%;
        letter-spacing: 0.014px;
    }

    .email-tg {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .form {
        padding: 80px 0;
    }
}

@media (max-width: 599px) {
    .form_text_block {
        padding: 0 16px;
    }

    .registration {
        padding: 0 16px;
    }

    .form_titlereg {
        text-align: left;
    }

    .bonuses img {
        width: 32px;
        height: 32px;
    }

    .bonuses {
        gap: 4px;
    }

    .emailcheck {
        margin-top: 0px;
    }

    .form_disclamer {
        padding: 24px 0 0;
    }

    .registration {
        gap: 32px;
    }

    .align_center {
        justify-content: center;
    }
}