body{
  text-align:center;
  font-family:Open Sans,sans-serif;
  background-color:#8a71c9;
  color:#ffffff;
  margin: 0px 0px 30px 0px;
}

h2{
   color:#2a0074;
   font-size: 40px;
 }

.titulo-verde{
   color:#04ff9f;
 }

.titulo-vermelho{
   color:#FF9E9E;
 }

.titulo-amarelo{
   color:#ffe36d;
 }

section{
     width: 60%;
     margin:0 auto;
 }

section section{
  width: 100%;
}

h1{
   font-size: 60px;
   font-weight: 300;
 }

h3{
   font-size:22px;
   font-style: italic;
 }

p{
   line-height: 1.5;
   font-size: 20px;
 }

img{
   width: 100%;
 }

ul{
   list-style-type: none;
   line-height: 2;
   padding-left: 0;
 }

a{
   text-decoration: none;
   color:  #99ffff;
   font-weight: 700;
 }

.principal{
   background: #ff6cb5;
   height: 40px;
 }

.principal a{
   color: #fff;
   text-decoration: underline;
   font-weight: normal;
   color: #ffffff;
   text-decoration: none;

   font-size: 18px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1.5px;

   transition: color 0.3s ease, transform 0.2s ease;
}

.principal a:hover {
  color: #2a0074;
  transform: translateY(-2px);
}

 .principal ul {
  margin: 0;
  padding: 0;
}

.principal li {
  display: inline-block;
  margin: 0 20px;
}

 .principal {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 108, 181, 0.95);
  backdrop-filter: blur(4px);

  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

 /* ===== MODO ESCURO ===== */

.dark-mode {
  background-color: #1e1e1e;
  color: #e0e0e0; /* texto padrão */
}

/* Título principal */
.dark-mode h1 {
  color: #bb86fc;
}

/* Subtítulos */
.dark-mode h2 {
  color: #9a67ea;
}

/* Títulos de seção (h3) */
.dark-mode h3 {
  color: #03dac6;
}

/* Parágrafos */
.dark-mode p {
  color: #d0d0d0;
}

/* Links */
.dark-mode a {
  color: #82b1ff;
}

/* Menu */
.dark-mode .principal {
  background-color: #2a2a2a;
}

/* Botões */
.dark-mode button {
  background-color: #03dac6;
  color: #000;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode .principal {
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.dark-mode .principal a {
  color: #bb86fc;
}

.dark-mode .principal a:hover {
  color: #03dac6;
}

#btn-tema {
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  background-color: #fcfcdf;
  color: #000;

  border: none;
  cursor: pointer;

  font-size: 24px;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#btn-tema:hover {
  transform: scale(1.1);
}

.dark-mode #btn-tema {
  background-color: #bb86fc;
  color: #000;
}

 .formulario {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 16px;
  max-width: 400px;
  margin: 40px auto;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.formulario h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #ffffff;
}

.formulario label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.formulario input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.formulario input:focus {
  box-shadow: 0 0 0 2px #bb86fc;
}

.formulario button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #03dac6, #bb86fc);
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.formulario button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

#mensagem-form {
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
}

.dark-mode .formulario {
  background: rgba(30, 30, 30, 0.85);
}

.dark-mode .formulario h4,
.dark-mode .formulario label {
  color: #e0e0e0;
}

.principal a.ativo {
  color: #03dac6;
  border-bottom: 3px solid #03dac6;
  padding-bottom: 5px;
}

html {
  scroll-behavior: smooth;
}

.timeline {
  width: 60%;
  margin: 80px auto;
  text-align: left;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 50px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #bb86fc;
}

.timeline-date {
  background: #03dac6;
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  z-index: 1;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.dark-mode .timeline-item::before {
  background: #03dac6;
}

.dark-mode .timeline-content {
  background: rgba(30, 30, 30, 0.9);
}

.dark-mode .timeline-date {
  background: #bb86fc;
  color: #000;
}

@media (max-width: 768px) {

  @media (max-width: 768px) {

  .timeline {
    width: 90%;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 30px;
  }

  .timeline-item::before {
    left: 10px;
  }

  .timeline-date {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .timeline-content {
    width: 100%;
  }

}
