@font-face {
  font-family: 'DOSFont';
  src: url('fonts/DOS.ttf') format('truetype');
}

body {
  background-color: black;
  color: #bfbfbf;
  font-family: 'DOSFont', monospace;
  margin: 0;
  padding: 30px;
  font-size: 140%;
}

.menu-option {
  margin-bottom: 6px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal a {
  color: #bfbfbf;
  text-decoration: none;
  padding: 2px 4px;
  display: inline-block;
}

.terminal a:hover {
  background-color: #bfbfbf;
  color: black;
}

/* Only show < when hovering the link box */
.indicator {
  color: #bfbfbf;
  opacity: 0;
}

a:hover + .indicator {
  opacity: 1;
}

.indicator::before {
  content: "<";
}

/* Boot-up animation */
.terminal > * {
  opacity: 0;
  animation: appear 0.1s steps(1, end) forwards;
}

.terminal > *:nth-child(1) { animation-delay: 0s; }
.terminal > *:nth-child(2) { animation-delay: 0.1s; }
.terminal > *:nth-child(3) { animation-delay: 0.2s; }
.terminal > *:nth-child(4) { animation-delay: 0.3s; }
.terminal > *:nth-child(5) { animation-delay: 0.4s; }
.terminal > *:nth-child(6) { animation-delay: 0.5s; }
.terminal > *:nth-child(7) { animation-delay: 0.6s; }
.terminal > *:nth-child(8) { animation-delay: 0.7s; }

/* Appear keyframe */
@keyframes appear {
  to { opacity: 1; }
}

/* Blinking block cursor */
.cursor {
  display: inline-block;
  animation: cursor-blink 1s steps(2, start) infinite;
  color: #bfbfbf;
  margin-left: 2px;
}

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.prompt {
  margin-top: 20px;
  font-weight: bold;
}
