﻿.typewriter-effect {
  display: flex;
  font-family: Bebas Neue;
  font-size: 24pt;
  font-weight: normal;
 color: #2E7194;
}

.typewriter-effect > .text {
  max-width: 0;
  animation: typing 4s steps(var(--characters)) infinite;
  white-space: nowrap;
  overflow: hidden;
}

.typewriter-effect:after {
  content: " |";
  animation: blink 0.5s infinite;
  animation-timing-function: step-end;
}

@keyframes typing {
  75%,
  100% {
    max-width: calc(var(--characters) * 1ch);
  }
}

@keyframes blink {
  0%,
  75%,
  100% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
}
