@charset "UTF-8";
/* Paleta de cores
    verde: #49a09d
    lilás: #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: thistle;
    height: 100vh;
    width: 100vw;
}
main{
    position: relative;
    height: 100vh;
    width: 100vw;
}
section#login{
    /*para fica centralizado no meio da tela*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;

    background-color: whitesmoke;
    width: 270px;
    height: 518px;
    border-radius: 20px;
    box-shadow:  0px 0px 10px rgba(0, 0, 0, 0.450);

    transition: width 0.3s, height 1s;;
}
section#login > div#imagem{
    display: block;
    background:whitesmoke url(midia/fundo.jpg) no-repeat;
    background-size: cover;
    height: 200px;
}
section#login > div#formulario{
    display: block;
    padding: 10px;
}
div#formulario > h1{
    text-align: center;
    margin-bottom: 10px;
}
div#formulario > p{
    font-size: 0.9em;
}

form > div.campo{
    background-color: rgb(240, 193, 240);
    display: block;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    margin: 5px 5px;
}

div.campo > label{
    display: none;
}

div.campo >i {
    width: 40px;
    padding: 5px;
}
div.campo > input {
    font-size: 1em;
    border-radius: 5px;
}

form > input[type=submit]{
    display: block;
    font-size: 1em;
    width: 100%;
    height: 30px;
    color: black;
    background-color: violet;
    border-radius: 5px;
    cursor: pointer;
}
form > input[type=submit]:hover{
    background-color: rgb(219, 43, 219);
}
form > a.botao{
    display: block;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
    color: rgb(179, 57, 179);

}