* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "Google Sans Code", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.stage {
  width: 100%;
  height: 100%;
  padding: 12px 16px;
}

.terminal-line {
  margin: 0;
  font-size: clamp(14px, 1.9vw, 20px);
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: inherit;
  text-decoration: none;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 0.08em;
  vertical-align: text-bottom;
  background: #000000;
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .stage {
    padding: 10px 12px;
  }

  .terminal-line {
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.45;
  }
}

.terminal-line:visited,
.terminal-line:hover,
.terminal-line:active {
  color: inherit;
  text-decoration: none;
}
