body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #f0f0f0;
  transition: background-color 0.3s, color 0.3s;
}

.light-theme {
  background-color: #ffffff;
  color: #000000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
}

header h1 {
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

nav a:hover {
  text-decoration: underline;
}

.section {
  padding: 2rem;
}

.center {
  text-align: center;
}

.sobre-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sobre-container img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 3px solid #003366;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: #1e1e1e;
  color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  max-width: 300px;
  text-align: center;
}

.light-theme .card {
  background: white;
  color: #333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: auto;
}

.carousel-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 100%;
}

.carousel-item {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  width: 100%;
  text-align: center;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cert-caption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #bbb;
}

.light-theme .cert-caption {
  color: #555;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0 0.5rem;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.icons {
  text-align: center;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer {
  background-color: #003366;
  color: white;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

footer .social a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.5rem;
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #003366;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
}

#topBtn:hover {
  background-color: #555;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .sobre-container {
    flex-direction: column;
  }

  .carousel img {
    max-width: 100%;
  }
}
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.menu li {
  display: inline;
}

.btn-menu-download {
  list-style: none;
  
  gap: 20px;
  padding: 0;
}

.btn-menu-download:hover {
  background-color: #45a049;
}


footer a {
  color: #e7e5e5;
  text-decoration: none;
  font-weight: bold;
  margin-right: 8px;
}

footer a:hover {
  color: #1fe40d;
}

.icons{

display: flex;
justify-content: center;
gap: 30px;
font-size: 60px;
}
#d1{
  color: red;

}
#texto{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3% 20%;
  
}
#textoExtra {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 3% 20%;
}


#verMaisBtn {
  display: flex; /* estava "splay" por engano */
  justify-content: center;
  align-items: center;
  margin: 0% 20%;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  background: #414241;
  color: #ffffff;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}


h2{
  display: flex;
 justify-content: center;
 margin: 3%;
}
#eu{
  margin: 0% 0%;
}
