@charset "UTF-8";

/* Paleta de cores
verder: #49a09d
lilas: #5f2c82
*/

*{
    margin: 0px;
    padding: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

body, html{
    width: 100vw;
    height: 100vh;
    background-color: #5f2c82;
    
}

main{
    height: 100vh;
    width: 100vw;
    position: relative;
}

section#login{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    width: 250px;
    height: 515px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.452);
    
    transform: translate(-50%,-50%);
    transition: width 0.3s, height 0.3s;
    transition-timing-function: ease;   
}

section#login > div#imagem{
    display: block;
    background: #5f2c82 url(../imagens/pexels-pixabay-273209.jpg);
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
}

section#login > div#formulario{
    display: block;
    padding: 10px;
}

div#formulario > h1{
    text-align: center;
    margin-bottom: 10px;
}

div#formulario > p{
    font-size: 0.8em;
}

form > div.campo {
    display: flex; 
    align-items: center; 
    background-color: #5f2c82;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
    border: 2px solid #5f2c82;
}

div.campo > label{
    display: none;
}

div.campo > span{
    color: white;
    /*background-color: black;*/
    font-size: 2em;
    width: 40px;
    padding: 5px;    
}

div.campo > input{
    background-color: #68e2de;
    font-size: 1em;    
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 4px;    
}

div.campo > input:focus-within{
    background-color: white;
}

form > input[type=submit]{
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: #49a09d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form > input[type=submit]:hover {
    background-color: #2b5f5d;
}

form > a.botao{
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    padding-top: 7px;
    margin-top: 5px;
    background-color: white;
    border: 1px solid #68e2de;
    border-radius: 8px;
    text-decoration: none;
    color: #2b5f5d;
}

form > a.botao:hover{
    background-color: #68e2de;
}

form > a.botao > span{
    font-size: 0.8em;
}


