.login__wrapper {
    display: flex;
    width: 200%;
    height: 100%;

    transition: transform .2s ease-out;
}

.login__wrapper[data-login] {
    transform: translateX(-50%);
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 50%;
}

.login__input[name="username"] {
    margin-bottom: 22px;
}

/*
.login__input[name="password"] {
    margin-bottom: 10px;
}*/

.login__forgot-password {
    font-family: "Nunito Sans";
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 100%;

    color: rgba(255, 255, 255, 0.6);

    text-decoration: none;

    transition: color .2s ease-out;

    margin-top: 14px;
    margin-bottom: 14px;

    border-bottom: thin solid;
}

.login__forgot-password:hover {
    color: rgba(255, 255, 255, 1);
}

.login__registration {
    font-family: "Nunito Sans";
    font-weight: 300;
    font-size: 1.6rem;

    color: var(--text-color);

    margin-bottom: 4%;
}

.login__registration-link {
    color: #EE61A6;
    text-decoration: none;
    transition: color .2s ease-out;

    border-bottom: 1px solid #EE61A6;
}

.login__registration-link:hover {
    color: #ec84b7;
    border-bottom: 1px solid #ec84b7;
}

.login__user-agreement {
    font-family: "Nunito Sans";
    font-size: 1.4rem;
    font-weight: 300;

    text-align: center;

    color: rgba(255, 255, 255, 0.7);

    padding: 0 70px;
}

.login__user-agreement-link {
    color: #FB4BCA;
    transition: color .2s ease-out;
}

.login__user-agreement-link:hover {
    color: #fa76d5;
}

.first-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    padding: 20px 35px;
}

.first-time .header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

.login__logo_img {
    width: 194px;
}

.first-time__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.first-time__text {
    font-family: "Nunito Sans";
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 120%;
    color: var(--text-color);

    text-align: center;

    margin-bottom: 8px;
}

.first-time__subtext {
    font-family: "Nunito Sans";
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-color);

    text-align: center;

    margin-bottom: 10px;
}

.first-time__register {

    width: 293px;
    padding: 0.8rem; /* Исправил вид кнопок на пк */
    font-size: 1.8rem;

    transition: background .2s ease-out;

    margin-bottom: 12px;
}

.first-time__register:hover {
    background-color: var(--pink-hover);
}

.first-time__login {
    width: 293px;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);

    background: none;
    /* background-color: rgba(37, 11, 64, .4); */
    text-decoration: none;
    transition: background-color .2s ease-out;

    border: 1px solid #EE61A6;
}

.first-time__login:hover {
    background-color: #ec84b7;
}

.first-time__login__p {
    display: none;
}

/*
@media (max-width: 743px) {
    .login__registration{
        margin-bottom: 32px;
    }
}
*/

/* Адаптивы */
@media (max-width: 743px) {
    .first-time .header__logo {
        margin-bottom: 200px;
    }

    .register__password-icon_hided {
        margin-top: 4px;
    }

    .login__registration{
        margin-bottom: calc(var(--vh) * 6);
        font-family: "Nunito Sans", sans-serif;
        font-size: 1.8rem;
    }

    .first-time__login__mobil {
        display: none;
    }

    .first-time__text {
        font-size: 2.8rem;
        margin-bottom: 10px;
        font-family: "Nunito Sans", sans-serif;
    }

    .first-time__login__p {
        display: block;
        font-size: 1.5rem;
        font-family: "Nunito Sans", sans-serif;
    }

    .a-class {
        color: #ec84b7;
    }

    .first-time__subtext {
        font-size: 1.5rem;
    }

    .login__input[name="username"] {
        margin-bottom: 22px;
        width: 100%;
    }
    
    .login__input[name="password"] {
        width: 100%;
    }

    .login__forgot-password {
        font-size: 1.8rem;
    }

    /* .first-time .header__logo {
        margin-bottom: 270px;
    } */
}

.reset_password {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

.reset_password_instruction {
    font-size: 2.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin: 30px 40px 30px 40px;
    text-align: center;
}

.reset_password_sending {
    font-size: 2.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-top: calc(var(--vh) * 5);
    margin-bottom: calc(var(--vh) * 5);
    text-align: center;
}

.reset_password_instruction p {
    margin-bottom: 20px;
}

.reset_password .email__input {
    margin-bottom: 22px;
}

@media (max-width: 1132px) {
    .first-time__text {
        font-size: 3rem;
    }

    .first-time__subtext {
        font-size: 1.6rem;
    }

    .first-time__register {
        font-size: 2.3rem;
    }

    .first-time__login {
        font-size: 2.3rem;
    }
}

@media (max-width: 480px) {
    .first-time__text {
        margin-bottom: 4px;
    }

    .first-time__text + .first-time__subtext {
        display: none;
    }

    .first-time__register {
        margin-top: 8px;
    }
}

/* Адаптация под SE */

@media screen and (max-width: 376px) {
    .first-time {
        padding: 15px;
    }

    .first-time .header__logo {
        margin-top: 2px;
    }

    .first-time__content {
        width: 100%;
    }

    .first-time__text {
        font-size: 2rem;
        line-height: 110%;
    }

    .first-time__register,
    .first-time__login {
        font-size: 1.9rem;
        width: 100%;
        max-width: 240px;
    }

    .first-time__register {
        margin-bottom: 8px;
    }

    .first-time .header__logo {
        margin-bottom: 120px;
    }

    .login__registration {
        margin-bottom: calc(var(--vh)* 3);
    }

    .login__logo_img {
        width: 160px;
    }
}
