/* Variáveis CSS */
:root {
  --cor-principal: #5983b0;
  --cor-fundo-menu: #ffcc33;
  --cor-links: #5882fa;
  --cor-fundo-titulos: black;
  --sombra: 9px 7px 5px rgba(50, 50, 50, 0.77);
  --altura-menu: 50px;
}

/* Estilos globais */
html {
  color: black;
  background: white url("fundo.jpg") repeat fixed 50% 1%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.231;
  text-align: center;
  padding-top: var(--altura-menu);
}

/* Estilos de links */
a {
  color: var(--cor-links);
  text-decoration: none;
}

a:visited {
  color: rgb(255, 105, 223);
}

a:hover {
  color: black;
  text-decoration: underline;
}

a:active {
  color: rgb(255, 105, 138);
}

/* Animações */
.fade-in {
  animation: fadeIn ease 10s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Estilo do menu de navegação */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--altura-menu);
  background-color: var(--cor-fundo-menu);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-wrap: wrap;
}

.menu a {
  font-family: 'Chilanka', cursive;
  font-size: 14pt;
  color: var(--cor-principal);
  font-weight: bold;
  margin: 0 10px;
}

.menu a:hover {
  color: black;
}

/* Títulos */
.titulo-principal {
  font-family: 'Chilanka', cursive;
  font-size: 43pt;
  color: var(--cor-links);
  text-align: center;
  text-decoration: none;
  line-height: 100%;
}

.subtitulo-principal {
  font-family: 'Chilanka', cursive;
  font-size: 15pt;
  color: #ff69df;
  background-color: transparent;
  text-align: center;
  font-weight: bold;
}

.titulo-secao {
  font-family: 'Chilanka', cursive;
  font-size: 18pt;
  color: black;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.texto-artigo {
  font-family: 'Chilanka', cursive;
  font-size: 16pt;
  color: black;
  text-align: center;
  line-height: 2;
  margin: 0 10px;
}

/* Layout de blocos */
.bloco {
  margin-left: 1px;
  box-shadow: var(--sombra);
}

/* Estilo da imagem */
img {
  max-width: 100%;
  height: auto;
}

/* Media Queries para dispositivos móveis */
@media (max-width: 768px) {
  .titulo-principal {
    font-size: 2em;
  }
}

/* Estilo e animação do SVG */
svg path {
  stroke: #000;
  stroke-width: 16;
  fill: none;
  stroke-dasharray: 16000;
  stroke-dashoffset: 16000;
  animation: desenhar 5s linear forwards;
}

@keyframes desenhar {
  to {
    stroke-dashoffset: 0;
  }
}

/* Para animar cada path em sequência */
svg path:nth-child(1) {
  animation-delay: 1s;
}

svg path:nth-child(2) {
  animation-delay: 1.5s;
}

svg path:nth-child(3) {
  animation-delay: 2s;
}

svg path:nth-child(4) {
  animation-delay: 2.5s;
}

svg path:nth-child(5) {
  animation-delay: 2.5s;
}

/* Estilos de pre-carregamento */
#preloader {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}