#loading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100px;
  height: 4rem;
}

#loading > div {
  position: relative;
  width: 1rem;
  height: 2rem;
  border-radius: 15px;
  background-color: var(--primaryColor);
  animation: scaleY 2s infinite linear;
}

#loading > div:nth-child(2) {
  animation-delay: 0.3s;
}

#loading > div:nth-child(3) {
  animation-delay: 0.6s;
}

#loading > div:nth-child(4) {
  animation-delay: 0.9s;
}

#loading > div:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes scaleY {
  0% {
    transform: scaleY(100%);
  }
  20% {
    transform: scaleY(200%);
  }
  40% {
    transform: scaleY(100%);
  }
}
