@charset "UTF-8";

@font-face {
  font-family: "Sour Gummy";
  src: url(../assets/fonts/Sour_Gummy/SourGummy.ttf) format("truetype");
  font-display: optional;
}

@font-face {
  font-family: "Tektur";
  src: url(../assets/fonts/Tektur/Tektur-VariableFont.ttf) format("truetype");
  font-display: optional;
}

/* estilização base */

:root {
  --fundo: #011327;
  --destaque: #387bd8;
  --interativo: #0e3c55;
  --texto: #fff;
  --gradiente: linear-gradient(45deg, #011327 0%, #0e3c55 50%, #387bd8 100%);
  --gradiente-reverso: linear-gradient(45deg,
      #387bd8 0%,
      #0e3c55 50%,
      #011327 100%);
  --footer: #0c1927;
  --shadow: 0px 7px 7px #0000006b;
  --borda_padrão: 2px solid var(--texto);
  --fonte01: "Tektur", sans-serif;
  --fonte02: "Sour Gummy", serif;
  --header-size: 85px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: block;
  font-size: 0.8rem;
  font-family: var(--fonte01);
  line-height: 1.6rem;
  color: var(--texto);
  background: var(--gradiente);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--texto);
}

a:hover {
  text-decoration: underline;
}

a.externo {
  position: relative;
  background-color: transparent;
  border: none;
}

a.externo:hover {
  text-decoration: underline;
  border: none;
}

a.externo::after {
  content: " 🔗";
  font-size: 0.8rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 10px;
  font-family: var(--fonte02);
  text-align: center;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.2em;
}

h4,
h5,
h6 {
  font-size: 1em;
}

.icon {
  font-size: 1em;
  transition: all 0.3s;
  color: var(--texto);
}

/* Cabeçalho */
header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-size);
  padding: 10px 25px;
  background-color: var(--destaque);
}

header.app-header-shell,
header[data-shell="true"] {
  visibility: visible;
}

header.app-header-shell #nav-links-button,
header[data-shell="true"] #nav-links-button,
header.app-header-shell .nav_links,
header[data-shell="true"] .nav_links {
  display: none;
}

header button {
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: var(--destaque);
  cursor: pointer;
}

header button:hover {
  border: var(--borda_padrão);
  background-color: var(--interativo);
}

header button:active #menuIcon {
  transform: rotateZ(-90deg);
}

.menu-icon-glyph {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
}

nav {
  width: auto;
}

/* nav title inserido via JS */
.nav-title {
  margin: 0;
  font-size: 1rem;
  color: var(--texto);
  font-weight: 600;
}

/* Estilos do menu mobile */
.nav_menu {
  position: relative;
  z-index: 1000;
}

.nav_links {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  min-width: 200px;
  border-radius: 8px;
  background-color: var(--destaque);
  box-shadow: var(--shadow);
  overflow: auto;
}

/* Importante: esta classe controla a visibilidade */
.nav_links.active {
  display: flex !important;
}

/* Estilo dos links dentro do menu */
.nav_links a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

/* Classe para controlar a visibilidade do menu */
.nav_links.active {
  display: flex;
}

.root-paths {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  color: var(--texto);
  font-size: 0.9rem;
}

.root-paths a {
  box-shadow: var(--shadow);
  padding: 5px 10px;
  margin: 5px;
  border-radius: 8px;
  background-color: var(--interativo);
}

/* Conteúdo Principal */
main section {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  min-height: 50vh;
  padding: 10%;
  background: none;
  scroll-margin: var(--header-size);
}

main section p {
  text-align: center;
}

/* Espaçamento e bloco semântico para sections com cards */
article.section {
  display: block;
  margin: 1.5rem 0;
}

main p {
  text-align: justify;
}

section#Home {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

section#Home article.buttonCard {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

section#Home article.buttonCard a {
  margin: 25px;
  padding: 25px;
  border-radius: 8px;
  background-color: var(--destaque);
}

section#Home article.buttonCard a:hover {
  border: var(--borda_padrão);
  text-decoration: none;
  transform: translateY(-5px);
}

main .container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

article .destaque {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  background: var(--gradiente-reverso);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

/* Conteúdos extras */
aside {
  padding: 5%;
  background: none;
}

aside p {
  text-align: justify;
}

/* Rodapé */
footer {
  padding: 5%;
  background-color: var(--footer);
}

footer .container_footer {
  display: flex;
  flex: auto;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

footer .copyright {
  text-align: center;
  margin-top: 5%;
  padding-top: 5%;
  border-top: var(--borda_padrão);
}