* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 65%;
}

body{
    font-weight: 400;
    color: #000;
    background-color: #FFFAFA;
    display: flex;
    flex-direction: column;
}

main{
    position: relative;
    background: #e0e0e0;
    height: 83vh;
    box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    overflow: hidden;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
    outline: none;
    display: grid;
    flex-direction: column;
    align-items: center;
    border: 1px solid #000000;

}
.nav_settings{
    border-bottom: 2px solid #dddddd;
}
.container {
    border-radius:10px;
    overflow: hidden;
    outline: none;
    background-color: white;
    width: 40%;
    height: 25%;
    margin-top: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 285px;
}

.login_form{
    display: grid;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    width: 90%;
    font-size: 18px;
    margin-top: 10px;
}
.form-group{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    margin-top: 20px;
}
.btn{
    width: 100%;
    max-width: 100px;
    margin-top: 20px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000;
    background-color: #e8eeff;
}
.btn:hover {
    border: 1px solid #000000;
    background-color: #025EA1;

    color: white;
}
.input_style{
    margin-right: 20px;
}
.form-control{
    font-size: 20px;
}
.info_text{
    font-size: 25px;
    color: #24c075;
}
.err_text{
    font-size: 25px;
    color: #ff0000;
}
/*мобильная версия*/
@media only screen and (max-width: 1200px) {
    .login_form{
        width: 90%;
    }
    .container{
        width: 50%;
    }
}
@media only screen and (max-width: 880px) {
    .container{
        width: 60%;
    }
}
@media only screen and (max-width: 740px) {
    .container{
        width: 70%;
    }
}
@media only screen and (max-width: 640px) {
    .container{
        width: 80%;
    }
}
@media only screen and (max-width: 565px) {
    .container{
        width: 80%;
        height: 60%;
    }
    .form-group{
        display:flex;
        flex-direction: column;
    }
    .form-control{
        margin-left: 1rem;
    }
}
@media only screen and (max-width: 400px) {
    .container{
        width: 90%;
    }
    .info_text{
        font-size: 20px;
    }
}
@media only screen and (max-width: 320px) {
    .container{
        width: 100%;
        height: 70%;
    }
}