body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/*.loader span {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #03a9f4;
  border-radius: 50%;
  margin: 0 10px;
  animation: 1s jump infinite;
}

.loader span:nth-child(1) {
  animation: 1s jump infinite ease-in-out;
}

.loader span:nth-child(2) {
  animation: 1s 0.333s jump infinite ease-in-out;
}

.loader span:nth-child(3) {
  animation: 1s 0.666s jump infinite ease-in-out;
}

@keyframes jump {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-20px) scale(1.2);
  }
  75% {
    transform: translateY(0) scale(1);
  }
}
*/

.box {
  background-color: tomato;
  height: 200px;
  width: 200px;
  animation: 1s move ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 2s;
}

@keyframes move {
  0% {
    transform: translateX(0);
    background-color: hotpink;
  }
  100% {
    transform: translateX(300px);
    background-color: olive;
  }
}
