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

:root {
  --value: -200deg;
}

html, body {
  overflow: hidden;

}

body {
  background-color: rgb(0, 0, 0);
  min-height: 100vh;
}


.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  outline: solid;
  overflow: hidden;
}

.elem {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: rotate(var(--value));
  opacity: 1;
  clip-path: circle(1% at 50% 50%);
  filter: blur(3px);
  transition:  clip-path 1s, opacity 0.1s linear 1s, transform 0.5s linear, filter 1s;
}




.elem.active {
  z-index: 1;
  transform:  rotate(0);
  opacity: 1;
  clip-path: circle(100% at 50% 50%);
  filter: blur(0);
  transition:  clip-path 2s;
  opacity: 1;
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.yellow {
  background-color: yellow;
}
.green {
  background-color: green;
}

.dark {
  background-color: black;
}

.light {
  background-color: whitesmoke;
}

.blue {
  background-color: blue;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 70%;
  left: 10%;
  z-index: 100;
  cursor: pointer;
}

.next-btn {
  transform: translateX(120%);
}

.circle {
  position: absolute;
  top: 50%;
  left: 45%;
  z-index: 200;
  width: 100px;
  height: 100px;
  background-color: rgba(151, 249, 146, 0.786);
  border-radius: 50%;
  mix-blend-mode: difference;
  cursor: grab;
  animation: circle infinite 2s linear alternate;
}

.circle:active {
  animation-play-state: paused;
}

.circle:active {
  cursor: grabbing;
}

.grabbing {
  cursor: grabbing;
}

@keyframes circle {
  0% {
    background-color: rgba(151, 249, 146, 0.786);
  }
  100% {
    background-color: rgba(21, 81, 18, 0.786);

  }
}