.body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    /*background-color: #f0f0f0;*/
    box-sizing: border-box;
    background: linear-gradient(#141e30, #243b55);
}

.form-auth {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 400px;

}

@media screen and (max-width: 420px) {
    .form-auth{
        margin: 0 10px;
    }
}

@media screen and (max-width: 320px) {
    .form-auth{
        max-width: 282px;
        height: 320px;
    }
}

.form-auth__block-user,
.form-auth__block-password {
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #fff;
}

@media screen and (max-width: 320px) {
    .form-auth__block-user,
    .form-auth__block-password{
        margin-bottom: 30px;
    }
}

.form-auth__label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-auth__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    /*border: none;*/
    /*border-bottom: 1px solid #141e30;*/
}

@media screen and (max-width: 320px) {
    .form-auth__input{
        padding: 5px;
    }
}

.form-auth__btn {
    display: block;
    width: 100%;
    padding: 10px;
    /*background-color: #2bab5d;*/
    background: linear-gradient(to top,#bf0702, #ff6347);
    color: #fff;
    border: none;
    border-radius: 3px;
    transition: opacity 0.5s ease-in-out;
}

.form-auth__btn:hover {
    opacity: 0.7;
}

@media screen and (max-width: 320px) {
    .form-auth__btn{
       margin-top: 30px;
    }
}
