@charset "UTF-8";

/*
Paleta de cores:
Verde: #49a09d
Lilás: #5f2c82
Azul: #42B6DD
Verde2: #A7DD49


*/ 


*{
    margin: 0px;
    padding: 0px;
    font-family: system-ui, -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;
}

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

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

section#login > div#imagem{
    background: #5f2c82 url(../imagens/pexels-david-underland-3610226.jpg) no-repeat ;
    height: 200px;
    background-size: cover;
    background-position: left bottom; 
    display: block;
}
section#login > div#formulario{
    padding: 10px;
    display: block;

}

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

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

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

}

div.campo > label{
    display: none;
}

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

div.campo > input{
    background-color: #9fd345;
    font-size: 1em;
    width: calc(100% - 45px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding-left: 15px;
    transform: translateY(-12px);

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

}

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

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

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

