:root {
  --color-principal: #1E3A8A;
  --color-secundario: #FBBF24;
  --color-beige: #FDF6EC;
  --color-gris-hielo: #E5E7EB;
  --fuente: 'Courier New', Courier, monospace;
  --tamaño-fuente: 34px;
}

body {
  background: var(--color-beige);
  /* font-family: var(--fuente); */
  margin: 0;
  padding: 0;
}

/* 🧭 Navegación */
nav {
  background: #4B5563;
  border: 0.3px solid black;
  padding: 0.5rem 1rem;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: azure;
  text-decoration: none;
  font-weight: bold;
}

/* 🧠 Título */
h1 {
  padding-top: 2rem;
  color: var(--color-principal);
  text-align: center;
  font-size: var(--tamaño-fuente);
}

/* 🎠 Carrusel */
.carousel {
  padding-top: 2rem;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* 🦶 Pie de página */
footer {
  background: var(--color-gris-hielo);
  color: var(--color-principal);
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
}

.link_green {
  color: #34D399;
  font-weight: bold;
}

/* 📱 Media queries */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
    padding-top: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .carousel {
    width: 100%;
    padding: 1rem;
  }

  footer {
    font-size: 0.9rem;
  }
}