@font-face {
  font-family: "FiraCode";
  src: url("fonts/firacode.ttf") format("truetype");
}

/* Basic terminal look */
html, body {
  margin: 0;
  padding: 0;
  background: #000000;
  color: #98CA77;
  font-family: "FiraCode", monospace;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
  color: #D6F3C2;
  text-decoration: none;
}

#terminal-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1rem;
  box-sizing: border-box;
}

/* The output area grows to fill space; the prompt area stays at bottom */
#terminal-output {
  flex: 1;
  overflow-y: auto;
  white-space: pre-wrap; /* preserve line breaks for multi-line messages */
}

/* Each line in #terminal-output */
#terminal-output .output {
  margin: 0.25rem 0;
  line-height: 1.4;
}

#terminal-output .prompt {
  margin: 0.25rem 0;
  font-weight: bold;
}

/* The input prompt line stays pinned to bottom */
.prompt-line {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  background: #202020;
  padding: 0.5rem;
  border-radius: 10px;
}

.prompt {
  margin-right: 0.5rem;
}

/* The text input that captures commands */
#terminal-input {
  background: transparent;
  color: #98CA77;
  border: none;
  outline: none;
  font-family: "FiraCode", monospace;
  font-size: 1rem;
  width: 80%;
}
