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.5; /* Ajusta la opacidad */
  background-image: url('IMG/background.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1; /* Asegura que el fondo esté detrás de todo el contenido */
}

.animate__animated {
  padding: 1rem 1rem 0.3rem 1rem;
}

header ul {
  display: flex;
  align-items: left;
  z-index: 1;
  list-style-type: none;
}

header ul li {
  padding-left: 1rem;
}

header a {
  color: rgb(153, 153, 255);
  font-family: 'Kaushan Script';
  text-decoration: none;
}

header ul a:hover {
  transition: ease-in-out;
  transition: 0.5s;
  font-size: 1.4rem;
  color: rgb(255, 255, 255);
}

#chico {
  font-size: 1.2rem;
  align-self: center;
  text-align: left;
}

.nav1 li {
  z-index: 3;
  list-style-type: none;
  font-family: 'Kaushan Script', cursive;
  text-shadow: 2px 2px 4px rgb(45, 5, 50);
  text-align: center;
}

.nav1 ul a {
  z-index: 1;
  padding: 0.8rem 0rem;
  text-decoration: none;
  color: aliceblue;
  font-size: 1.4rem;
  display: inline-block;
  text-align: center;
}

.nav1 ul a:hover {
  transition: ease-in-out;
  min-width: 80%;
  transition: 0.5s;
  text-align: center;
  font-size: 1.8rem;
  background-color: rgba(51, 51, 51, 0.3); /* Usar rgba para opacidad */
  color: rgb(255, 255, 255);
  box-shadow: 0.3rem 0.3rem 1rem 0.3rem rgb(179, 179, 179);
}
/*
.nos ul{
  display: flex;

}
/* Estilo para el elemento de la lista
.menu-item {
  position: relative;
}

/* Estilo para el menú desplegable, inicialmente oculto
.dropdown-menu {
  display: none;
  position: absolute;
}

/* Estilo para mostrar el menú cuando se pasa el mouse sobre el elemento de la lista
.menu-item:hover .dropdown-menu {
  display: block;
}
*/
* {
    box-sizing: border-box;
}

/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}*/

hr{
  width: 50%;
  align-self: auto;
  box-shadow: 0 1px rgb(14, 14, 14, 0.2);
}
h4{
  font-size: 1.6rem;
  font-family: serif;
  color: #E3FAFB;
  text-shadow: 1px 1px 1px black;
  padding-left: 10px;
}


.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 300px; /* Ajusta la altura según sea necesario */
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0 40px; /* Añade espacio para los botones */
}

.carousel-slide {
  min-width: 200px; /* Ajusta el ancho de las imágenes */
  margin: 0 15px; /* Espacio entre las imágenes */
  box-sizing: border-box;
  padding-top: 10px;

}

.carousel-slide a{
  text-decoration: none;
  font-size: 1.2rem;
  color: white;
  font-family: 'Roboto'serif;
}

.carousel-slide img {

    width: 87%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 0 8px white;
    border-radius: 5%;
    text-align: center;
}

.carousel-slide img:hover{
    box-shadow: 0 0 20px white;
}

.carousel-slide a {
    display: block;
    text-align: center;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    z-index: 1;
    font-size: 24px; /* Aumenta el tamaño del texto */
    width: 40px; /* Ancho del botón */
    height: 100%; /* Altura del botón */
}

button.prev {
    left: 0;
}

button.next {
    right: 0;
}

p {
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  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 */
  font-family: "Roboto", sans-serif;
  text-shadow: 1px 1px 1px black;
}

h2{

  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px black;
}
h3{
  text-align: center;
  text-shadow: 1px 1px 2px white;
}

.Agradecimientos {
  /*border: ridge;*/
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.chivos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-height: 15vh;
  z-index: 2;
  position: relative;
  width: 98%;
}

.chivos img {
  width: 30%;
  height: 100%;
  object-fit: contain; /* Ajusta las imágenes al contenedor respetando la relación de aspecto */
  align-self: center;
  padding: 1px;
}

/* Consulta de medios para pantallas mayores de 850px */
@media (min-width: 850px) {
  .chivos img {
    width: auto; /* Permite que las imágenes mantengan su ancho original */
    max-width: 30%; /* Asegura que las imágenes no superen el 30% del ancho del contenedor */
    max-height: 15vh; /* Asegura que las imágenes no superen el 100% de la altura del contenedor */
  }
}



.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;
}
