body {
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  width: 100%;
  background-color: #000;
}

.carousel {
  position: relative;
  perspective: 800px;
  margin: 150px auto;
  width: 300px;
  height: 200px;
  text-align: center;
  perspective-origin: 50% 10%;
}

.images {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 3s;
}

.images:hover {
  animation-play-state: paused;
}

.image {
  position: absolute;
  width: 90%;
  top: 5%;
  left: 5%;
  -webkit-box-reflect: below 10px -webkit-linear-gradient(transparent 10%, rgba(255, 255, 255, 0.3));
}

.image img {
  pointer-events: none;
  user-select: none;
  border-radius: 5px;
}

.image:nth-child(1) {
  transform: rotateY(0deg) translateZ(300px);
}

.image:nth-child(1):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image:nth-child(2) {
  transform: rotateY(60deg) translateZ(300px);
}

.image:nth-child(2):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image:nth-child(3) {
  transform: rotateY(120deg) translateZ(300px);
}

.image:nth-child(3):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image:nth-child(4) {
  transform: rotateY(180deg) translateZ(300px);
}

.image:nth-child(4):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image:nth-child(5) {
  transform: rotateY(240deg) translateZ(300px);
}

.image:nth-child(5):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image:nth-child(6) {
  transform: rotateY(300deg) translateZ(300px);
}

.image:nth-child(6):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image img {
  display: block;
  width: 100%;
  height: 100%;
}
