.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .description {
  width: 1070px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide .description .title {
  font-size: 80px;
  margin-bottom: 20px;
}

.slide .description .subtitle {
  font-size: 36px;
}

.dots {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  z-index: 2;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  stroke: #b1b1b180;
}

.progress-ring-fill {
  stroke: #fff;
  stroke-linecap: round;
  stroke-dasharray: 50.24; /* 2πr = 2π8 = 50.24 */
  stroke-dashoffset: 50.24;
  transition: stroke-dashoffset 0.1s linear;
}

@media screen and (max-width: 768px) {
  .slide .description {
    width: 268px;
    position: absolute;
    bottom: 42px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .slide .description .title {
    font-size: 24px;
    margin-bottom: 6px;
    text-align: center;
  }

  .slide .description .subtitle {
    font-size: 10px;
    text-align: center;
  }

  .dots {
    left: 10px;
    gap: 8px;
  }

  .dot {
    width: 14px;
    height: 14px;
  }

  .slide img {
    object-position: center;
  }
}
