body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #f2f2f2;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
  }
  
  body.light-mode {
    background-color: #f9f9f9;
    color: #111;
  }
  
  .container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
  }
  
  h1 {
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
  }
  
  body.light-mode h1 {
    color: #cc0029;
  }
  
  h2 {
    color: #ff0033;
    margin-top: 30px;
    font-size: 1.3rem;
  }
  
  body.light-mode h2 {
    color: #cc0029;
  }
  
  p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ccc;
  }
  
  body.light-mode p {
    color: #333;
  }
  
  a {
    color: #ff0033;
    text-decoration: none;
    font-weight: bold;
  }
  
  body.light-mode a {
    color: #cc0029;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .final {
    font-style: italic;
    margin-top: 40px;
    text-align: right;
  }

  /* ==========================
   Header
========================== */
header {
  background-color: #000;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

header h1 {
  color: white
}

body.light-mode header {
  background-color: #fff;
  color: #111;
}

#themeToggle {
  position: absolute;
  top: 15px;
  right: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
  border-radius: 6px;
  background-color: transparent;
  color: #ff0033;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

#themeToggle:focus {
  outline: none;
}

body.light-mode #themeToggle {
  color: #cc0029;
}

#themeToggle:hover {
  color: #99001f;
}

#themeToggle::after {
  content: attr(data-theme-icon);
  display: inline-block;
  transition: opacity 0.3s ease;
}

body.light-mode h1 {
  color: black;
}

/* ==========================
   Footer
========================== */
footer {
  text-align: center;
  padding: 30px 20px 20px;
  font-size: 0.9rem;
  background-color: #000;
  color: #777;
  margin-top: 40px;
}

body.light-mode footer {
  background-color: #fff;
  color: #555;
}

footer a.botao-voltar {
  display: inline-block;
  text-decoration: none;
  background-color: #ff0033;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

body.light-mode footer a.botao-voltar {
  background-color: #cc0029;
}

footer a.botao-voltar:hover {
  background-color: #cc0029;
}

body.light-mode footer a.botao-voltar:hover {
  background-color: #99001f;
}
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* ==========================
   Responsivo
========================== */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  #themeToggle {
    position: static;
    margin-top: 10px;
  }
}
  