@charset "UTF-8";

/* PALETA = 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-image: linear-gradient(to top, #49a09d, #5f2c82);
    height: 100vh;
    width: 100vw;
}

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

section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:  translate(-50%, -50%);
    overflow: hidden;

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

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

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

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

div#formulario > h1 {
    text-align: left;
    margin-bottom: 25px;
}

form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

div.campo > input {
    background-color: rgb(240, 240, 240);
    font-size: .8em;
    height: 100%;
    width: calc(100% - 13%);

    padding: 4px;
    transform: translateY(-9px);
}

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

form > input[type=submit]:hover {
    background-color: rgb(132, 132, 132);
}

form > a.botao {
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    padding-top: 8px;
    margin-top: 5px;
    background-color: white;
    color: black;
    border: 1px solid;
    border-radius: 5px;
    text-decoration: none;
}

form > a.botao:hover {
    background-color: rgb(181, 181, 181);
}

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