* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #081014;
}
.carousel {
  width: 100%;
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 2em;
}

.indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
  color: rgba(255, 255, 255, 0.5);
  font-size: 3em;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
  padding: 0 0.5em;
  line-height: 2em;
  border-radius: 5px;
}
.indicator:hover {
  background: #000;
  color: #fff;
}
.indicator.prev {
  left: 5%;
}
.indicator.next {
  right: 5%;
}

.carousel-list {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1000px;
}
.carousel-item {
  width: 400px;
  height: 100%;
  position: absolute;
  user-select: none;
  transition: 0.4s;
  left: 50%;
  top: 0;
  margin-left: -200px;
}
