html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* permite scroll vertical pero oculta horizontal */
}


.carousel,
.carousel-item,
.background-img {
  height: 100vh;
  object-fit: cover;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.main-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


header h1 {
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}



.contenido-sobre-carrusel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  padding-top: 100px; /* espacio para no tapar el navbar */
  color: white;
  pointer-events: none; /* opcional: hace que no interfiera con el carrusel */
}

.contenido-sobre-carrusel * {
  pointer-events: auto; /* permite que los botones o enlaces dentro sí funcionen */
}

  #botones-para-compartir {
    text-align: center;
  }
  .likedini:hover,
  .facebooki:hover,
  .twitteri:hover {
    border-radius: 25px;
    transition: all .3s ease-out;
    box-shadow: 0px 0px 5px #000;
  }
  .likedini,
  .facebooki,
  .twitteri {
    transition: all .3s ease-out;
  }

  .navbar {
    z-index: 1050; /* igual o mayor que el modal de Bootstrap */
    position: relative;
  }
