.loader {
  height: 50px;
  animation: rotate 3s linear infinite;
  transform-origin: bottom center;
}
.circle {
  display: inline-block;
  margin: -10px;
  width: 40px;
  aspect-ratio: 1;
  background-color: chocolate;
  border-radius: 50%;
  transform: scale(0);
  animation: grow 1.5s linear infinite;
}
.circle:nth-child(2) {
  background-color: coral;
  animation-delay: 0.75s;
}

/* animation rotate */
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

/* animation grow */
@keyframes grow {
  50% {
    transform: scale(1);
  }
}
