@charset "UTF-8";

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

body,html{
    background-color: rgb(6, 6, 182);
    height: 100vh;
    width: 100vw;
}

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

section#login{
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;

    background-color: white;
    width: 270px;
    height: 515px;
    border-radius: 20px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.450);

    /*Smepre que o codigo tiver uma animação ou transformação faça na ultima linha do seletor*/
    transform: translate(-50%, -50%);
    transition: width .3s, heigth .3s;
    transition-timing-function: ease;
}

section#login > div#imagem{
    display: block;
    background: darkblue url(../imagens/pattern-building.jpg) no-repeat;
    background-size: cover;
    background-position: left bottom;
    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-color: #3700ff;
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    margin: 10px 0px;
}

div.campo > label{
    display: none;
}

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

div.campo > input{
    background-color: white;
    font-size: 1em;
    width: calc(100% - 47px);
    height: 85%;
    border: 0px;
    border-radius: 5px;
    padding: 4px;
    /*Smepre que o codigo tiver uma animação ou transformação faça na ultima linha do seletor*/
    transform: translateY(-10px);
}

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

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

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

form > a.botao:hover{
    background-color: #71faf6;
}

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

}