#form {
    padding: 260px 0 224px;
    position: relative;
    z-index: 2;
    background: url(../assets/bg_zoo.png) no-repeat center;
    background-size: cover;
}

#form::before {
    display: block;
    content: "";
    width: 100%;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(36, 0, 1, 0.00) 0%, #240001 100%);
}

.form_wrapper {
    position: relative;
    z-index: 2;
}

.form_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 64px;
}

.submit-email {
    max-height: 56px;
}

.form_title {
    color: #D800FF;
    text-shadow: 0 0 34px rgba(216, 0, 255, 0.42);
}

.form_after_title {
    max-width: 600px;
    text-align: center;
}

.registration {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    margin: 0 auto;
    padding: 0 64px;
    height: max-content;
}

#signup-form {
    border-radius: 12px;
    border: 3px solid #391664;
    background: #130024;
    padding: 40px;
    max-width: 576px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
}

.form_titlereg {
    font-family: Colus;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.32px;
    text-align: center;
    margin: 0;
}

.form-group input {
    font-family: Evolventa bold;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: var(--grey-60);
    width: 100%;
    height: 56px;
    padding: 16px 32px;
    border-radius: 5px;
    background: #281145;
    border: transparent solid 1px;
}

.section-emailtg {
    border-radius: 12px;
    border: 3px solid #391664;
    background: #130024;
    width: 100%;
    max-width: 880px;
    padding: 40px;
}

.form_send {
    font-family: Evolventa bold;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    padding: 8px 0 16px;
}

.bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
}

.bonuses img {
    border-radius: 4px;
}

.red-text {
    color: #D800FF;
}

/* .email-tg .form-group input {
    background: #281145;
} */

.step {
    font-family: Jost;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: -0.01em;
    text-align: left;
    padding-top: 16px;
}

.checkbox label {
    font-family: Evolventa bold;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    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: 4px;
    left: 4px;
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    border: #D800FF solid 2px;
    background: #D800FF;
    border-radius: 2px;
}

input[type="checkbox"]::after,
input[type="radio"]::after {
    display: inline-block;
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #D800FF;
    background: #00180B;
    transition: .2s linear;
    border-radius: 4px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    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;
}

.help-block {
    font-size: 14px;
    line-height: 16px;
}

.has-error .help-block {
    color: #AA0909;
    padding-top: 4px;
}

.email-tg {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 1100px) {
    .registration {
        flex-direction: column-reverse;
        align-items: center;
    }

    .section-emailtg {
        max-width: 576px;
    }

}

@media (max-width: 920px) {
    #form {
        padding: 192px 0 112px;
    }
    
    #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_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: 22px;
    }

    .form_titlereg {
        text-align: left;
        font-size: 32px;
        line-height: 36px;
    }

    .noth3 {
        font-size: 28px;
        font-weight: 600;
        line-height: 36px;
    }

    .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: 740px) {
    .email-tg {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 599px) {
    .form_text_block {
        padding: 0 16px;
    }

    .form_p {
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        text-align: center;
    }

    .registration {
        padding: 0 16px;
    }

    .form_titlereg {
        text-align: left;
        font-size: 20px;
        line-height: 36px;
        font-weight: 400;
    }

    .form_regtitle {
        font-size: 32px;
        font-weight: 400;
        line-height: 36px;
        text-align: center;
    }

    .noth3 {
        font-size: 18px;
        font-weight: 600;
        line-height: 20px;
    }

    .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;
    }
}