/* Paleta de cores
Tom de azul: #14488C

Tom de verde: #52CBD9 */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-primaria: #14488C;
    --cor-secundaria: #48b3be;
    --cor-secundaria-clara: #80d8e2;
    --cor-secundaria-forte: #317f88;
}

body {
    background-color: var(--cor-primaria);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    height: 100vh;
}

main {
    width: 250px;
    height: 515px;
    background-color: white;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

div#imagem {
    background-image: url(../imagens/padrão-linhas.jpg);
    background-position: center center;
    height: 200px;
    background-size: cover;
    border-radius: 20px 20px 0px 0px;
    margin-top: -1px;
}

div#formulario {
    padding: 10px;
}

div#formulario h1 {
    text-align: center;
    padding-bottom: 10px;
}


div.campo {
    background-color: var(--cor-primaria);
    margin: 5px 0px;
    border-radius: 10px;
    height: 40px;
    position: relative;
}

div.campo>span {
    font-size: 1.9em;
    width: 40px;
    position: absolute;
    top: 50%;
    transform: translate(5px, -50%);
}

div.campo>input {
    display: inline-block;
    height: 85%;
    width: calc(100% - 45px);
    border-radius: 10px;
    border: none;
    position: absolute;
    top: 50%;
    transform: translate(40px, -50%);
    font-size: 1em;
    padding: 5px;
    background-color: var(--cor-secundaria-clara);
}

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

}


div#formulario p {
    font-size: 0.8em;
}

div#formulario>form>input {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: none;
    margin-bottom: 5px;
    background-color: var(--cor-secundaria);
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

div#formulario>form>input:hover {
    background-color: var(--cor-secundaria-forte);
    cursor: pointer;
}

div#formulario>a {
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    width: 100%;
    border: solid 1px var(--cor-secundaria-forte);
    border-radius: 5px;
    text-decoration: none;
    color: var(--cor-secundaria-forte);
    padding-top: 8.5px;
    padding-bottom: 8.5px;
}

div#formulario>a:hover {
    background-color: var(--cor-secundaria-clara);
}

div#formulario form .material-symbols-outlined {
    color: white;
}

div#formulario a .material-symbols-outlined {
    color: var(--cor-secundaria-forte);
    font-weight: bold;
    font-size: 1em;
    vertical-align: middle;
}


/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {
    body {
        background-image: linear-gradient(to bottom, var(--cor-primaria), var(--cor-secundaria));
    }
    main {
        width: 80vw;
        height: 280px;
    }

    div#imagem {
        float: left;
        display: block;
        height: 280px;
        width: 30%;
        margin: 0px 0px 0px -1px;
        border-radius: 20px 0px 0px 20px;
    }

    div.campo input {
        height: 85%;
        width: calc(100% - 45px);
    }

    div#formulario {
        float: right;
        display: block;
        width: 70%;
        height: 280px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {
    main {
        width: 950px;
        /* max-width: 950px; */
        height: 350px;
    }

    div#formulario h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    div#formulario p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    div#imagem {
        float: right;
        display: block;
        height: 350px;
        width: 50%;
        margin: 0px -1px 0px 0px;
        border-radius: 0px 20px 20px 0px;
    }

    div.campo input {
        height: 85%;
        width: calc(100% - 45px);
    }

    div#formulario {
        float: left;
        display: block;
        width: 50%;
        height: 350px;
    }
}