img {
  overflow: hidden;
  object-fit: contain;
  max-height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
}
nav {
  text-align: center;
}
.nav-link {
  filter: invert();
  margin-bottom: 5px;
  margin-left: 5px;
  transition: transform 0.1s ease-in-out;
}
.nav-link:hover {
  transform: scale(1.5);
}
h2 {
  color: #e1e2e1;
}
section {
  text-align: center;
  justify-content: center;
  align-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100vh;
  color: #e1e2e1;
  /* padding: 20px; */
}
body {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #030303;
}
.hmp-banner {
  text-align: center;
}
/* Contenedor de la cuadrícula */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px; /* Espacio entre los elementos */
  padding: 10px;
  /* max-width: 1200px; */
  width: 100%;
  box-sizing: border-box;
}
/* Contenedor de cada imagen */
.image-container {
  width: 100%;
  padding-top: 100%; /* Proporción cuadrada 1:1 */
  position: relative;
  overflow: hidden;
  border: 2px solid #ddd;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Estilo de las imágenes */
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el contenedor */
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Fondo negro con transparencia */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(10px); /* Fondo difuminado */
}
.image-container:hover .overlay {
  opacity: 1;
}
.text {
  color: white;
  font-size: 20px;
  text-align: center;
}
.spotify {
  padding-bottom: 1rem;
}
.spotify-embed {
  width: 100%;
  height: 100vh; /* Altura para la vista de playlist */
  border: none; /* Reemplaza el atributo obsoleto frameBorder="0" */
  border-radius: 12px; /* Estilo movido desde el HTML */
  min-height: 380px; /* Altura mínima para asegurar visibilidad */
  max-height: 620px; /* Altura máxima para pantallas muy grandes */
}
#carouselExample {
  max-width: 100%; /* o cualquier tamaño relativo o fijo, como 600px */
  margin: 0 auto;
}
#carouselExample .carousel-item img {
  height: auto;
  max-height: 625px; /* ajusta la altura como desees */
  object-fit: contain;
}
.youtube-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  border: none; /* Reemplaza el atributo obsoleto frameborder="0" */
  border-radius: 8px;
}
/* Aplicar animación a los iconos */
.icono {
  display: inline-block;
  animation: bounceIn 1s normal;
  animation-delay: 0s;
}
.icono-footer {
  display: inline-block;
  animation: bounceIn 1s normal;
  animation-delay: 0s;
  filter: invert(1);
  transition: transform 0.1s ease-in-out;
}
.icono-footer:hover {
  transform: scale(1.5);
}
/* Animación */
@keyframes bounceIn {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  60% {
    transform: translateY(5px);
    opacity: 1;
  }
  80% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 624px) {
  .img-mobile-height {
    height: 37vh; /* Ajusta esta altura según sea necesario */
    object-fit: contain; /* Para evitar la distorsión de la imagen */
  }
}
