@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;700&display=swap');

/* Prevent horizontal scrolling */
html, body {
  margin: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  background: #0B061F;
  color: #e6e6e6;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
}

/* Terminal scrolls like a normal document */
#terminal {
  padding: 20px;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;    /* THIS is the only scroll container */
  overflow-x: hidden;
}

/* Output is NOT scrollable on its own */
#output {
  white-space: pre-wrap;
  word-break: break-word;
}

/* Each printed line */
.line {
  margin-bottom: 6px;
}

/* Prompt + input line flows with output */
.input-line {
  display: flex;
  gap: 8px;
}

/* Prompt */
.prompt {
  user-select: none;
  white-space: nowrap;
}

/* Input */
input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
}

/* Non-color formatting */
.bold {
  font-weight: bold;
}

.underline {
  text-decoration: underline;
}

.italic {
  font-style: italic;
}

/* Links inherit JS color */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

#website {
  height: 100vh;
  background: #0B061F;
  color: #e6e6e6;
  padding: 20px;
  box-sizing: border-box;
}

#backToTerminal {
  background: none;
  border: 1px solid #555;
  color: inherit;
  font: inherit;
  padding: 6px 10px;
  cursor: pointer;
  margin-bottom: 20px;
}

#backToTerminal:hover {
  background: rgba(255,255,255,0.05);
}

.site-content {
  max-width: 800px;
}
