/* auth-page.css */

@font-face {
    font-family: 'Roboto';
    src: url('../../fonts/Roboto-Regular.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content:  space-between;
}

.servers-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 99998;
    background-color: rgba(0,0,0,.2);
    display: grid;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
}

.servers-menu.open {
    visibility: visible;
    opacity: 1;
}

.modal-box {
    width: 400px;
    margin: 30px 15px;
    padding: 20px;
    z-index: 1;
    background-color: #FFFFFF;
    border-radius: 16px;

}

.image-laptop {
    background-image: url('../../img/laptop1440.png');
    width: 50%;
    height: 100vh;
    min-height: 900px;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    background: #FFFFFF;
}


.authorization {
    width: 50%;
    margin: auto;
    padding: 8%;
}

.authorization-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    flex-grow: 0;
}

.auth-form {
    align-self: stretch;
    flex-grow: 0;
}

input[type="text"], input[type="password"] {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 10%;
    border: none;
    border-radius: 15px;
    flex: none;
    flex-grow: 0;
    margin-bottom: 10px;
}
.login, .password {
    background: #F3F3F3;
}
.settings {
    display: flex;
    flex-direction: row;
}

.modal-box-top {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-box-top img {
    margin-left: auto;
}

.manager {
    margin-top: 10px;
    height: 21px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #017C90;
    text-align: center;
    cursor: pointer;
}

.server-option-enter {
    margin-top: 10px;
    display: flex;
    border-radius: 6px;
    background-color: #F3F3F3;
    padding: 6px;
}

.server-option {
    margin-top: 10px;
    display: flex;
    border-radius: 6px;
    background-color: #F8F8F8;
    padding: 6px;
}

.left-column {
    flex: 1;
    margin-right: 100px;
}

.enter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #5A5A5A;
}

.enter-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.user-active-server {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.user-active-login, .user-inactive-server, .account-status {
    font-family: 'Roboto', sans-serif;
    color: #5A5A5A;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.modal-box-header {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.img-cross {
    cursor: pointer;
}

.remember {
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    flex: none;
    flex-grow: 0;
    margin-right: 10px;
    align-self: center;
}

.remember-label {
    height: 21px;
    font-family: 'Roboto', san-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    color: #5A5A5A;
    flex: none;
    flex-grow: 0;
}

.restore-password {
    height: 21px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: right;
    letter-spacing: 0.02em;
    color: #017C90;
    flex: none;
    flex-grow: 1;    
    cursor: pointer;
}
input[type="text"], input[type="password"] {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 10%;
    border: none;
    border-radius: 15px;
    flex: none;
    flex-grow: 0;
    margin-bottom: 10px;
}

.enter-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
    margin-top: 50px;
    gap: 10px;
    width: 100%;
    height: 70px;
    background: #017C90;
    border-radius: 15px;
    border: none;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 15px;
    color: #FFFFFF;    
    cursor: pointer;
}

.manual {
    justify-content: center;
    text-align: center;
    margin: 0 auto 20px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #5A5A5A;
    flex: none;
    flex-grow: 0;
}

#error-message {
    margin-top: 20px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #DD0808;
}
#attempts {
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #DD0808;
}

.request {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.redirect {
    text-decoration: none;
    color: #017C90;
    flex: none;
    flex-grow: 1;
}

.back-to-auth {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    color: #017C90;
    margin-top: 20px;
    cursor: pointer;
}

.auth-header {
    width: 100%;
    margin: 50px 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: #151515;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.restore-header {
    width: 100%;
    margin: 50px 0 20px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    color: #151515;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.maintest-mini-logo {
    margin: 0 auto;
}

.not-correct {
    color: #DD0808;
    background-color: #F6E6E6;
}

/* adaptive.css */

@media only screen and (max-width: 2700px){
    .image-laptop {
        height: 100vh;
        min-height: 900px;
    }

    .modal-box {
        width: 550px;
    }

    .authorization {
        width: 80%;
        margin: auto;
        padding: 6% 26%;
    }
}
@media only screen and (max-width: 2200px){
    .image-laptop {
        height: 100vh;
        min-height: 900px;
    }

    .modal-box {
        width: 550px;
    }

    .authorization {
        width: 60%;
        margin: auto;
        padding: 7% 16%;
    }
}

@media only screen and (max-width: 1960px){

    .modal-box {
        width: 450px;
    }

    .image-laptop {
        height: 100vh;
        min-height: 900px;
    }

    .authorization {
        width: 40%;
        margin: auto;
        padding: 7%;
    }
}

@media only screen and (max-width: 1600px){
    .image-laptop {
        height: 100vh;
    }
    .authorization {
        width: 54%;
        margin: 0 auto;
        padding: 6% 10%;
    }
}

@media only screen and (max-width: 1200px){
    .image-laptop {
        height: 100vh;
        min-height: 900px;
        width: 46%;
    }
    .authorization {
        width: 54%;
        margin: auto;
        padding: 7%;
    }
}

@media only screen and (max-width: 1100px){
    .image-laptop {
        height: 100vh;
        min-height: 900px;
        background-image: url('../../img/laptop992.png');
        width: 46%;
    }
    .authorization {
        width: 54%;
        margin: auto;
        padding: 7%;
    }
}

@media only screen and (max-width: 768px){
    .image-laptop {
        height: 100vh;
        min-height: 900px;
        background-image: url('../../img/laptop768.png');
        width: 46%;
    }
    .authorization {
        width: 54%;
        margin: auto;
        padding: 4%;
    }

    input[type="text"], input[type="password"] {
        padding: 6%;
        width: 100%;
        height: 20%;
        border-radius: 15px;
        flex: none;
        flex-grow: 0;
        margin-bottom: 4%;

        font-size: 100%;
    }
    .remember-label {
        height: 21px;
        font-family: 'Roboto', san-serif;
        font-style: normal;
        font-weight: 100;
        font-size: 86%;
    }
    .remember {
        zoom: 0.8;
    }

    .restore-password {
        font-size: 86%;
    }

    .enter-button {
        padding: 6%;
        width: 100%;
        height: 20%;;
        margin-top: 8%;
        background: #017C90;
        border-radius: 15px;
        font-size: 100%;
    }
    .manual {
        margin: 0 auto 8%;
        width: 100%;
        font-weight: 100;
        font-size: 80%;
        letter-spacing: 0.02em;
    }
    #error-message {
        font-weight: 200;
        font-size: 100%;
    }
    #attempts {
        margin-top: 0;
        font-weight: 200;
        font-size: 100%;
    }
    .request {
        margin-top: 8%;
        width: 100%;
        font-size: 100%;
        letter-spacing: 0.02em;
    }
    .auth-header {
        width: 100%;
        margin: 8% 0;
        font-weight: 600;
        font-size: 1.7em;
    }
    .restore-header {
        width: 100%;
        margin: 8% 0;
        font-weight: 600;
        font-size: 2.0em;
    }

    .maintest-mini-logo {
        margin: 2% auto 0;
        zoom: 0.9;
    }

}
@media only screen and (max-width: 590px){
    * {
        box-sizing: border-box;
    }
    .image-laptop {
        display: none;
    }
    .modal-box {
        width: 350px;
    }
    .authorization {
        width: 100%;
        height: 100%;
        margin: auto;
        padding: 6%;
    }
    input[type="text"], input[type="password"] {
        padding: 6%;
        width: 100%;
        height: 20%;
        border-radius: 15px;
        flex: none;
        flex-grow: 0;
        margin-bottom: 4%;

        font-size: 100%;
    }
    .remember-label {
        height: 21px;
        font-family: 'Roboto', san-serif;
        font-style: normal;
        font-weight: 100;
        font-size: 86%;
    }
    .remember {
        zoom: 0.8;
    }

    .restore-password {
        font-size: 86%;
    }

    .enter-button {
        padding: 6%;
        width: 100%;
        height: 56px;
        margin-top: 8%;
        background: #017C90;
        border-radius: 15px;
        font-size: 100%;
    }
    .manual {
        margin: 0 auto 8%;
        width: 100%;
        font-weight: 100;
        font-size: 80%;
        letter-spacing: 0.02em;
    }
    #error-message {
        font-weight: 200;
        font-size: 100%;
    }
    #attempts {
        margin-top: 0;
        font-weight: 200;
        font-size: 100%;
    }
    .request {
        margin-top: 8%;
        width: 100%;
        font-size: 100%;
        letter-spacing: 0.02em;
    }
    .auth-header {
        width: 100%;
        margin: 8% 0;
        font-weight: 600;
        font-size: 1.7em;
    }
    .restore-header {
        width: 100%;
        margin: 8% 0;
        font-weight: 600;
        font-size: 2.0em;
    }

    .maintest-mini-logo {
        margin: 2% auto 0;
        zoom: 0.9;
    }

}


