:root {
  --bg-color: #fafafa;
  --text-color: #000;
  --cursor-color: #000;
}

body.dark-mode {
  --bg-color: #595959;
  --text-color: #fff;
  --cursor-color: #fff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 20vh;
  margin: 5vh;
}

.container {
  text-align: left;
  max-width: 600px;
  /* narrower on large screens */
  width: 90%;
  /* responsive scaling on smaller screens */
}

.text {
  font-size: 1.3em;
  line-height: 1.4;
  white-space: pre-wrap;
  position: relative;
}

/* Responsive adjustments for smaller devices */
@media (max-width: 480px) {
  .typed-text {
    font-size: 1rem;
  }

  .text {
    font-size: 1rem;
  }
}