body {
  margin: 0;
  padding: 0;
  background-color: black;
  overflow-x: hidden; /* Evita desplazamiento horizontal */
}

.background-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Asegura que el contenedor ocupe al menos la altura de la ventana */
  overflow: hidden;
  z-index: 0;
}

.background-container::before {
  content: '';
  display: block;
  position: fixed; /* Fija la imagen al fondo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3; /* Ajusta la opacidad */
  background-image: url('../IMG/background.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.animate__animated {
  padding: 1rem;
}

a:hover {
  color: #9299EE;
  font-size: 1.7rem;
}

h1 {
  color: #FFFFFF;
  margin: 0.6rem;
}

p, h2 {
  font-family: sans-serif;
  font-size: 1rem;
  padding: 1rem;
  color: #FFFFFF;
  position: relative; /* Asegúrate de que el texto y los enlaces estén posicionados relativamente */
  z-index: 1; /* Texto y enlaces con z-index alto */
}

a {
  margin-bottom: 1rem;
  padding: 1rem;
  align-items: center;
  position: relative; /* Asegúrate de que los enlaces estén posicionados relativamente */
  z-index: 2; /* Enlaces con z-index más alto */
  color: #303571;
}

.inicio{
  font-family: Merienda;
  font-weight: bold;
  padding: 1rem;
  font-size: 1.6rem;
  text-decoration: none;

}


.footer {
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2; /* Asegura que el footer tenga un z-index mayor que el fondo */
  position: relative; /* Asegura que el footer se posicione correctamente */
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  height: 15vh; /* Ajusta la altura según necesites */
  width: 100%;
}

footer img {

/*  height: 100%; /* Ajusta la altura de la imagen para que se ajuste al contenedor */
  width: 90%;
  max-height: 90%;
  object-fit: cover;
}
