@charset "UTF-8";

/*typical Device Breakpoints
----------------------------
Pequenas telas: até 480px
Celulares: 481px até 768px
tablet: 768px até 1024px
Desktop: 1024px até 1440px
grandes telas: acima 1440px 
*/

/*
    Paleta de cores
    Laranja: #E85D22
    Off-white: #F6F6F6
    Cinza: #333333
*/

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

body, html {
    background-color: #e85d22c7;
}

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

section#login {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;

    background-color: white;
    width: 290px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #00000079;
    
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s;
    transition-timing-function: ease;
}

section#login > div#imagem {
    display: block;
    background: #e85d22 url(../imagens/pexels-aboodi-16563252.jpg) no-repeat;
    background-size: cover;
    background-position: left bottom;
    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: #e85d22;
    border: 2px solid #e85d22;
    height: 40px;
    border-radius: 8px;
    margin: 5px 0px;
}

div.campo > label {
    display: none;
}

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

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

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

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

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

form > a.botao {
    display: block;
    text-align: center;
    font-size: 1em;
    width: 100%;
    height: 40px;
    margin: auto;
    padding-top: 5px;
    margin-top: 5px;
    background-color: #33333367;
    color: #202020;
    border: 1px solid #272727;
    border-radius: 5px;
    text-decoration: none;
}

form > a.botao:hover {
    background-color: #e85d22de;
}

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


