@charset "UTF-8";

/*Paleta de cores*/
:root{
    --verde: #49a09d;
    --lilas: #5f2c82;
}

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

body, html{
    background-color: var(--lilas);
    height: 100vh;
    width: 100vw;
}

main{
    place-items: center;
    justify-content: center;
    display: flex;
    height: 100vh;
    width: 100vw;
}

section#login{
    background-color: white;
    height: 515px;
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 15px rgb(00, 00, 00, 0.7);

    transition: width .3s, height .3s;
    transition-timing-function: ease;
}

section#login > div#imagem{
    display: block;
    background: var(--lilas) url(../imagens/pexels-lkloeppel-466685.jpg);
    height: 200px;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#formulario{
    padding: 10px;
}

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

div#formulario > p{
    font-size:0.8em ;
    padding-bottom: 10px;
}

form > div.campo{
    display: block;
    margin: 5px 0px;
    background-color: var(--lilas);
    width:100%;
    height: 40px;
    border: 2px solid var(--lilas);
    border-radius: 8px;
}

#senha{
    height: 40.5px;
}

div.campo > input:focus-within{
    background-color: white;
}
 
form > div.campo > label{
    display: none;
}

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

form > div > input{
    background-color: var(--verde);
    font-size: 1em;;
    width: calc(100% - 45px);
    height: 39px;
    border: 0px;
    border-radius: 8px ;
    padding: 4px;
    transform: translatey(-11.5px);
}

form > div > input[type=submit]{
    display: block;
    margin-top: 15px;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: var(--verde);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

input[type=submit]:hover{
    background-color: #367876;
}

form a.botao{
    display: block;
    margin-top: 5px;
    padding-top: 7px;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    color: #367876;
    border: 1px solid var(--verde);
    border-radius: 5px;
    text-decoration: none;
}

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

form a.botao:hover{
    background-color: #6cd3cf;
}