* {
  margin: 0;
  padding: 0;
}
body {
  background: rgb(2, 0, 36);
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(121, 112, 9, 1) 41%,
    rgba(0, 212, 255, 1) 100%
  );
}
div {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul {
  list-style-type: none;
  display: flex;
  border-bottom: 20px solid rgb(31, 12, 12);
}

li {
  width: 50px;
  height: 50px;
  margin-left: 10px;
  background-color: red;
  border-radius: 50%;
  box-shadow: 0px 0px 50px yellow;
  animation-name: move;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes move {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-150px);
  }
  100% {
    transform: translate(0px);
  }
}
li:nth-child(1) {
  background-color: navajowhite;
  animation-delay: 0.2s;
}
li:nth-child(2) {
  background-color: turquoise;
  animation-delay: 0.6s;
}
li:nth-child(3) {
  background-color: orange;
  animation-delay: 1.2s;
}
li:nth-child(4) {
  background-color: indigo;
  animation-delay: 1.6s;
}
li:nth-child(5) {
  background-color: darkblue;
  animation-delay: 2s;
}
