@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* paleta de cores 
azul - #0000cd 
fundo - background: rgb(231, 240, 236);
*/

* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: rgb(231, 240, 236);
}

p, a, li, caption, td, th {
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
}

h1, h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
}

header {
    padding: 12px;
    background-color: #0000cd;
}

header > button {
    display: none;
    width: 50px;
    height: 50px;
    background: #CEF09D;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

header > button:hover {
    background-color: #d2f8d5;
}

button.btn-fechar {
    margin: 7px;
    padding: 10px;
    background-color: #025940;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button.btn-fechar:hover {
    background-color: #02664a;
}

span.material-symbols-outlined {
    font-size: 2.5em;
}

nav {
    position: absolute;
    top: 0px;
    width: 100%;
    left: -100%;
    transition: all 0.5s;
}

nav > ul {
    list-style: none;
    text-align: center; 
}

nav > ul > li > a {
    display: block;
    margin: 4px;
    padding: 10px;
    text-decoration: none;
    color: white;
    border: none;
    transition-duration: .4s;
}

nav > ul > li > a:hover {
    background-color: rgb(241, 241, 241);
    color: #024059;
} 

.mostrar {
    left: 0%;
}

div.logo {
    padding: 20px 0px;
    background-color: #0000cd;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
}

div.logo > h2 {
    color: white;
    font-size: 2em;
    padding-bottom: 8px;
}

div.logo > img {
    border-radius: 5px;
}

main {
    margin: 0px 5px;
}

section {
	max-width: 80vw;
    min-width: 300px;
    margin: 10px auto;
    margin-bottom: 32px;
    padding: 20px;
    background-color: white;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.356);
    border-radius: 10px;
}

article > h1 {
    padding: 5px 0px;
    color: #A62B1F;
    font-style: italic;
    font-size: 1.7em;
}

article > h2 {
    color: #191970;
    font-size: 1.7em;
}

article > p, div.bloco-a > p {
    margin-bottom: 5px;
    line-height: 1.8em;
    text-align: justify;
}

article > ol, ul {
    list-style-position: inside;  
    line-height: 1.6em;
}

div.container-bloco {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin: 10px 0px;
}

div.bloco-a {
    flex: 0 1 700px;
    padding-right: 5px;
}

div.bloco-b {
    flex: 0 1 300px;
}

div.bloco-b > img {
    margin-left: 6px;
    border-radius: 5px;
}

picture > img {
    margin: 10px auto;
    display: block;
    max-width: 100%;
    border-radius: 5px;
}

div.container-tabela {
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 550px; 
    border-collapse: collapse; 
    margin: 20px auto;
}

caption {
    padding: 10px;
    font-size: 1.5em;
    color: white;
    background-color: #b39854;
}

td, th {
    border: 1px solid black;
    padding: 10px;
}

td {
    text-align: left;
    font-size: 1em;
}

thead, tfoot {
    background-color: #347355;
    color: white;
    font-size: 1.4em;
}

tbody > tr:nth-child(2n) {
    background-color: rgb(216, 214, 214);
}

div.bloco-img {
    flex: 0 1 600px;
    margin-bottom: 10px;
}

div.bloco-lateral {
    flex: 0 1 434px;
    margin-left: 5px;
    border-radius: 5px;
}

.bloco-img > img, .bloco-lateral > img {
    max-width: 100%;
    border-radius: 5px;
}

div.bloco-texto {
    flex: 0 1 434px;
    margin-left: 5px;
    padding: 8px;
    background-color: #F5F5DC;
    border-radius: 5px;
}

div.bloco-texto > h2 {
    color: red;
    padding-left: 14px;
}

div.bloco-texto > ul {
    padding-left: 14px;
    color: rgb(245, 1, 1);
    list-style-position: inside;  
    line-height: 1.6em;
}

div.bloco-texto > ul > li > a {
    text-decoration: none;
    font-size: 1.04em;
    color: #191970;
}

div.bloco-texto > ul > li > a:hover {
    color: #214001;
}

footer {
    background-color: #0000cd;
    padding: 20px;
}
  
footer > p {
    color: white;
    text-align: center;
}
