.waitanimation-wrapper {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
}

.waitanimation-loader {
  display: flex;
  position: relative;
  width: 100px;
  height: 30px;
}

.waitanimation-wave {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  perspective: 100px;
}

.waitanimation-wave > div {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 100%;
}

.waitanimation-wave > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary, #3f72af);
  border-radius: 50%;
}

.waitanimation-top-wave > div::before {
  background-color: var(--color-icon, #002858);
}

.waitanimation-top-wave > div {
  animation: move 3s ease-in-out infinite reverse;
}

.waitanimation-top-wave > div::before {
  animation: grow 3s linear infinite reverse;
}

.waitanimation-bottom-wave > div {
  animation: move 3s ease-in-out infinite;
}

.waitanimation-bottom-wave > div::before {
  animation: grow 3s linear infinite;
}

.waitanimation-wave > div:nth-child(10) {
  animation-delay: 0s;
}

.waitanimation-wave > div:nth-child(9) {
  animation-delay: -0.1s;
}

.waitanimation-wave > div:nth-child(8) {
  animation-delay: -0.2s;
}

.waitanimation-wave > div:nth-child(7) {
  animation-delay: -0.3s;
}

.waitanimation-wave > div:nth-child(6) {
  animation-delay: -0.4s;
}

.waitanimation-wave > div:nth-child(5) {
  animation-delay: -0.5s;
}

.waitanimation-wave > div:nth-child(4) {
  animation-delay: -0.6s;
}

.waitanimation-wave > div:nth-child(3) {
  animation-delay: -0.7s;
}

.waitanimation-wave > div:nth-child(2) {
  animation-delay: -0.8s;
}

.waitanimation-wave > div:nth-child(1) {
  animation-delay: -0.9s;
}

.waitanimation-bottom-wave > div:nth-child(10) {
  animation-delay: 0.75s;
}

.waitanimation-bottom-wave > div:nth-child(9) {
  animation-delay: 0.65s;
}

.waitanimation-bottom-wave > div:nth-child(8) {
  animation-delay: 0.55s;
}

.waitanimation-bottom-wave > div:nth-child(7) {
  animation-delay: 0.45s;
}

.waitanimation-bottom-wave > div:nth-child(6) {
  animation-delay: 0.35s;
}

.waitanimation-bottom-wave > div:nth-child(5) {
  animation-delay: 0.25s;
}

.waitanimation-bottom-wave > div:nth-child(4) {
  animation-delay: 0.15s;
}

.waitanimation-bottom-wave > div:nth-child(3) {
  animation-delay: 0.05s;
}

.waitanimation-bottom-wave > div:nth-child(2) {
  animation-delay: -0.05s;
}

.waitanimation-bottom-wave > div:nth-child(1) {
  animation-delay: -0.15s;
}

@keyframes move {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(44px);
  }

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(44px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes grow {
  0%,
  50%,
  75%,
  100% {
    transform: scaleX(0.7) scaleY(0.7);
  }

  10%,
  60% {
    transform: scaleX(1) scaleY(1);
  }

  35%,
  85% {
    transform: scaleX(0.4) scaleY(0.4);
  }
}
