#main {
  height: 100vh !important;
  padding: 4% 1% 0 !important;
}

.containerScroll {
  max-width: 100%;
  margin: 0 auto;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 20px 5px;
  color: #3c376f;
  font-size: 2rem;
}

button span {
  position: relative;
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.previous:hover span {
  transform: translateX(-10px) scale(1.2);
}

.next:hover span {
  transform: translateX(10px) scale(1.2);
}

.slider-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.slider-nav li {
  display: flex;
  flex: 2;
  text-align: center;
}

/* Estilos generales */
.scroll {
  height: 90vh;
  width: 67%;
  overflow: auto;
  position: absolute;
  scrollbar-width: 12px;
}

.overflow-auto {
  height: 98%;
}

/* Estilos para el scrollbar */
.scroll::-webkit-scrollbar {
  width: 22px;
  background-color: #fe6c1e59;
}

.scroll::-webkit-scrollbar-thumb {
  background: #fe6e1e;
  border-radius: 5px;
}

/* Responsividad */

/* Pantallas medianas (tablets, etc.) */
@media (max-width: 1024px) {
  .scroll {
    width: 80%; /* Ocupa más ancho en pantallas más pequeñas */
    height: 70%;
  }

  .scroll::-webkit-scrollbar {
    width: 16px; /* Reduce el tamaño de la scrollbar */
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .scroll {
    width: 90%;
    height: 75%;
  }

  .overflow-auto {
    height: 95%;
  }

  .scroll::-webkit-scrollbar {
    width: 12px; /* Más delgado en dispositivos pequeños */
  }
}

.overflow-auto::-webkit-scrollbar {
	width: 22px;
  background-color: #fe6c1e59;
}

.overflow-auto::-webkit-scrollbar-thumb {
	background: #fe6e1e;
	border-radius: 5px;
}

.scrollBotones {
  height: 57vh;
  width: 110%;
  overflow: auto;
}

@media (min-width: 1400px){
  .scrollBotones {
    height: 59vh;
    width: 110%;
    overflow: auto;
  }
  
}

.scrollBotones::-webkit-scrollbar {
	width: 22px;
  background-color: #fe6c1e59;
}

.scrollBotones::-webkit-scrollbar-thumb {
	background: #fe6e1e;
	border-radius: 5px;
}

.drift-demo-trigger {
  margin: 0;
  object-fit: cover;
  width: 100%;
  padding: 0;
  display: none;
  box-shadow: 10px 10px 20px 0 rgba(94, 47, 59, 0.2);
}

img.active {
  display: block;
  animation: fadeImg 0.8s;
}

.slider-nav .arrow {
  margin-top: 10%;
  justify-content: space-evenly;
}

.slider-nav .arrow2 {
  margin-top: 3%;
  justify-content: space-evenly;
}

.slider-nav a {
  flex-basis: 100%;
  display: flex;
  align-items: center;
}

.slider-nav span {
  display: block;
  width: 100%;
}

@keyframes fadeImg {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

