@charset "UTF-8";

/*
    paleta de cores
    Vinho: #700404
    azul: #003cff 
*/

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

body, html{ 
    background-color:#003cff ;
    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: 260px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.521);

    transition: width 0.2s , heigth 0.2s;
    transition-timing-function: ease;
    transform: translate(-50%,-50%);
}

section#login > div#imagem{
    display: block;
    background: #003cff url(../img/celular.jpg);
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

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:#700404 ;
    display: block;
    border: 2px solid #700404 ;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
}

form label{
    display: none;
}

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

div.campo > input{
    background-color: #85a1ff;
    font-size: 1em;
    width: calc(100% - 46px);
    height: 100%;
    border: 0px;
    border-radius: 8px;
    padding: 4px;
    transform: translateY(-12px);
}

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

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

form input[type=submit]:hover{
    background-color: #012bb6;
}

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

form a.botao:hover{
    background-color: #003cffa8;
}

form a.botao span{
    font-size: 0.8em;
}