@charset "UTF-8";

/*
    Paleta de cores:
    #284A28
    #122414
    #7BB360
*/

*{
    padding: 0px;
    margin: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body,html{
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to left, #284A28, #122414);
    position: relative;
}

main{
    width: 340px;
    height: 675px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
}

div#imagem{
    display: block;
    background-image: url(../imagens/samambaia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    height: 180px;
}

div#formulario{
    background-color: black;
    padding: 20px;
    color: white;
}

div#formulario > p{
    text-align: justify;
    color: white;
}

div#formulario > h1{
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

div#remeber{
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    float: left;
    width: 50%;
}

div.campos{
    border-bottom: 1px solid #7BB360;
}

div.campos > input{
    height: 35px;
    margin-top: 20px;
    background-color: black;
    border: none;
    width: 100%;
}

div.campos > input::placeholder, div.campos > input{
    color: white;
}

div.campos > input:focus-within{
    text-decoration: none;
}

div#esqueceu{
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    float: right;
    width: 50%;
}

div#esqueceu > button{
    color: white;
    background-color: black;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    text-align: right;
    width: 100%;
    font-size: 0.91em;
}

div#botao-login, p#topo{
    text-align: center;
    color: white;
}

div#botao-login > p{
    padding: 10px;
    font-size: 1.2em;
}

div#botao-login > input, p#botao > input[type='submit']{
    cursor: pointer;
    background-color: #7BB360;
    color: white;
    border: none;
    width: 200px;
    height: 30px;
    font-size: 1.2em;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 20px;
}

div#botao-login > input:hover, p#botao > input[type='submit']:hover, p#botoes > input[type='submit']:hover{
    background-color: #305830;
    border: 1px solid white;
}

div#opcoes-login{
    text-align: center;
}

div#opcoes-login > a > img{
    width: 20px;
    border: 2px solid #7BB360;
    border-radius: 50%;
    padding: 10px;
}

button#botaoCadastro{
    cursor: pointer;
    color: white;
    background-color: #305830;
    border: none;
    width: 150px;
    height: 30px;
    font-size: 1em;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 20px;
}

button#botaoCadastro:hover{
    background-color: #1c681c;
    border: 1px solid white;
}

div#cadastro{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/*  Página de cadastro  */
main#cadastro{
    display: flex;
    justify-content: center;
    align-items: center;
}

section#formCadastro{
    background-color: black;
    padding-top: 15px;
    padding-left: 20px;
    font-size: 1.1em;
    /*height: 400px;*/
    border-radius: 20px;
}

section#formCadastro > h1{
    text-align: center;
    margin-bottom: 25px;
}

section#formCadastro > p{
    text-indent: 20px;
    margin-bottom: 15px;
}

section#formCadastro input, section#formCadastro select{
    margin-bottom: 10px;
}

option, select{
    color: black;
}

p#botao{
    text-align: center;
}

p#botao > input[type='submit']{
    color: white;
}

p, h1, label, ::-ms-reveal{
    color:white;
}

.erro{
    color: red !important;
}

/*  Página de conteudo  */

p#topo > img{
    height: 30px;
    width: auto;
}

header > header{
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    height: 40px;
}

button#menuSand{
    margin-top: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 20px;
}

button#menuSand > img, nav#menu > button > img{
    height: 30px;
    width: auto;
}

header > nav{
    display: none;
    flex-flow: column nowrap;
    margin-top: 50px;
    position: absolute;
    background-color: black;
    top: 0;
    right: 0;
    text-align: right;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

header > nav > button{
    cursor: pointer;
    background: transparent;
    border: none;
}

header > nav > a{
    margin-top: 10px;
    color: white;
    text-decoration: none;
}

header > nav > a:hover{
    text-decoration: underline;
}

/*  Página de configuração  */
div#alteraSenha{
    display: none;
}

p#excluir{
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

p#excluir > a{
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    background-color: #d12a2a;
    color: white;
    border: none;
    width: 150px;
    height: 30px;
    font-size: 1em;
    padding-top: 2px;
    border-radius: 20px;
}

p#excluir > a:hover{
    background-color: #eb4c4c;
    border: 2px solid #d12a2a;
}

p#botoes{
    text-align: center;
    margin-top: 15px;
}

p#botoes > input[type='submit']{
    cursor: pointer;
    background-color: #7BB360;
    color: white;
    border: none;
    width: 120px;
    height: 30px;
    font-size: 1em;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 20px;
    margin-right: 10px;
}

p#botoes > button#cancelar{
    margin-left: 10px;
    cursor: pointer;
    background-color: #eb4c4c;
    color: white;
    border: none;
    width: 120px;
    height: 30px;
    font-size: 1em;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 20px;
}

p#botoes > button#cancelar:hover{
    background-color: #d12a2a;
    border: 2px solid #eb4c4c;
}

input[type='text'], input[type='password'], input[type='email'], select{
    padding-left: 8px;
    border-radius: 10px;
    height: 23px;
    width: 200px;
    border: 2px solid #6eb44b;
}