@charset "utf-8";
/*
    Paleta de cores
    verde:#6F8D53
    marrom:#7B6045
    old #49a09d
    old #5f2c82
*/
*{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body, html{
    background-color: #7B6045;
    height: 100vh;
    width: 100vw;
}
main{
    position: relative;
    height: 100vh;
    width: 100vw;
}
section#login{
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;

    background-color: rgb(226, 213, 190);
    height: 515px;
    width: 250px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);
    

    transform: translate(-50%, -50%);
    transition: width .3s, height .3s;
    transition-timing-function: ease;
}
section#login > div#imagem{
    display: block;
    background: #7B6045 url(../imagens/logo.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    height: 200px;
    
}
section#login >div#formulario{
    display: block;
    padding: 10px;
}
div#formulario > h1{
    text-align: center;
    margin-bottom: 5px;
}
div#formulario > p{
    font-size: 0.8em;
}
form > div.campo{
    background-color: #A97C50;
    /*border: 2px solid #A97C50;*/
    display: block;
    width: 100%;
    height: 40px;
    border-radius:8px;
    margin: 5px 0px; 
}
div.campo > label{
    display: none;
}
div.campo{
    color: white;
    font-size: 2em;
    width: 40px;
    padding-left: 5px;
}
div.campo > input{
    background-color: #bacfa6;
    /*font-size: 0.4em;*/
    width: calc(100% - 33px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-11px);
}
div.campo >input:focus-within{
    background-color: white;
    border: none;
}
form > input[type=submit]{
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: #6F8D53;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
form > input[type=submit]:hover{
    background-color: #4c6139;
}
form > a.botao{
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    padding: 5px;
    background-color: white;
    color: #4c6139;
    border: 1px solid #6F8D53;
    border-radius: 7px;
    text-decoration: none;
}
form > a.botao:hover{
    background-color: #93bb6d;
}
form > a.botao > i{
    font-size: 0.8em;
}

/* Campos e botão desabilitados */

form input:disabled {
    cursor: not-allowed;
}

#formulario.bloqueado .campo {
    opacity: 0.55;
}

#formulario.bloqueado .campo > input {
    cursor: not-allowed;
}

/* Mensagem de tentativas e bloqueio */

.tentativas {
    min-height: 20px;
    margin: 5px 0;
    color: #7B3028;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
}