@charset "UTF-8";

/*
    paleta de cores
    verde: #49a09d
    lilas: #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;
}

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

main {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

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 .3s, height .3s;
    transition-timing-function: ease;
}

section#login > div#image {
    background: #5f2c82 url(../image/metal.jpg) no-repeat left center;
    height: 200px;
    background-size: cover;
    display: block;

}

div#form {
    padding: 10px;
    display: block;
}

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

div#form > p {
    font-size: .8em;
}

form .campo label {
    display: none;
}
div.campo > i {
    color: white;
    /*background-color: black;*/
    font-size: 1em;
    width: 40px;
    padding: 5px;
}

.campo > input {
    background-color: #49a09d;
    border-radius: 8px;
    padding: 4px;
    width: calc(100% - 44px);
    height: 100%;
    border: 0px;
}

.campo > input:focus-within {
    background-color: white;
    border: none;
}
form > .campo {
    background-color: #5f2c82;
    border: 2px solid #5f2c82;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
}

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

}

form input[type=submit]:hover {
    background-color: #1c413f;
}

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

form a.botao:hover {
    background-color: #49a09d;
    color: white;
}

