:root {
  --color: #242424;
  --transformation-lenght-left: -100px;
  --transformation-lenght-right: 100px;
  --animation-step: 0.15;
  --animation-label-duration: 2s;
  --animation-wave-duration: 15s;
  --animation-wave-offset-duration: 0.5s;
}

#global-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo-wrapper {
  width: 300px;
  position: relative;
}

.loader-logo-wrapper svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.loader-wave {
  opacity: 0;
  animation: fadeInWave
    calc(var(--animation-step) * var(--animation-wave-duration))
    ease-in-out forwards;
}

.loader-wave:nth-child(1) {
  animation-delay: calc(var(--animation-step) * 0s);
}
.loader-wave:nth-child(2) {
  animation-delay: calc(var(--animation-step) * 0.5s);
}
.loader-wave:nth-child(3) {
  animation-delay: calc(var(--animation-step) * 1s);
}
.loader-wave:nth-child(4) {
  animation-delay: calc(var(--animation-step) * 1.5s);
}
.loader-wave:nth-child(5) {
  animation-delay: calc(var(--animation-step) * 2s);
}

@keyframes fadeInWave {
  to {
    opacity: 1;
  }
}

.loader-text-group {
  opacity: 1;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
