@charset "UTF-8";

/* 

Verde: #49a09d
Lilás: #5f2c82

*/


* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body, html {
    background-color: #C38E00;
    height: 100vh;
    width: 100vw;
}

main {
    position: relative;
    height: 100vh;
    width: 100vw;
}

section {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    background-color: white;
    width: 250px;
    height: 540px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.521);
    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/coffe.jpg) no-repeat;
    height: 200px;
    background-size: cover;
    background-position: center;
}

section#login > div#formulario {
    display: block;
    padding: 10px
}

div#formulario > h1 {
    text-align: center;
    margin-bottom: 10px;
}

div#formulario > p {
    font-size: .9em;
}

form > div.campo {
    background-color: #ecb009;
    border: 2px solid #ecb009;
    border-radius: 8px;
    display: block;
    width: 100%;
    height: 40px;
    margin: 5px 0px;
}

div.campo > label {
    display: none;
}

div.campo > i {
    color: #614700;
    /* background-color: #ecb009; */
    font-size: 2em ;
    width: 40px;
    padding: 5px;
}

div.campo > input {
    font-size: 1em;
    width: calc(100% - 45px);
    height: 100%;
    /* transform: translateY(-13px); */
    border: none;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-12px);
}

div.campo > input:focus-within {
    background-color: #fce8b1;
}

form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    background-color: #ecb009;
    color: #795800;
    font-weight: bold;
    border: 1px solid rgba(0, 0, 0, 0.486);
    border-radius: 5px;
}

form > input[type=submit]:hover {
    background-color: #fce8b1;
    cursor: pointer;
}

form > a.botao {
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    padding-top: 7px;
    margin-top: 5px;
    background-color: #ffe18f;
    border: 1px solid black;
    border-radius: 5px;
    text-decoration: none;
    color: #795800;
    font-weight: bold;
}

form > a.botao:hover {
    background-color: #ffeaaf;
}

form > a.botao > i {
    font-size: 0.8em;
}

