@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

body{
    margin: 0;
    background: #fff;
    font-family: 'Noto Sans', sans-serif;
}

body *{
    box-sizing: border-box;
}

.main-login{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*===========Inicio msg ==========*/ 
.error{
    background-color: #F5F5F5;
    color: #DC4C64;
    position: absolute;
    width: 15rem;
    left: auto;
    right: 0;
    z-index: 10;
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-left: 5px solid #DC4C64;
    border-radius: 5px;
    top: 20px;
}

.left-login{
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.left-login > h1{
    width: 30vw;
    color: #45404b;
}

.left-login-image{
    width: 35vw;
}

.right-login, form{
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-login{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 35px;
}

.card-login > h1{
    color: #45404b;
    font-weight: 800;
    margin: 0;
}

.textfield{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 10px 0px;
}

.textfield > input{
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px;
    background: #ecf3f1;
    color: #61586c;
    font-size: 12pt;
    box-shadow: 0px 8px 26px #CCC;
    outline: none;
    box-sizing: border-box;
}

.textfield > label{
    color: #281f33;
    margin-bottom: 10px;
}

.textfield > input::placeholder{
    color: #7f758c;
}

.btn-login{
    width: 100%;
    margin: 20px;
    padding: 10px 0px;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    color: #F5F5F5;
    background: #8E67F7;
    cursor: pointer;
    box-shadow: 0px 10px 40px -8px #8E67F7;
}

footer {
    position: fixed;
    bottom: 0;
    color: #668793;
    padding: 0px 0 0 0;
    text-align: center;
    width: 100%;
}

@media only screen and (max-width: 950px){
    .card-login{
        width: 65%;
    }
    
    .left-login > h1{
        font-size: 13pt;
    }
    
    .textfield > input{
        width: 100%;
    }
    
}
@media only screen and (max-width: 600px){
    .main-login{
        flex-direction: column;
    }
    
    .left-login > h1{
        display: none;
    }
    
    .left-login{
        width: 100%;
        height: auto;
    }
    
    .right-login, form{
        width: 100%;
        height: auto;
    }
    
    .left-login-image{
        width: 61vw;
        margin: 20px 0px;
    }
    .card-login{
        width: 90%;
    }
}








