#form {
    width: 100%;
    background: linear-gradient(0deg, #E4F8FF 0%, #E4F8FF 100%), linear-gradient(180deg, #DCF5FF 0%, rgba(220, 245, 255, 0.00) 25.23%);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
}

#form::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 513px;
    background: url(../assets/snowup.png) top / contain no-repeat;
    pointer-events: none;
    top: 0px;
    left: -0;
    z-index: 0;
}

.form_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 112px 0 64px;
}

.submit-email {
    max-height: 56px;
}

.form_bg {
    padding: 222px 0 187px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

#form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 330px;
    background: url(../assets/snow1.png) bottom / cover no-repeat;
    pointer-events: none;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.form_head {
    padding-bottom: 88px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form_title {
    color: #4C8DF5;
    text-align: center;
    font-family: 'Ramillas';
    font-size: 64px;
    line-height: 110%;
    letter-spacing: -0.64px;
}

.form_after_title {
    color: #26314B;
    text-align: center;
    font-size: 24px;
    line-height: 130%;
    max-width: 640px;
}

.registration {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    margin: 0 auto;
    padding: 0 64px 200px;
    height: max-content;
    position: relative;
}

#signup-form {
    border-radius: 40px;
    border: 12px solid #FFF;
    background: linear-gradient(180deg, #ECFAFF 0%, #D0F3FF 100%);
    padding: 40px;
    max-width: 576px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.form_titlereg {
    font-family: "Ramillas";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.4px;
    text-transform: capitalize;
    text-align: center;
}

.form_tgtitle {
    color: #139174;
}

.form_regtitle {
    color: #4774B9;
}

.form-group input {
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    color: #000000;
    width: 100%;
    height: 56px;
    padding: 16px 32px;
    border-radius: 5px;
    background-color: #FFFFFF;
    border: transparent solid 1px;
}

.section-emailtg {
    border-radius: 40px;
    border: 12px solid #FFF;
    background: linear-gradient(180deg, #C6FFE6 0%, #BAFFE1 100%);
    width: 100%;
    max-width: 880px;
    padding: 40px;
    z-index: 3;
}

.form_send {
    color: #139174;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 0 16px;
}

.bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
}

.bonuses img {
    border-radius: 4px;
}

.red-text {
    color: #139174;
}

.email-tg .form-group input {
    background: #FFFFFF !important;
    color: #139174 !important;
    border-radius: 100px !important;
}

.step {
    color: #5C9579;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -0.24px;
    text-align: left;
    padding-top: 32px;
}

#form-signup .checkbox label {
    color: #12161D;
}

.checkbox label {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.014px;
    text-align: left;
    display: flex;
    gap: 8px;
    position: static;
    width: 100%;
    height: auto;
}

.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-radius: 3px;
    border: #139174 solid 2px;
    background: #ffffff;
}

#form-signup input[type="checkbox"]:checked::before,
#form-signup input[type="radio"]:checked::before {
    border: #ffffff solid 2px;
    background: #4774B9;
}

input[type="checkbox"]::after,
input[type="radio"]::after {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid #139174;
    background: #139174;
    transition: .2s linear;
    border-radius: 3px;
}

#form-signup input[type="checkbox"]:after,
#form-signup input[type="radio"]:after {
    border: #ffffff solid 1px;
    background: #ffffff;
}

#form-signup input[type="checkbox"]:checked::after,
#form-signup input[type="radio"]:checked::after {
    background: #4774B9;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    background: #ffffff;
    border: 1px solid #ffffff;
}

.field-sendpulsedoubleoptin-confirm label {
    color: #139174;
}

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;
}

.checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-button {
    position: absolute;
    right: 32px;
    top: 16px;
    font-size: 20px;
    cursor: pointer;
    color: var(--grey-70);
    transition: .2s linear;
}

.input-group {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#form-signup {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

#form-signup button {
    display: flex;
    padding: 16px 40px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 100px;
    border: 2px solid #326FB5;
    background: linear-gradient(180deg, #55A4FF 0%, #326FB5 100%);
    color: #FFF;
    text-align: center;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

.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;
}

@media (min-width: 1921px) {
    #form::before {
        height: 390px;
        background: linear-gradient(180deg, #ffffff00 0%, #FFF 100%), linear-gradient(180deg, #ffffff00 0%, #FFF 100%);
    }

    #form::after {
        height: 200px;
        background: linear-gradient(0deg, #ffffff00 0%, #FFF 100%), linear-gradient(0deg, #ffffff00 0%, #FFF 100%);
    }
}

@media (max-width: 1760px) {
    .form_head .vetka_raz {
        left: -45%;
    }

    .form_head .vetka_dva {
        right: -45%;
    }
}

@media (max-width: 1515px) {
    .form_head .vetka_raz {
        left: -900px;
    }

    .form_head .vetka_dva {
        right: -900px;
    }
}

@media (max-width: 1100px) {
    .form_title {
        font-size: 48px;
        line-height: 110%;
        letter-spacing: -0.48px;
    }

    .form_after_title {
        font-size: 18px;
        line-height: 130%;
    }

    .form_titlereg {
        text-align: left;
        font-size: 32px;
        line-height: 36px;
    }

    .form_bg {
        padding: 112px 0;
    }

    .registration {
        flex-direction: column-reverse;
        align-items: center;
    }

    .section-emailtg {
        max-width: 576px;
    }

    .form_titlereg {
        text-align: left;
        font-size: 32px;
        line-height: 36px;
    }

    .step {
        font-size: 18px;
        font-weight: 600;
        line-height: 20px;
        padding-top: 32px;
    }
}

@media (max-width: 990px) {
    .form_head .vetka_raz {
        display: none;
    }

    .form_head .vetka_dva {
        right: -750px;
        top: -340px;
        transform: translateX(0) rotate(340deg) scale(0.8);
    }
}

@media (max-width: 1440px) {
    .form_bg {
        padding: 173px 0 140px;
    }
}

@media (max-width: 920px) {

    #form-signup button {
        height: 52px;
        padding: 16px 32px;
        font-size: 16px;
        letter-spacing: 0.48px;
    }

    #signup-form {
        padding: 22px;
        max-height: fit-content;
    }

    .section-emailtg {
        max-height: fit-content;
    }

    .bonuses {
        margin: 8px 0 8px;
    }

    .form_send {
        font-size: 14px;
        line-height: 20px;
    }

    .form_p {
        text-align: center;
    }

    .registration {
        padding: 0 32px;
    }

    .section-emailtg {
        padding: 22px;
    }

    .email-tg {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bonuses img {
        width: 48px;
        height: 48px;
    }

    .emailcheck {
        margin-top: 8px;
    }

    .registration {
        gap: 62px;
    }

    #signup-form {
        gap: 16px;
    }

    .align_center {
        justify-content: left;
    }
}

@media (max-width: 599px) {
    .form_head .vetka_dva {
        right: -680px;
        top: -320px;
        transform: translateX(0) rotate(340deg) scale(0.6);
    }

    .form_title {
        font-size: 28px;
        line-height: 110%;
        letter-spacing: -0.28px;
    }

    .form_after_title {
        font-size: 14px;
        max-width: 355px;
        line-height: 130%;

    }

    .form_head {
        padding: 0 16px 88px;
    }

    .form_text_block {
        padding: 0 16px;
    }

    .form_p {
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }

    .registration {
        padding: 0 16px;
    }

    .form_titlereg {
        text-align: left;
        font-size: 24px;
        line-height: 30px;
    }

    .form_regtitle {
        font-size: 32px;
        line-height: 36px;
        text-align: center;
    }

    .bonuses img {
        width: 32px;
        height: 32px;
    }

    .bonuses {
        gap: 4px;
    }

    .emailcheck {
        margin-top: 0px;
    }

    .form_disclamer {
        font-size: 14px;
        line-height: 20px;
        padding: 24px 0 0;
    }

    .registration {
        gap: 52px;
    }

    .align_center {
        justify-content: center;
    }
}