/*general*/
body {
    background-color: #f0f0f0;
}

#div-login {
    margin: 0 auto;
    margin-top: 15vh;
    width: 800px;
    height: 400px;
    padding: 10px;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

#div-logo {
    text-align: center;
    margin-top: 20%;
    font-size: 50px;
}

#div-form {
    padding: 20px;   
}

#div-back {
    margin-top: 10px;
    text-align: center;
    padding: 10px;
}

#div-back > a {
    padding: 10px 30%;
    background-color: #8b0000;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-radius: 10px;
}

#div-back > a:hover {
    background-color: #8b0000f5;
}

#div-form>form {
    margin-top: 10%;
}

#div-form>form>label,input,button {
    display: block;
    font-size: 20px;
}

#div-form>form>input {
    margin: 5px 0 5px 0;
    width: 95%;
    height: 32px;
    border: 1px solid #000;
    border-radius: 10px;
}

#div-form>form>button[type="submit"] {
    margin: auto;
    margin-top: 10px;
    background-color: #008000;
    color: #fff;
    width: 90%;
    height: 50px;
    border: none;
    border-radius: 10px;
}

#div-form>form>button[type="submit"]:hover {
    background-color: rgb(0, 118, 0);
}

#mensagemErro {
    margin: 0;
    color: #8b0000f5;
}

/*responsiveness*/
@media (max-width: 600px) {

    #div-login {
        width: 90%;
        height: 600px;
        margin-top: 5px;
        grid-template-columns: 1fr;
        
    }

    #div-logo {
        margin-top: 1%;
        font-size: 40px;
    }

    #div-form>form {
        margin-top: 10px;
    
    }

}