@charset "UTF-8";

* {
    font-family: system-ui,'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif;

    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body, html {
    background-color: #0099DD;
    width: 100vw;
    height: 100vh;
}

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

section#login {
    position: absolute;
    background-color: aliceblue;
    width: 300px;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px #0000004d;
    overflow: hidden;

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

section#login > #imagem {
    display: block;
    background-color: rgb(49, 49, 49);
    background-image: url(../imagens/vila-back.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
}

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

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

#formulario > p {
    font-size: 0.9em;
    margin: 15px 0px;
}

form > .campo {
    background-color: #0089c4dc;
    display: block;
    width: 100%;
    height: 35px;
    border-radius: 10px;
    margin: 10px 0px;
}

.campo {
    padding: 5px;
}

.campo > label {
    display: none;
}

.campo > span {
    color: rgb(243, 243, 243);
    font-size: 1.5em;
    width: 36px;
}

.campo > input {
    background-color: #b2e8ff;
    font-size: 1em;
    width: calc(100% - 41px);
    height: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px;

    transform: translateY(-8px);
}

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

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

form > input[type=submit]:hover {
    background-color: white;
    color: rgb(31, 31, 31);
    border: 2px solid rgb(49, 49, 49);
}

form > .botao {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 0.9em;
    width: 100%;
    height: 25px;
    padding-top: 5px;
    margin-top: 10px;
    color: rgb(37, 37, 37);
}

form > .botao:hover {
    text-decoration: underline;
}

form > .botao > span {
    font-size: 0.8em
}

