* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.87);
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
     position: relative;
    overflow: hidden;
    height: 100%;
}

html {  
    position: relative;
    overflow: hidden;
    height: 100%;
}



.login-page {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    line-height: 130%;
    color: #101828;
    padding: 40px 0px;
}

.cover-image {
    align-items: center;
    background-color: #1F1F1F;
    display: flex;
    justify-content: right;
    width: 40%;
    transition: width 0.2s ease-in-out;
    height: 100vh;
}

.login-form {
    background-color: #fff;
    height: 100%;
    margin: auto;
    text-align: center;
    vertical-align: middle;
    max-width: 420px;
    width: 100%;
}

.login-form form {
    /* width: 320px; */
}

.login-btn {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    min-width: 64px;
    padding: 12.5px 26px;
    border-radius: 4px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    box-shadow: none;
    text-transform: none;
    font-weight: 400;
    color: white;
    width: 148px;
    background-color: #339AF0!important;
}

div.input-block {
    position: relative;
    box-sizing: border-box;
}

div.input-block input {
    font-weight: 500;
    font-size: 18px;
    color: #ADB5BD;
    width: 100%;
    padding: 15px 15px;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    border: 1px solid #CED4DA;
    line-height: normal;
    height: 50px;
}

div.input-block span.placeholder {
    position: absolute;
    padding: 0 4px;
    font-family: Roboto, sans-serif;
    color: #6c757d;
    display: flex;
    align-items: center;
    font-size: 18px;
    top: 0;
    left: 17px;
    transition: all 0.2s;
    transform-origin: 0% 0%;
    background: none;
    pointer-events: none;
    height: 100%;
}

div.input-block input:valid + span.placeholder, div.input-block input:focus + span.placeholder {
    transform: scale(0.8) translateY(-30px);
    background: #fff;
}

div.input-block input:focus {
    color: #329af0;
    border-color: #329af0;
}

div.input-block input:focus + span.placeholder {
    color: #329af0;
}

@keyframes mui-auto-fill-cancel {
    0% {
        display: block;
    }
}

/* Media query */
@media screen and (max-width: 1199px) {
    .cover-image {
        width: 50%;
        transition: width 0.2s ease-in-out;
    }
}

@media screen and (max-width: 959px) {
    .cover-image {
        display: none;
    }

    .login-page {
        height: 100vh;
    }

    .login-form {
        margin-top: 200px;
    }
}

@media screen and (max-width: 639px) {
}

@media screen and (max-width: 479px) {
    .login-form {
        margin-top: 100px;
        width: 100%;
        padding: 0px 20px;
    }
}



form.error .input-block input#input-login {
    border: 1px solid #F03E3E;
    color:#F03E3E;
}

form.error .input-block input#input-password {
    border: 1px solid #F03E3E;
    color:#F03E3E;
}

form.error .input-block  span.placeholder, form.error .input-block input:focus + span.placeholder, form.error #login-info {
    color:#F03E3E;
}