header {
  width: 100%;
  display: flex; /* Flexbox para distribución horizontal */
  justify-content: space-between; /* Distribuir elementos a los extremos */
  align-items: center; /* Alinear elementos verticalmente */
  padding: 20px; /* Añadir espacio alrededor del contenido */
  .contenedor-imagenes {
    width: 100%;
    height: 200px; /* Ajustar la altura según deseado */
    overflow: hidden; /* Ocultar el contenido que exceda la altura */
  }
  
  .imagen-grande {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantener la proporción de la imagen, cubriendo el contenedor */
  }
  
  /* Menú de navegación */
  nav {
    display: flex; /* Flexbox para distribución horizontal */
  }
  
  nav ul {
    list-style: none; /* Eliminar viñetas */
    margin: 0; /* Eliminar margen predeterminado */
    padding: 0; /* Eliminar relleno predeterminado */
  }
  
  nav li {
    margin-right: 20px; /* Espacio entre elementos del menú */
  }
  
  nav a {
    text-decoration: none; /* Eliminar subrayado */
    color: #fff; /* Color del texto */
    font-weight: bold; /* Texto en negrita */
  }
  
  /* Imagen del título */
  #ImagenTitulo {
    width: 20%; /* Ajustar el ancho según deseado */
    height: auto; /* Mantener la proporción de la imagen */
    margin-left: 20px; /* Espacio a la izquierda de la imagen */
  }
  
  /* Media Queries para pantallas pequeñas (por ejemplo, teléfonos móviles) */
  @media (max-width: 768px) {
    #ImagenTitulo {
      display: none; /* Ocultar la imagen del título en pantallas pequeñas */
    }
  
    nav ul {
      flex-direction: column; /* Disponer los elementos del menú en vertical */
    }
  
    nav li {
      margin-bottom: 10px; /* Espacio entre elementos del menú */
    }
  }
}


.Titulo {
  position: absolute;
  top: -40px;
  left: 30px;
  padding-top: 45px;
  opacity: 0.9; /* Opacidad del 50% */
  z-index: 1; /* Asegura que la imagen se superponga */
}
 #imagent { 
    width: 3000px;
  }
  #hip{
    position: relative;
  }
#txt1{
  position: absolute;
  top: -130px;
  font-size: 35px;
  left: 150px;
} 
#txt2{
  position: absolute;
  top: -10px;
  font-size: 35px;
  left: 150px;
}
#txt3{
  position: absolute;
  top: -70px;
  font-size: 35px;
  left: 150px;
}
#txt4{
  position: absolute;
  top: -130px;
  font-size: 35px;
  left: 450px;
}
#txt5{
  position: absolute;
  top: -75px;
  font-size: 35px;
  left: 450px;
}
  
 /* Reset default margins and padding */
nav {
  margin: 0;
  padding: 0;
  position: relative; /* Make nav positionable */
}

/* Image container styles */
.contenedor-imagenes {
  display: flex;
  align-items: center;
}

/* Navigation menu styles */
nav {
  width: 800px; /* Adjust to match image width */
  opacity: 1; /* Example background color */
  color: #000000; /* Example text color */
  position: absolute; /* Make nav absolute */
  top: 50%; /* Position nav 50% from the top */
  left: 0; /* Position nav at the left edge */
  right: 20px;
  transform: translateY(-50%); /* Vertically center nav */
  z-index: 1; /* Place nav above the image */
  
}

.contenedor-imagenes {
  position: relative; /* Make container relative for absolute positioning */
}

.contenedor-imagenes img:first-child { /* Style the background image */
  width: 100%; /* Stretch to fit container width */
  height: auto; /* Maintain aspect ratio */
}

nav {
  position: absolute; /* Make navigation absolute for positioning */
  top: 150px; /* Adjust position from top */
  left: 300px; /* Adjust position from left */
  /* Additional styling for the navigation (colors, font, etc.) */}
header {
  
    color: #ECC37B; /* white text */
    padding: 20px;
    text-align: center;
  }
  
  
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
  }
  
  nav li {
    font-size: 30px;
    margin-right: 20Fpx;
  }
  
  nav a {
    color: #129edf;
    text-decoration: none;
    font-size: 30px;
  }
  
  nav a:hover {
    color: #0011fb;
  }
  