@charset "UTF-8";

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

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

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

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

section#login > div#imagem {
    background: url(../imagens/metal.jpg);
    height: 200px;
    background-size: cover;
    background-repeat: no repat;
    display: block;
}

section#login > div#formulario {
    display: block;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

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

section#login > div#formulario > p {
    font-size: 0.8em;
}

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

div.campo input[type=password]{
    background-color: #63dad6;
    font-size: 1em;
    height: 100%;
    border: 0px;
    border-radius: 8px;
    width: 150px;
}

div.campo > input[type=email]{
    background-color: #63dad6;
    font-size: 1em;
    height: 100%;
    border: 0px;
    border-radius: 8px;
    width: 150px;
}

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

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

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

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

form > a.botao:hover {
    background-color: #63dad6;
}

form > div.campo > label {
    color: white;
}