@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: #5f2c82;
    height: 100vh;
    width: 100vw;
}

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

section#login {
    position: absolute;
    top: 50%;
    left: 50%;

    overflow: hidden;

    background-color: white;
    width: 250px;
    height: 515px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);

    transform: translate(-50%, -50%);
    transition: width .3s, height .3s;
    transition-timing-function: ease;
}

section#login > div#imagem{
    display: block;
    background: #5f2c82 url(../imagens/paisagem.jpg) no-repeat;
    background-size: cover;
    background-position: left top;
    height: 200px;

}

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

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

div#formulario > p{
    text-indent: 5px;
    font-size: 0.8em;
}

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

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

div.campo > input{
    background-color: #94cfcd;
    font-size: 1em;
    width: calc(100% - 44.6px);
    height: 100%;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-12.2px);
}

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

div.campo > label{
    display: none;
}

/* botão de entrar */

div#formulario a.botao{
    color: #ffffff;
    text-decoration: none;
    color: #2d6462;
    display: block;
    text-align: center;
    width: 100%;
    height: 40px;
    border: 1.5px solid #5aaf90;
    border-radius: 7px;
    margin-top: 5px;
    padding-top: 2px;
    font-weight: lighter;
}

div#formulario a.botao:hover{
    background-color: #7268af;
    color: #5aaf90;
    text-decoration: underline;
    transition: color .4s, background-color .2s;
}

form > input[type=submit]{
    display: block;
    height: 40px;
    width: 100%;
    font-size: 1em;
    color: white;
    border: none;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0.2px 0px #7f4d964b;
    background-color: #5a60af;
    cursor: pointer;
}

form > input[type=submit]:hover{
    background-color: #2d6462;
    transition: background-color .4s;
}