.animated-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text lines styling */
}
.animated-text-wrapper.not-centered {
  justify-content: flex-start;
}
.animated-text-wrapper h2 {
  font-size: 5rem;
  font-style: italic;
}
@media screen and (max-width: 1660px) {
  .animated-text-wrapper h2 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 1280px) {
  .animated-text-wrapper h2 {
    font-size: 3rem;
  }
}
@media screen and (max-width: 960px) {
  .animated-text-wrapper h2 {
    font-size: 2rem;
  }
}
.animated-text-wrapper .animated-text-comi {
  font-family: "N27", mono;
}
.animated-text-wrapper .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.animated-text-wrapper .animated-text-comi,
.animated-text-wrapper .word,
.animated-text-wrapper .words,
.animated-text-wrapper .char {
  display: inline-flex;
  line-height: 1;
  height: min-content;
  flex-wrap: wrap;
  justify-content: center;
}
.animated-text-wrapper .whitespace span {
  visibility: hidden;
}
.animated-text-wrapper [data-char] {
  width: 0.94ch;
  height: 0.9lh;
  overflow: hidden;
  position: relative;
  display: inline-block;
  line-height: 1.2;
  margin-left: -0.35ch;
}
.animated-text-wrapper [data-char] span {
  --delay: calc(
      (
      sin((var(--char-index) / var(--char-total)) * 90deg) *
          (var(--duration) * 1)
      )
  );
  position: absolute;
  width: 1ch;
  translate: -50% 0;
  word-break: break-word;
  white-space: break-spaces;
  bottom: 0%;
  left: 50%;
}
@keyframes animatedText {
  0% {
    translate: -50% 0;
  }
  100% {
    translate: -50% calc(100% - 1lh);
  }
}
.animated-text-wrapper .animated-text-comi .word [data-char]:not(.visible) span {
  animation: animatedText calc(var(--duration) * 1s) calc(0.1s + (var(--delay) * 1s)) steps(calc(var(--steps) + 1)) infinite;
}
.animated-text-wrapper .word {
  line-height: 1;
  white-space: nowrap;
  height: 100%;
}