/* SLIDER */

.slider {
  width: 100%;
  position: relative;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}
.slide img {
  width: 100%;
}
.slider__controls {
  display: flex;
  position: absolute;
  top: 50%;
  width: 100%;
  left: 2vw;
  justify-content: space-between;
}

.slider__controls button {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: 0.4s;
}
.slider__controls button:hover {
  background: #ffffff4d;
}
.slider__controls svg {
  width: 25px;
  fill: #fff;
  height: auto;
}
.slider__button--prev {
  position: absolute;
  left: 20px;
}
.slider__button--next {
  position: absolute;
  right: 20px;
}
.slider__button {
  cursor: pointer;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;

  background: #ccc;
}

.slider__dot.is-active {
  background: var(--theme-palette-color-1);
}
.slider__dot:focus-visible {
  outline: 3px solid var(--theme-palette-color-1);
  outline-offset: 3px;
}

.slider__viewport {
  overflow: hidden;
  cursor: grab;
}

.slider__viewport.is-dragging {
  cursor: grabbing;
}

.slider__track {
  display: flex;
  will-change: transform;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}
.slider__viewport img {
  user-select: none;
  -webkit-user-select: none;
}
