@keyframes dotColor {
  0%, 20% {
    background-color: #00ADEE; /* Initial color */
  }
  40%, 60% {
    background-color: #F8ec32; /* First color */
  }
  80%, 100% {
    background-color: #EB008B; /* Second color */
  }
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.loading-dots span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 5px;
  animation: dotColor 1s infinite linear;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.loading-dots span:nth-child(4) {
  animation-delay: 0.6s;
}