.app-loading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 10em;
}

.app-loading-gap {
  position: relative;
  display: flex;
  gap: 6px;
  height: 72px;
}
.app-loading-gap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  right: -8px;
  height: 1px;
  background: rgba(128, 128, 128, 0.3);
}
.app-loading-gap span {
  position: relative;
  width: 8px;
}
.app-loading-gap span::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: var(--inset);
  bottom: 50%;
  border-radius: 2px;
  background: #3cb579;
  transform-origin: bottom;
  animation: app-loading-gap 1.5s ease-in-out infinite backwards;
  animation-delay: calc(var(--n) * 0.11s);
}
.app-loading-gap span:nth-child(3n + 2)::before {
  top: 50%;
  bottom: var(--inset);
  opacity: 0.55;
  transform-origin: top;
}
.app-loading-gap span:nth-child(1) {
  --inset: 18%;
  --n: 0;
}
.app-loading-gap span:nth-child(2) {
  --inset: 5%;
  --n: 1;
}
.app-loading-gap span:nth-child(3) {
  --inset: 26%;
  --n: 2;
}
.app-loading-gap span:nth-child(4) {
  --inset: 10%;
  --n: 3;
}
.app-loading-gap span:nth-child(5) {
  --inset: 30%;
  --n: 4;
}
.app-loading-gap span:nth-child(6) {
  --inset: 14%;
  --n: 5;
}
.app-loading-gap span:nth-child(7) {
  --inset: 22%;
  --n: 6;
}
.app-loading-gap span:nth-child(8) {
  --inset: 8%;
  --n: 7;
}

@keyframes app-loading-gap {
  0%,
  100% {
    transform: scaleY(0.15);
  }
  45% {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-loading-gap span::before {
    animation: none;
  }
}
