  * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  height: 100vh;
  background-color: #1b1d20;
  display: grid;
  place-content: center;
}

.slider-container {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-wrapper {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  user-select: none;
  position: absolute;
  width: 80vw;
  max-width: 500px;
  height: 80vh;
  max-height: 90vh;
  display: grid;
  border-radius: 5px;
  overflow: hidden;
  background-color: #1b1d20;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill; 
  display: block;
  border-radius: inherit;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10000;
}

.next-btn,
.prev-btn {
  display: none;
  background-color: transparent;
  border: none;
  outline: none;
  position: absolute;
  top: 50%;
  z-index: 1000000;
  transform: translate(0, -50%);
   font-size: 1.5rem;
  cursor: pointer;
  & svg {
    width: 50px;
    height: auto;
    fill: white;
  }

  &:hover svg {
    fill: #4300ff;
  }
}

.next-btn {
  right: 20px;
}

.prev-btn {
  left: 20px;
}

.captions {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-family: sans-serif;
  font-weight: 800;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background-color: #1f2937;
}

.pagination {
  width: 100%;
  position: relative;
  z-index: 1000;
  transform: translateY(calc(-100% - 20px));
  display: flex;
  justify-content: center;
  gap: 5px;

  & .bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    border: 0.5px solid #4300ff;
    transition-duration: 0.2s;

    &.active {
      background-color: #4300ff;
    }
  }
}

@media (max-width: 600px) {
  .slide {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    left: 0;
    top: 0;
    transform: none;
  }
  .slide img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    border-radius: 0;
  }
  .captions {
    font-size: 16px;
    padding: 10px;
  }
  .next-btn,
  .prev-btn {
    & svg {
      width: 32px;
    }
  }
}
#close-slider {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000001;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tkslogo{
  position: fixed;
  top: 20px;
  left: 20px;
  width: 96px;
  height: 96px;
  z-index: 10000;
  border-radius: 12px;
  box-shadow: 0 2px 12px #7700ff;
  background: #7700ff;
  padding: 2px;
  opacity: 0;
  transform: scale(0.7);
}
.tkslogo:hover {
  transition: all 0.3s ease-in-out;
  opacity: 1;
  box-shadow: 0 4px 16px #8b25ff;
  object-fit: cover;
}