.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #0d6efd;
  width: 0;
  animation: typing 2s steps(11, end) forwards;
  animation-delay: 0.1s;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

@keyframes typing {
  from { width: 0 }
  to   { width: 13ch }
}

.typewriter::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: #0d6efd;
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}

.typewriter.done::after {
  display: none;
}
