@import url('https://fonts.googleapis.com/css2?family=Anton&family=Geist:wght@100..900&display=swap');

:root {
    --otp-blue: #007EFA;
    --bright-orange: #FF8E00;
    --dark-orange: #D36A0C;
}

html {
    scroll-behavior: smooth;
}

/*@font-face {*/
/*  font-family: DM-Sans;*/
/*  src: url("../fonts/DMSans-Regular.3e7f038b85da.ttf");*/
/*}*/

body {
    margin: 0;
    font-family: 'Geist', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    font-style: normal;
    line-height: 1.1em;
    display: block;
    text-transform: uppercase;
    letter-spacing: calc(1em * -.02); // -2%
    font-weight: 400;
    /*-webkit-font-smoothing: antialiased;*/
}

.orange {
    color: var(--bright-orange);
}

#login-left {
    width: 60%;
    max-width: 100%;
    height: 100vh;
    max-height: -webkit-fill-available;
    max-height: -moz-available;
    max-height: fill-available;
    background-color: var(--otp-blue);
    float:left;
    color:white;
}

#login-right {
    display:inline-block;
    width: 40%;
    height: 100vh;
    max-height: -webkit-fill-available;
    max-height: -moz-available;
    max-height: fill-available;
}

#promo-block {
    margin-left:13vw;
    margin-right:12vw;
    margin-top:30vh;
}

#promo-block #promo-text {
    font-size: 28px;
    line-height: 1.3;
    width:100%;
}

#promo-block #logo-block {
    display:inline-block;
    width: 100%;
}

#logo-img {
    width: 100%;
    max-width: 400px;
}

#promo-block #logo-block #logo-text {
    float:left;
    margin-left:10px;
}

#anchor-btn {
    display: none;
}

#form-block {
    margin-left:5vw;
    margin-right:5vw;
    margin-top:32vh;
}

#form-block #form-text h2 {
    color: var(--otp-blue);
    font-size:28px;
}

#form-block #form-text p {
    color: black;
    font-size:14px;
}

.input-field {
    border: 3px solid #E1E8E8;
    opacity: 1;
    height: 45px;
    padding-left: 15px;
    /* padding:12px; */
    margin-top:20px;
    width:410px;
    max-width: 100%;
}

.input-field::placeholder {
    color: var(--otp-blue);
    font-weight:medium;
}

#id_password {
    margin-top:10px;
}

#id_password::placeholder {
    color: var(--otp-blue);
    font-weight:medium;
}

#submit-button {
    width:126px;
    height:40px;
    margin-top:20px;
    background-color: var(--otp-blue);
    color:white;
    border:none;
    border-radius: 6px;
    cursor:pointer;
}

#forgot-password a {
    color: var(--bright-orange);
}

#forgot-password a:visited {
    color:var(--bright-orange);
}

.errorlist {
    font-size:14px;
    list-style-type:none;
    padding-left:0px;
    margin-left:0px;
    margin-bottom:0px;
    color: var(--bright-orange);
}

.right-text {
    float: right;
    margin-top: 25px;
}

#btns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    row-gap: 20px;
    column-gap: 20px;
}

.otp-btn {
    min-width:126px;
    max-width: 200px;
    flex: 1 1 0;
    height:40px;
    line-height:40px;
    background: var(--bright-orange) 0% 0% no-repeat padding-box;
    border-radius: 6px;
    color:white;
    font-size:14px;
    text-align:center;
    cursor:pointer;
}

@media only screen and (max-width: 800px) {
    #login-left {
        width: 100%;
        text-align: center;
        position: relative;
    }

    #login-right {
        width: 100%;
        text-align: center;
        position: relative;
    }

    #form-block {
        position: absolute;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    #promo-block {
        position: absolute;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
    }

    .input-field {
        max-width: 70%;
    }

    .otp-btn {
        margin-left: auto;
        margin-right: auto;
        padding: 5px;
        font-size: 14px;
        max-width: 450px;
    }

    .right-text {
        float: none;
        margin-left: 50px;
    }

    #form-text {
        max-width: 90%;
    }

    #anchor-btn {
        display: block;
    }
}
