@charset "UTF-8";

/*
    Paleta de Cores:
    Verde: #49a09d
    Lilas: #5f2c82
*/

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0px;
    margin: opx;
    box-sizing: border-box;
}

body, html {
    background-color: blueviolet;
    height: 100vh;
    width: 100vw;
}

main {
    position: relative;
    height: 100vh;
    width: 100vw;
}

section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* pra centralizar na tela */
    overflow: hidden;  /* tudo q escapar  da borda fica oculto */
    background-color: blanchedalmond;
    width: 250px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.52)  /* sombra suave na tela de login */;
    transition: width .4s, height .4s;
    transition-timing-function: ease;
    font-size: small;
}

section#login > div#imagem {
    display: block;
    background: black url(../imagens/pexels-alex-garcia-2102850.jpg) no-repeat;
    background-size: cover;
    height: 200px;
}

section#login > div#formulario {
    display: block;
    padding: 10px;

}

div.campo > i {
    width: 30px;
}

div.campo > input {
    width: calc(95% - 30px);
}

div.campo > label {
    display: none;
}

form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 99%;  /* 100% do container */
    height: 40px;
    background-color: rgba(97, 21, 21, 0.703);
    color: antiquewhite;
    border: none;
    border-radius: 5px;
    margin-top: 8px;  /* pra distanciar o botao do campo da senha */
    margin-bottom: 3px;    /* pra distanciar o botao do botao esqueci senha */
}

form > a.botao {
    display: block;
    text-align: center;
    padding-top: 8px;  /* pra centralizar verticalmente */
    font-size: 1em;
    width: 99%;
    height: 40px;
    background-color: rgba(165, 42, 42, 0.737);
    color: antiquewhite;
    border: 1px solid;
    border-radius: 5px;
    text-decoration: none;  /* pra tirar o sublinhado */

}

form > a.botao > i {
    font-size: 1.1em;  /* tamanho do icone do enevlope */
}

form > input[type=submit]:hover {
    background-color: rgb(118, 49, 49);
    font-weight: bold;
}

form > a.botao:hover {
    background-color: rgb(118, 49, 49);
    font-weight: bold;
}

