.loader {
  width: 100%;
  height: 5.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  margin: 1rem 0;
}

.loader div {
  height: 100%;
  background: var(--color-black-translucent);
  animation: loader 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

.loader div:nth-child(1) {
  animation-delay: 0s;
}

.loader div:nth-child(2) {
  animation-delay: 0.5s;
  margin: 1rem;
}

.loader div:nth-child(3) {
  animation-delay: 1s;
}

@keyframes loader {
  0%,
  100% {
    width: 33%;
  }
  20%,
  80% {
    width: 66%;
  }
  50% {
    width: 16.5%;
  }
}
