/* General reset for consistent styling across browsers */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header styles */
header {
  background: #1b1b1b;
  color: white;
  padding: 1rem 2rem;
}

header nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #00bcd4;
}

/*menu hamburguesa*/
#hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  cursor: pointer;
}

#hamburger div {
  width: 20px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.nav-links {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin-bottom: 10px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

.nav-links a:hover {
  color: #666;
}

.nav-links.active {
  display: block;
}

#hamburger.active div {
  background-color: #666;
}

/* Main section styles */
main {
  padding: 2rem;
  text-align: center;
}

main h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

main p {
  font-size: 1.2rem;
  color: #555;
}

/* Footer styles */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

footer nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
  margin-top: 1rem;
}

footer nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: color 0.3s;
}

footer nav ul li a:hover {
  color: #00bcd4;
  
}

.enproceso h1{
  color: rgb(30, 78, 210); /* Color dorado */
  font-weight: 700; /* Fuente negrita */
  max-width: 300px; /* Ancho máximo por defecto */
  font-size: 24px; /* Tamaño base de fuente */
  margin: 0 auto; /* Centra horizontalmente si es un bloque */
  text-align: center; /* Centra el texto */
}

.imagen-sitio img {
  width: 100%; /* Ocupa el 100% del contenedor */
  max-width: 400px; /* Máximo ancho de la imagen */
  height: auto; /* Mantiene la proporción */
  border-radius: 10px; /* Esquinas redondeadas */
  /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); Sombra ligera */
}

/* Ajustes para pantallas pequeñas (teléfonos móviles) */
@media (max-width: 480px) {
  .enproceso h1 {
    max-width: 200px; /* Reduce aún más el ancho */
    font-size: 18px; /* Reduce el tamaño del texto */
    font-weight: 600; /* Hace la fuente un poco menos gruesa */
  }
}

/* Responsive design */
@media (max-width: 768px) {
  header nav ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
  }

  footer nav ul {
      flex-direction: column;
      gap: 0.8rem;
  }

  main h1 {
      font-size: 2rem;
  }

  main p {
      font-size: 1rem;
  }

  .enproceso h1 {
    max-width: 250px; /* Reduce el ancho máximo */
    font-size: 20px; /* Reduce el tamaño del texto */
  }
}