@charset "UTF-8";

/* Paletas de core 
: #86858B
: #DADADA
:#2F2F31
*/
* {
    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;/*que a borda faça parte da conta*/
}
body,html {
    background-color:  #DADADA;
    height: 100vh;
    width: 100vw;
}
main {
    position: relative;/*para centralizar*/
    height: 100vh;
    width: 100vw;
}
section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;/*tudo que estiver fora vai fica escondido*/

    background-color: white;
    width: 250px;
    height: 515px;
    border-radius: 20px;/*para arrendondar as bordas */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);
}
section#login > div#imagem { /*estrura ficou diferente */
    display: block;
    background-color:#86858B82;
    background-image: url('../imagens/pexels-pixabay-158571.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    height: 200px;
    transition: width .3s, height .3s;/*animação*/
    transition-timing-function: ease;
}
section#login > div#formulario {
    display: block;
    padding: 10px;

}
div#formulario > h1 {
    text-align: center;
    margin: 10px;
}
div#formulario > h1 {
    font-size: 2em;
}
div#formulario > p {
    font-size: 0.8em;
    margin: 3px 0px;

}
div.campo >input:focus-within {
    background-color: #DADADA;
    border: none;
}

form > div.campo {
background-color: #86858B82;
border: 2px solid #86858B82;
display: block;
width: 100%;
height: 40%;
border-radius: 8px;
margin: 5px 0px;
}
div.campo > label { /*resolvi problema da senha indo para baixo*/
    display: none;

}
div.campo > span.material-symbols-outlined {
    color: white;
    font-size: 1.2em;
    width: 28px;
    padding: 4px;
}

div.campo > input {
    background-color: #B9B9BD;
    width: calc(100% - 44px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-5px);/*so para cinma*/

}
form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 35px;
    background-color: #86858B;
    color: #DADADA;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

form > input[type=submit]:hover {
    background-color: #a7a7aa;
}
form > a.botao {
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40%;
    padding-top: 5px;
    margin-top: 5px;
    background-color:#DADADA ;
    color: #86858B;
    border: 1px solid #a7a7aa;
    border-radius: 7px;
    text-decoration: none;

}
form > a.botao:hover {
background-color: #86858B;
}

