body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}

.typing-container {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  font-size: 4rem;
  font-weight: bold;
}

.letter {
  opacity: 0;
  transform: translateX(100%);
  animation: type-in 1.5s ease forwards;
}

@keyframes type-in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

#tagline {
  opacity: 0;
}

.mode-hint {
  position: fixed;
  right: 20px;
  bottom: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  opacity: 0.75;
  cursor: pointer;
  text-align: right;
}

.mode-hint:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

html[data-theme="dark"] .mode-hint {
  color: #ffffff;
}

html[data-theme="light"] .mode-hint {
  color: #000000;
}

@media (max-width: 768px) {
  .typing-container {
    font-size: 3rem;
  }

  .mode-hint {
    right: 12px;
    bottom: 12px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .letter {
    opacity: 1;
    transform: none;
    animation: none;
  }

  #tagline {
    opacity: 1;
    transition: none;
  }
}
