li{
    color: #DE1010 !important;
}

body {
    font-family: Jost;
    height: auto !important;
}

header {
    margin-top: 25px;
    margin-left: 220px;
    margin-bottom: 35px;
}

.back {
    padding-top: 25px;
    padding-left: 40px;
}

.back a {
    font-size: 13px;
    font-weight: 400;
    color: #1D1D1B;
}

.back a:hover {
    color: #DE1010;
}

header a {
    color: #1D1D1B;
    text-decoration: none;
}

header a:hover {
    color: #DE1010;
    cursor: pointer;
}


.container_auth {

    max-width: 1332px;
    padding: 0px 16px;
    margin: 0px auto;
    display: flex;
    align-items: center;
}

.all_authorization {
    width: 100%;
    height: 100%;
}

form {
    max-width: 660px;
    height: fit-content;
    background-color: white;
    border-radius: 10px;
    margin: auto;

    filter: drop-shadow(0 0 20px rgba(29,29,27,0.15));
}

#login p, #password p{
    font-size: 16px;
    margin: 0;
}

#password {
    margin-top: 15px;
}

input::placeholder {
    font-family: Jost;
    font-size: 16px;
}

h2 {
    font-family: Prosto One;
    font-size: 24px;
    color: #1D1D1B;
    width: fit-content;
    margin: auto;
    margin-bottom: 40px;
    text-align: center;
}

input[type=text], input[type=password] {
    width: 100%;
    height: 53px;
    padding: 12px 20px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.button-right {
    width: 100%;
    display: flex;
    justify-content: end;
}

button {
    
    background-color: #FFCF31;
    color: #1D1D1B;
    padding: 14px 20px;
    margin: 24px 0 0 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 235px;

    font-family: Jost;
    font-size: 16px;
}

button:hover {
    background-color: #FFAE00;
}



.container_form {
    padding: 70px 85px;
}


.psw {
    position: relative;
    width: 100%;
}

.psw a {
    font-size: 13px;
    font-weight: 400;
    color: #1D1D1B;
}

.psw a:hover {
    color: #DE1010;
}

.container_form .req:invalid{
      border: 1px solid #DE1010; /* Красная граница для обязательных полей */
      background-color: white; /* Светло-красный фон */
    }

.container_form .req:valid{
      border: 1px solid rgb(77, 189, 77);
      background-color: white;
    }

.text_activation {
    color: #D7D3CF;
    font-size: 16px;
    font-weight: 400;
}

/*Глаз скрыть открыть пароль*/

#eye1{
    top: 158px;
}

#eye2{
    top: 244px;
}

#eye3{
    top: 210px;
}

.password-control {
	position: absolute;
	right: 100px;
	display: inline-block;
	width: 29px;
	height: 29px;
	background: url(Picture/hide.png);
    background-size: 29px auto;
}
.password-control.view {
	background: url(Picture/show.png);
    background-size: 29px auto;
}


@media screen and (max-width: 1332px) {
    header {
        margin-left: 60px;
    }
}


@media screen and (max-width: 690px) {
    header {
        margin-left: 16px;
    }

    .container_form {
        padding: 70px 45px;
    }

    .password-control{
        right: 60px;
    }
}

@media screen and (max-width: 470px) {
    #login p, #password p{
        font-size: 14px;
    }
    
    input::placeholder {
        font-size: 14px;
}

button {
    font-size: 14px;
    width: 100%;
}
}