@charset "UTF-8";

:root {
    --cor0: #03A63C;
    --cor1: #038C25;
    --cor2: #02731E;
    --cor3: #02590F;
    --cor4: #014005;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html, body {
    width: 100dvw;
    min-height: 100dvh;
    background-color: var(--cor4);
}

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

section {
    background-color: white;
    width: 300px;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.829);
    transition: width 0.1s, heigth 0.1s;
}

section div#imagem {
    display: block;
    background-image: url("../img/floresta-pequena.jpg");
    height: 40%;
    background-size: cover;
    background-position: center center;
}

section div#formulario {
    display: block;
    padding: 10px;
}

div#formulario h1 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 5px 0;
}

div#formulario p {
    text-align: center;
    margin-bottom: 20px;
}

form div.campo {
    background-color: var(--cor4);
    width: 90%;
    margin: 5px auto;
    border-radius: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.486);
}

form div.campo label {
    font-size: 1.7em;
    color: rgba(255, 255, 255, 0.781);
    padding: 0 5px;
}

form div.campo input {
    background-color: rgba(255, 255, 255, 0.932);
    height: 70%;
    width: 82%;
    border: 1px solid var(--cor4);
    border-radius: 5px;
    padding-left: 5px;
    font-style: italic;
}

form div.campo input:focus {
    font-style: normal;
}

form div.campo input:focus::placeholder {
    color: transparent;
}

form button {
    display: block;
    font-size: 1em;
    font-weight: bold;
    width: 90%;
    height: 40px;
    border-radius: 5px;
    margin: 0 auto;
    border: 1px solid #035a09;
}

form button#entrar {
    background-color: var(--cor4);
    color: white;
    margin: 20px auto 5px auto;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.486);
}

form button#entrar:hover {
    background-color: #035a09;
    cursor: pointer;
}

form button#esqueci {
    background-color: white;
    color: var(--cor4);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.486);
}

form button#esqueci:hover {
    color: #035a09;
    text-decoration: underline;
    cursor: pointer;
}