@charset "UTF-8";

/*
PALETA 

Verde: #49a09d
Liás: #5f2c82
*/

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

body, html {
    background-image: linear-gradient(to top, #49a09d, #5f2c82);    height: 100vh;
    width: 100vw;
}

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

section#login {    
    display: flex;
    flex-direction: column ;
    overflow: hidden;

    background-color: white;
    height: 520px;
    width: 300px;
    border-radius: 20px;
    box-shadow: 2px 2px 4px #3d1c53;
    transition: width 0.2s,height 0.2s;
    transition-timing-function: ease;

    }
    div#imagem {
        background: #5f2c82 url(../imagem/pattern.jpg)  ;
        background-size: cover;
        height: 40%;
    }
    div#formulario {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex:1;
        padding: 10px;
    }
    #formulario h1 {
        font-family: 'Poppins', sans-serif;
        text-align: center;
        font-weight: 700;
        margin-bottom: 10px;
    }
    #formulario p {
        font-size: 0.8em;
        color: #555;
        margin-bottom: 10px;

    }
    div.campo {
        background-color: #5f2c82;
        height: 40px;
        border-radius: 8px;
        margin: 5px 0px;
        box-shadow: 0px 0px 2px #190429a9;


    }
    div.campo img {
        width: 40px;
        padding: 5px;
    }
    div.campo input {
        background-color: hsl(0, 100%, 98%) ;
        font-size: 1em;
        /*width: 90%;*/
        width: calc(100% - 44.5px);
        height: 94%;
        border: 0px;
        border-radius: 6px;
        padding: 4px;
        transform: translateY(-14px);
    }
    div.campo input:focus-within {
        background-color: white;
    }
    div.campo input::placeholder {
        font-size: 0.7em;
        padding: 5px;
        font-weight: 100;
        
    }
    .campo label {
        display: none;
    }
    form > input[type=submit]{
        display: block;
        font-size: 1em;
        margin-top: 20px;
        width: 100%;
        height: 40px;
        background-color: #6A0DAD; 
        
        border: none;
        border-radius: 9px;
        color: white;
    }

    form > input[type=submit]:hover {
        background-color: #44096e;
        cursor: pointer;
    }

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

    a.botao:hover {
        background-color: #e5c0ff44;
    }