#slider {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  touch-action: pan-y;
}
#slider > .banner {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
}

#slider-dots {
  position: absolute;
  bottom: 16px;
  inset-inline: 40px;
  display: flex;
  gap: 8px;
  z-index: 20;

  @media (width < 769px) {
    bottom: 10px;
    gap: 6px;
    inset-inline: 12px;
    flex-wrap: wrap-reverse;
  }
}
.slider-dots:not([banner]) .slider-dot {
  @media (width < 600px) {
    width: 5px;
  }
}
.slider-dots:not([banner]) .slider-dot.active {
  @media (width < 600px) {
    width: 10px;
  }
}
.slider-dot {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;

  @media (width < 769px) {
    width: 20px;
  }
}

.slider-dot.active {
  background: white;
  width: 40px;
  border-radius: 4px;

  @media (width < 769px) {
    width: 30px;
  }
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}
