.scrolly.scrolly-vertical {
  overflow-y: auto !important;
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera (vertical mode) */
.scrolly.scrolly-vertical::-webkit-scrollbar {
  display: none !important;
}

.scrolly.scrolly-horizontal {
  overflow-x: auto !important;
  overflow-y: auto !important;
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

/* Hide native scrollbar in webkit when custom horizontal scrolly is active */
.scrolly.scrolly-horizontal::-webkit-scrollbar {
  display: none !important;
}

.scrolly-container {
  transform-origin: 50% 50%;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.scrolly-container.scrolly-visible {
  opacity: 1;
}

*:hover > .scrolly-container {
  opacity: 1;
}

.scrolly .scrolly-bar {
  transition: background-color 0.1s linear;
  cursor: -webkit-grab !important;
  cursor: grab !important;
  user-select: none;
  -webkit-user-select: none;
}

.scrolly .scrolly-bar:hover,
.scrolly .scrolly-bar:active,
.scrolly .scrolly-bar.scrolly-bar-dragging {
  background-color: var(--secondary-dark) !important;
}

.scrolly .scrolly-bar.scrolly-bar-dragging {
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}
