.section-carrusel {
  width: 99vw;
  min-height: 100vh;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Estilos para tablet/escritorio (media query) */
@media (max-width: 1199px) {
  .carousel {
    width: 100vw;
    height: 85vh;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 1200px) {
  .carousel {
    width: 30vw;
    height: 85vh;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    -webkit-overflow-scrolling: touch;
  }
}

.carousel-slide {
  position: relative;
  flex: 0 0 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  scroll-snap-align: center;
  overflow: hidden;
}

.carousel-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 {
  position: relative;
  margin: 0;
  font-size: 1.8rem;
}

h5 {
  position: relative;
  margin: 2% 0 0 0;
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 0.3px;
}

.carousel-nav {
  display: none;
  /* displayed in the JS */
  position: absolute;
  width: 100%;
}

.carousel-nav button {
  cursor: pointer;
  border: none;
  font-size: 3rem;
  position: absolute;
  aspect-ratio: 1.5;
  width: 7vw;
  max-width: 75px;
  height: auto;
  max-height: 3.7vh;
  background-color: transparent;
  background-size: cover;
  overflow: visible;
  /* background-image: url("data:image/svg+xml,%3Csvg stroke='%23fff' fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 1 22 15'%3E%3Cpath d='M2,11 11,2 20,11'/%3E%3C/svg%3E"); */
}

.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-1000%); /* Se sube la mitad de SU propia altura */
  left: 20px;
}

.next {
  position: absolute;
  top: 50%;
  transform: translateY(-1000%); /* Se sube la mitad de SU propia altura */
  right: 20px;
}

.carousel-nav div {
  position: absolute;
  width: 100%;
  /* top: 36vh; */
  text-align: center;
  color: #fff;
  font-weight: 200;
  opacity: 0.5;
  letter-spacing: 0.25rem;
  font-size: clamp(22px, 3.9vw, 44px);
}

/* Simplify the scroll bar appearance */
::-webkit-scrollbar {
  height: 13px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-top: 6px solid #000;
  background: #555;
  width: 50%;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}