@charset "UTF-8";

/*
    Cores
    Verde: #49a09d
    Lilás: #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 {    
    background-color: #5f2c82;
    height: 100vh;
    width: 100vw;
}

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

section#login {
    background-color: white;
    width: 250px;
    height: 500px;    
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.486);

    position: absolute;
    top: 50%;
    left: 50%;
    
    transform: translate(-50%, -50%);
    transition: width .5s, height .5s;
    transition-timing-function: ease ;
}

div#imagem {
    background: #5f2c82 url(../imagens/img3.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: 200px;
    display: block;
}

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

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

div#formulario p {
    font-size: 0.8em;
    text-align: justify;
    margin: 10px 0px;
}

form > div.campo {
    background-color: #5f2c82;
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
}

form label {
    display: none;
}

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

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

div.campo i {
    color: white;
    font-size: 2em;
    width: 40px;
    text-align: center;
    padding: 5px;    
}

input {
    background-color: #68e0dc;
    font-size: 1em;
    width: calc(100% - 45px);
    height: 100%;    
    border-radius: 8px; 
    border: 2px solid #5f2c82; 
    transform: translateY(-10.5px);      
}

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

form > a.botao {
    display: block;
    text-align: center;    
    font-size: 1em;
    background-color: white;
    color: #49a09d;
    width: 100%;
    height: 30px;
    padding-top: 4Tapx;    
    border-radius: 5px; 
    text-decoration: none;
    border: 1px solid #49a09d;    
}

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

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