.c-loader {
  --loader-color: #b5b5c7;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  > div {
    inline-size: 6px;
    block-size: 40px;
    border-radius: 3px;
    background-color: var(--loader-color);
    scale: 1 0.5;
    animation: loader-animation 1.2s ease-in-out infinite;

    &:nth-child(1) {
      animation-delay: 0s;
    }
    &:nth-child(2) {
      animation-delay: 0.1s;
    }
    &:nth-child(3) {
      animation-delay: 0.2s;
    }
    &:nth-child(4) {
      animation-delay: 0.3s;
    }
    &:nth-child(5) {
      animation-delay: 0.4s;
    }
  }
}

@keyframes loader-animation {
  0%,
  100% {
    scale: 1 0.5;
  }
  50% {
    scale: 1 1;
  }
}
