/* LOGIN */

body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto";
}
html{
    font-size: 62.5%;
}

#layout{
    width: 100%;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
form{
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 4rem;
    width: 25%;
    height: 50vh;
    animation-name: login;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    /*border: #2c63fb 2px solid;*/
    border-radius: 16px;
}
@keyframes login {
    0% {opacity: 0; transform: translateY(-10rem);}
    100% {opacity: 1; transform: translateY(0);}
}
h1{
    font-size: 3rem;
    font-family: "Roboto";
    text-transform: uppercase;
}
input, #submit{
    outline: none;
    border: none;
    font-size: 2rem;
    color: black;
    padding: 1rem;
    width: 100%;
    margin: 1rem 0; 
    border-radius: 6px;
}
input{
    background-color: #E8F0FE;
    padding: 15px;
}
input::placeholder{
    font-size: 2rem;
    color: black;
}
input:focus{
    outline: 2px solid #2c63fb;
}
#submit{
    align-self: flex-start;
    cursor: pointer;
    transition: all 0.5s;
    border: #2c63fb;
}
#submit:hover{
    transform: scale(1.05);
    border: #2c63fb solid 2px;
}
img{
    width: 70%;
    height: auto;
}

#failed_login{
    padding: 10px;
    background-color: #2c63fb;
    font-size: 14px;
    color: white;
  }

@media(max-width: 1100px){
    form{
        width: 50%;
    }
}
@media(max-width: 550px){
    input{
        font-size: 1.8rem;
    }
    form{
        width: 75%;
    }
}