@charset "UTF-8";

:root {
    /* Paleta de cores extraida da imagen de fundo */
    --color0: #270A09ff; /* black bean 2 */
    --color1: #461808ff; /* black bean */
    --color2: #7F6759ff; /* coyote */
    --color3: #A8998Bff; /* khaki */
    --color4: #C9C3B5ff; /* bone */
}

* {
    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;
}

html, body {
    background-image: linear-gradient(to top, var(--color0), var(--color1));
    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: var(--color4);
    width: 90%;
    height: 90%;
    border-radius: 20px;
    box-shadow: 0px 0px 10px black;
    transition: width .5, height .5;
    transition-timing-function: ease;
}

section#login div#imagem {
    display: block;
    background: var(--color1) url(../imagens/pexels-efrem-efre-ppp.jpg) no-repeat;
    background-size: cover;
    height: 60%;
}
div#formulario {
    display: block;
    padding: 10px;
    text-align: center;
}

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

div#formulario p {
    font-size: .8em;
    text-align: center;
}

i {
    transform: translate(0% , 30%) scale(80%);
}

div#recup {
    text-align: center;
}

form input {
    background-color: var(--color4);
    color: var(--color0);
    font-weight: bolder;
    margin-right: 10px;
    width: calc(100% - 50px);
}

form input[type=submit] {
    display: block;
    font-size: 1em;
    width: 70%;
    height: 3em;
    background-color: var(--color1);
    color: white;
    border-radius: 5px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
}


form a.botao {
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    text-decoration: none;
    margin-bottom: 10px;
    margin-top: 10px;
}
div#campo {
    background-color: var(--color3);
    padding: .5em;
    border: 2px solid var(--color1);
    border-radius: 10px;
    width: max-content;
    margin: auto;
}



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

div#campo input {
    transform: translateY(-10px);
}