@charset "UTF-8";

/*
    Paletas de cores
    Verde: #418BB1
    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;
}

html, body {
  height: 100%;
}

body {
    background-color: #5f2c82;
    height: 100%;
    min-width: 100%;
}

main {
    height: 100%;
    width: 100%;
}

section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    background-color: white;
    width: 80%;
    height: 85vh;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);
    transform: translate(-50%, -50%);
    transition: width 0.3s, heigth 0.3s;
    transition-timing-function: ease; 
}

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

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

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

div#formulario > p {
    font-size: 0.9em;
    margin-top: 20px;
    margin-bottom: 20px;
}

form > div.campo {
    background-color: #5f2c82;
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #5f2c82;
    margin: 5px 0;
}

div.campo > label {
    display: none;
}

div.campo > input {
    background-color: #ffffff;
    height: 90%;
    text-indent: 5px;
    width: calc(100% - 46px);
    border-radius: 8px;
    border: 0px;
    transform: translateY(-13px);
}

form > input[type=submit] {
    margin-top: 10px;
    display: block;
    font-size: 0.9em;
    height: 40px;
    width: 100%;
    background-color: #418BB1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form > input[type=submit]:hover {
    background-color: #0580BF;
}

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

form > a.botao:hover {
    background-color: #0580BF;
    color: white;
}

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

span#icon2 {
    font-size: 1em;  
} 