@charset "UTF-8";

/*

    Paleta de Cores

    Verde: #49a09d
    Lilás: #5f2c82

*/

/* Configurações Gerais */
*{ 
    margin: 0px;
    padding: 0px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

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

/* Parte Principal */
main {
    position: relative;
    height: 100vh;
    width: 100vw;
}

/* Section do Formulário (Parte Branca) */
section {
    position: absolute;
    left: 50%;
    top: 50%;


    background-color: white;
    height: 515px;
    width: 250px;
    border-radius: 20px;

    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.550);

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

/* Título */
#formulario > h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2em;
}

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

/* Imagem */
#imagem {
    display: block;
    background: #5f2c82 url(../imagens/paisagem.jpg) no-repeat left center;
    background-size: cover;
    height: 200px;
}

/* Parte do Formulário */
#formulario {
    display: block;
    padding: 10px;
}

/* Parte dos Ícones */
.campo {
    background-color: #5f2c82;
    display: block;
    width: 100%;
    height: 40px;

    border: 2px solid #5f2c82;
    border-radius: 8px;
    margin: 5px 0px;
}

form label {
    display: none;
}

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

.campo > input {
    background-color: #94cfcd;
    font-size: 1em;
    width: calc(100% - 45px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 5px;

    transform: translateY(-11px);
}

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

/* Parte dos Botões */
#formulario > form > input[type=submit] {
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 5px;

    font-size: 1em;
    background-color: #49a09d;
    color: white;
    border: none;
    cursor: pointer;
}

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

.butao {
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 5px;

    font-size: 1em;
    background-color: white;
    color: #2d6462;
    border: 1px solid #49a09d;
    cursor: pointer;

    margin-top: 5px;
}

.butao:hover{
    background-color: #6cd3cf;
}
