@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&family=Lora:ital,wght@0,400..700;1,400..700&family=Tangerine:wght@400;700&display=swap');

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

:root{
    --fundo: #65564C;
    --clara: #90867F;
    --principal: #BA9B86;
    --escuro: #3B2C22;
}

html, body {
    overflow-x: hidden;
}

body {
    background-color: var(--fundo);
    
}

main {
    min-width: 320px;
    max-width: 800px;
    margin: auto;
    position: relative;
    z-index: 1;
}

header {
    background-image: linear-gradient(to top, var(--clara), var(--principal));
    color: var(--escuro);
    min-height: 150px;
    padding: 20px 10px 0px 10px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.37);
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 8em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.473);
    text-align: center;
    margin-bottom: 0px;
    font-family: "Tangerine", cursive;
}

h2 {
    font-family: 'Almendra', Times, serif;
    font-style: normal;
}

header p {
    font-family: "Lora", serif;
    font-size: 1.4em;
    font-weight: 500;
    text-align: center;
    color: var(--escuro);
    margin-bottom: 40px;
    margin-top: -10px;
}

nav {
    padding-bottom: 10px;
}

nav a {
    text-decoration: none;
    color: var(--escuro);
    font-size: 1.1em;
    font-family: 'Almendra', Times, serif;
    font-weight: bolder;
    border-radius: 3px;
    padding: 10px 10px;
    transition-duration: .5s;
}

nav a:hover {
    background-color: var(--escuro);
    color: #FFE8DA;
    box-shadow: 2px 2px 3px #3b2c2241;
}

main a {
    text-decoration: none;
    font-weight: bold;
    color: var(--escuro);
    background-color: #d1b7a6;
    padding: 1px 3px;
    white-space: nowrap;
}

a.externo::after {
    content: '\1F517';
}

main a:hover {
    text-decoration: underline; 
    color: #5a4436;
}

article {
    background-color: #FFF5ED; 
    color: var(--escuro);             
    padding: 20px 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

article h2 {
    margin: 10px 0px;
    padding: 0px 0px 0px 5px;
    background-image: linear-gradient(to left,#90867f88, #ba9b8694 );
    text-indent: 5px;
}

article p {
    font-size: 18px;
    text-indent: 25px;
    padding: 5px 0;
    text-align: justify;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

article > ul {
    font-size: 18px;
    padding: 5px 25px;
    text-align: justify;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

aside {
    margin-bottom: 10px;
    background-color: #ba9b8698;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 3px #3b2c227a;
}

h2.tabs {
    background-image: linear-gradient(to right, var(--principal), var(--fundo));
    background-color: var(--principal);
    padding: 5px;
    margin: -10px -10px 0px -10px;
    border-radius: 5px 5px 0px 0px;
}

aside p {
    font-size: 18px;
    text-indent: 25px;
    padding: 5px 0;
    text-align: justify;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-underline-offset: 2px;
}

aside > ul {
    font-size: 18px;
    list-style-position: inside;
    padding: 5px 10px;
    text-align: justify;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

aside pre {
  display: flex;
  justify-content: center;
  margin: 0px 0px 20px;
}

aside code {
  font-family: monospace;
  white-space: pre;
  text-align: center;
}

aside h2 {
    text-indent: 5px;
}

footer {
    background-color: var(--escuro);
    color: var(--clara);
    text-align: center;
    padding: 5px;
    margin: 10px 0px;
    width: 100%;
}

img {
    width: 100%;
    max-width: fit-content;
    padding: 10px 0px;
    margin: auto;
    display: block;
}

div.video {
    margin: 5px 5px 15px 5px;
    padding: 20px;
    padding-bottom: 50%;
    position: relative;
}

div.video > iframe {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
}

footer p {
    margin: 0;
    font-family: 'Almendra', Times, serif;
    color: white;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    text-decoration: underline;
}
