/**
 * AnimateBox.dev — Curved Slider
 * https://animatebox.dev
 */

.ab-curved-slider {
  --ab-cs-bg: #0b0b0c;
  --ab-cs-font: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;

  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  background: var(--ab-cs-bg);
  font-family: var(--ab-cs-font);
}

.ab-curved-slider:active {
  cursor: grabbing;
}

.ab-curved-slider__clip {
  position: absolute;
  inset: 0;
  will-change: clip-path;
}

.ab-curved-slider__frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

.ab-curved-slider__media {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 175%;
  max-width: none;
  will-change: transform;
}

.ab-curved-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.ab-curved-slider__source {
  display: none;
}
