@charset "UTF-8";

/*  Paleta de cores
    Verde: #49a09d
    Lilás1: #5f2c82
*/

* {
    font-family: -apple-system, blinkMacSystemfont, 'Sagoe UI', Roboto, Uxygen, '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;
}
section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;

    background-color: white;
    width: 280px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.644);

    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    transition-timing-function: ease;
}
section#login > div#imagem {
    display: block;
    background: #5f2c82 url(../imagens/pexels-manuel-schlichter-753068368-19647718.jpg) no-repeat;
    background-size: cover;
    height: 200px;
}
section#login > div#formulario {
    display: block;
    padding: 10px;
}
div#formulario > h1 {
    text-align: center;
    margin-bottom: 10px;
}
div#formulario > p {
    font-size: 0.8em;
}
form > div.campo {
    background-color: #5f2c82;
    border: 2px solid #5f2c82;
    display: block;
    width: 100%;
    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: #49a09d;
    font-size: 1em;
    width: calc(100% - 45px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-14px);
}
div.campo > input:focus-within {
    background-color: white;
}
form > input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: #49a09d;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.411);
    
}
form > input[type=submit]:hover {
    background-color: #285857;
}
form > a{
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    background-color: #fafafa;
    color: rgb(7, 7, 7);
    border: 1px solid rgba(0, 0, 0, 0.411);
    border-radius: 5px;
    text-decoration: none;
    margin-top: 5px;
    padding: 10px;
}
form > a:hover {
    background-color: #285857;
}
input::placeholder {
    color: white; /* Cor do texto do placeholder */
    opacity: 0.5; /* Garantir que o texto seja totalmente visível */
}
