@charset "UTF-8";


:root {
    --cor-gray: #011016;
    --cor-orange: #b46006;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html,
body {
    background: linear-gradient(45deg,#011016, #b46006, #011016, #869193) no-repeat;
    height: 100vh;
    width: 100vw;
}

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

section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    background: white;
    width: 300px;
    height: 535px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);

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

section#login > div#imagem {
    display: block;
    background: var(--cor-orange) url(../img/building.jpg) no-repeat center top/cover;
    height: 200px;
}

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 > div.campo {
    background: var(--cor-gray);
    border: 2px solid var(--cor-gray);
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
}

form > div.campo:hover {
    background: #cc6d07;
}

div.campo > label {
    display: none;
}

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

div.campo > input {
    background: #869193;
    font-size: 1em;
    width: calc(100% - 46px);
    height: 100%;
    border: none;
    border-radius: 0px 8px 8px 0px;
    padding: 5px;

    transform: translateY(-12px);
}

form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: var(--cor-gray);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
form > input[type=submit]:hover {
    background: linear-gradient(45deg,#eb800f 60%,#869193,transparent);
    color: black;
}

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

form > a.botao:hover {
    background: linear-gradient(45deg,#eb800f 60%,#869193,transparent);
    color: black;
}

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