@charset "UTF-8";

/* PALETA DE CORES */

:root {
    --cor1: #49a09d;
    --cor2: #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: var(--cor2);
    height: 100vh;
    width: 100vw;
}

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

section#login {    
    position: absolute;
    left: 50%;
    top: 50%;    
    background-color: white;
    width: 250px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .5);

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

section#login > div#imagem {
    display: block;
    background: var(--cor2) url('../imagens/metal.jpg') left bottom no-repeat;
    height: 200px;
    background-size: cover;  
}

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 label {
    display: none;
}

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

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

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

div.botao > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;   
    background-color: var(--cor1);
    color: white;
    border: none;
    border-radius: 5px;    
}

div.botao > input[type='submit']:hover {
    background-color: #2d6462;
    cursor: pointer;
}

div.botao > a {
    display: block;
    text-align: center;
    width: 100%;
    height: 40px;
    font-size: 1em;
    padding-top: 8px;
    background-color: #77f1ed81;
    color: #2d6462;
    border: 1px solid #418a87;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 5px;    
}

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

div.botao > a > span {
    font-size: 0.8em;
    vertical-align: middle;    
}

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