#registration {
    padding: 0 0 80px;
    overflow: hidden;
}

#form {
    width: 100%;
    background: #003450;
    position: relative;
    overflow: hidden;
}

.reg_img {
    background: url(../assets/bgreg.jpg) top / cover no-repeat;
}

#form::before {
    content: "";
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    left: 0;
    pointer-events: none;
    background: url(../assets/snowflakes.png);
    background-position: center;
    background-repeat: repeat;
    z-index: 0;
    filter: brightness(0) saturate(100%) invert(20%) sepia(29%) saturate(2356%) hue-rotate(167deg) brightness(89%) contrast(103%);
}

.rega_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 112px 0 64px;
}

.submit-email {
    max-height: 56px;
}

.form_bg {
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 28, 44, 0.00) 0%, #001C2C 100%);
    padding: 222px 0 187px;
    position: relative;
    z-index: 1;
}

.form_head {
    padding-bottom: 64px;
}

.form_title {
    color: #00C8FF;
}

.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;
    max-width: 1616px;
}

#signup-form {
    border: 3px solid rgba(255, 255, 255, 0.30);
    background: linear-gradient(251deg, #131313 11.34%, #1C1C1C 96.12%);
    padding: 38px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    height: 100%;
}

.form_titlereg {
    color: #FFFFFF;
    font-family: Colus;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.32px;
    font-weight: 400;
    text-align: center;
}

.form_aftertitle {
    color: #ACACAC;
    text-align: center;
    font-family: 'OpenSans Medium';
    font-size: 18px;
    line-height: 24px;
}

.form-group input {
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    color: #9E9E9E;
    width: 100%;
    height: 56px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.12);
    border: transparent solid 1px;
}

.left_rega {
    width: 100%;
    max-width: 712px;
}

.section-emailtg {
    border: 3px solid rgba(230, 184, 67, 0.60);
    background: linear-gradient(251deg, #191613 11.34%, #29241F 96.12%);
    width: 100%;
    padding: 38px;
    max-width: 712px;
}

.animate-on-scroll.section-emailtg {
    transform: translate(100px, 0);
    transition: all 0.3s ease;
    opacity: 0;
}

.animate-on-scroll.left_rega {
    transform: translate(-100px, 0);
    transition: all 0.3s ease;
    opacity: 0;
}

.form_send {
    color: #ACACAC;
    font-family: 'OpenSans Medium';
    font-size: 18px;
    line-height: 24px;
    padding: 8px 0 16px;
}

.bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 27px;
}

.red-text {
    background: linear-gradient(180deg, #BD9C49 0%, #E6B843 63.5%, #EECE7F 79%, #8C7845 98.5%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -0.24px;
    text-align: left;
    font-family: 'OpenSans SemiBold';
    padding: 37px 0 24px;
}

.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;
    align-items: center;
}

.form-group {
    position: relative;
    width: 100%;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    position: absolute;
    top: 50%;
    left: 3px;
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    border: #1B1B1B solid 2px;
    background: #B0944D;
    border-radius: 3px;
    transform: translate(0px, -66%);
}

input[type="checkbox"]::after,
input[type="radio"]::after {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid #B0944D;
    background: #27221d00;
    transition: .2s linear;
    border-radius: 3px;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    background: #B0944D;
}

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;
}

#form-signup__modal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    display: flex;
    padding: 9px 32px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border: 2px solid #7D694B;
    color: #E6DCBE;
    font-family: 'OpenSans Medium';
    font-size: 18px;
    line-height: 32.533px;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    min-width: 220px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background: transparent;
}

.btn::after {
    background: linear-gradient(0deg, rgba(255, 183, 0, 0.00) 0%, rgba(255, 183, 0, 0.12) 100%), linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    opacity: 0;
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.btn::before {
    background: linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    opacity: 1;
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover::before {
    opacity: 0;
}

.telega_but {
    display: flex;
    padding: 9px 32px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border: 2px solid #7D694B;
    background: linear-gradient(0deg, rgba(255, 183, 0, 0.00) 0%, rgba(255, 183, 0, 0.12) 100%), linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    color: #E6DCBE;
    font-family: 'OpenSans Medium';
    font-size: 18px;
    line-height: 32.533px;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.telega_but::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
    margin: 2px;
}

.telega_but span {
    position: relative;
    z-index: 2;
}

.telega_but:hover::before {
    opacity: 0;
}

.submit-email {
    display: flex;
    padding: 9px 25px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border: 2px solid #7D694B;
    color: #E6DCBE;
    font-family: 'OpenSans Medium';
    font-size: 18px;
    line-height: 32.533px;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    min-width: 220px;
    cursor: pointer;
    position: relative;
    background: transparent;
    z-index: 1;
}

.submit-email:disabled {
    border: 2px solid #352817;
    color: #fff4e7a1;
    cursor: not-allowed;
    background: linear-gradient(90deg, #241E12 0%, #2E2616 50%, #241E12 100%);
}

.submit-email:disabled::before {
    opacity: 0;
}

.submit-email:disabled:hover::after {
    opacity: 0;
}

.submit-email::after {
    background: linear-gradient(0deg, rgba(255, 183, 0, 0.00) 0%, rgba(255, 183, 0, 0.12) 100%), linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    opacity: 0;
    z-index: -1;
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease;
}

.submit-email::before {
    background: linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
    opacity: 1;
    z-index: -1;
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease;
}

.submit-email:hover::after {
    opacity: 1;
}

.submit-email:hover::before {
    opacity: 0;
}

.help-block {
    font-size: 14px;
    line-height: 16px;
}

.has-error .help-block {
    color: #AA0909;
}

.email-tg {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.alert.alert-success {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 10000;
    padding: 16px;
    background: #271d10;
    border-radius: 16px;
    max-width: 300px;
    color: #f3e9dc;
    font-family: Colus;
    font-size: 18px;
    font-style: normal;
    line-height: 30px;
    letter-spacing: -0.192px;
    box-shadow: 0px 0px 5px 5px #eed18763;
}

@media (max-width: 1440px) {
    .form_bg {
        padding: 173px 0 140px;
    }
}

@media (max-width: 1020px) {
    .form_bg {
        padding: 112px 0;
    }
}

@media (max-width: 1100px) {
    .registration {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-emailtg {
        max-width: 615px;
    }

    .left_rega {
        max-width: 615px;
    }

    .step {
        padding: 16px 0 16px;
    }

    .form_titlereg {
        font-size: 32px;
        line-height: 36px;
        letter-spacing: -0.32px;
    }

    .step {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 930px) {
    .form_titlereg {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.28px;
    }

    .form_aftertitle {
        font-size: 16px;
        line-height: 22px;
    }

    .step {
        font-size: 16px;
        line-height: 22px;
    }

    #signup-form {
        padding: 24px;
        gap: 20px;
    }

    .section-emailtg {
        padding: 24px;
        max-width: 587px;
    }

    .left_rega {
        max-width: 587px;
    }

    .registration {
        padding: 0 32px;
    }
}

@media (max-width: 599px) {
    .registration {
        padding: 0 16px;
    }

    .telega_but {
        width: 100%;
    }
}