@charset "UTF-8";

/* CORES 

AZUL/ROXO: #6100F4
AMARELO:  #F5ED05
*/

*{
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body, html{
    background-color: #6100f4;
}

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

section#login{
    position: relative;
    top: 50%;
    left: 50%;

    background-color: white;
    width: 350px;
    height: auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 1px 1px 0px 1px rgba(0, 0, 0, 0.233);

    transform: translate(-50%, -50%);
}

section#login > div#imagem{
    background: #5f2c82 url(../imagens/pexels-diogo-digital-art-52024063-35072253.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    margin-bottom: 30px;
    height: 200px;
    display: none;
}

div#formulario{
    height: 100%;
    width: 100%;
    
}

div#formulario > h1{
    text-align: center;
    padding-bottom: 10px; 
    font-size: 2em;
}

div#formulario > p{
    text-align: center;
    padding-bottom: 10px;
    font-size: 0.8em;
}

div.campo{
    padding: 10px;
    height: 100%;
    transform: translateY(20px);
}



input{
   background-color: #F5ED05;
   border: 1px solid #f5ed0583;
   padding: 20px;
   width: 100%;
   margin-top: 2px;
   border-radius: 8px;
}

input:focus-within{
    background-color:white;
    color: black;
}


input[type="submit"]{
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    border: 0px;
    border-radius: 8px;
    background-color:#6100f4 ;
    color: white;
    font-size: 1.5em;
}

input[type="submit"]:hover{
    background-color: #9b62f1;
    cursor: pointer;
}

