::selection {
  background-color: #00BFA6;
  color: #2E2E2E;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #F4F6FA;
  color: #2E2E2E;
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-family: 'Poppins', sans-serif;
  color: #6C63FF;
}

header nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 1rem;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #2E2E2E;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #6C63FF;
  border-bottom: 2px solid #6C63FF;
}

main {
  padding: 100px 20px 20px;
}

.topico {
  background: #FFFFFF;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  transition: transform 0.3s ease;
}

.topico:hover {
  transform: scale(1.01);
}

button {
  background-color: #6C63FF;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #5548D9;
  transform: translateY(-2px);
}

.texto-escondido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.3s ease;
}
.texto-escondido.mostrar {
  max-height: none;
  padding-top: 10px;
}


.imagem-centralizada {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.legenda {
  text-align: center;
  font-style: italic;
  margin-top: 10px;
}


.video-container {
  border: 4px solid #FFC75F;
  padding: 1rem;
  border-radius: 16px;
  background: #FFF5E0;
  text-align: center;
}

.video-container iframe {
  width: 100%;
  height: 315px;
  border-radius: 12px;
}

.card-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background-color: #00BFA6;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: rotate(1deg) scale(1.05);
}

.menu-hamburguer {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 40px;
  cursor: pointer;
  margin: 5px 10px;
}

.menu-hamburguer div {
  height: 3px;
  background-color: #6C63FF;
  border-radius: 2px;
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  .menu-hamburguer {
    display: flex;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    background-color: #f9f6f6;
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
  }

  #nav-links.aberto {
    display: flex;
  }

  #nav-links li {
    padding: 10px;
    border-top: 1px solid #6C63FF;
  }
}