body,
html {
  height: 100%;
  margin: 0;
  background-color: #1f001f;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Courier New", Courier, monospace;
}

#terminal {
  white-space: pre-wrap; /* Allows text to wrap */
  padding: 20px;
  font-size: 14px;
  line-height: 1.2;
  overflow-y: hidden;
  width: 640px;
  height: 480px;
  background-color: #1c1c1c;
  color: #c1f17a;
  border: 1px solid #c1f17a;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.input-line {
  display: flex;
  align-items: center;
  min-height: 20px;
}

.prompt {
  color: #c1f17a;
  padding-right: 5px;
}

#userInput {
  flex-grow: 1;
  outline: none;
  border: none;
  background-color: transparent;
  color: #c1f17a;
  font-size: 14px;
  font-family: "Courier New", Courier, monospace;
}

#terminalOutput {
  white-space: pre-wrap; /* Allows text to wrap */
  word-wrap: break-word; /* Ensures long strings without spaces will wrap */
  overflow-wrap: break-word; /* Alternative to word-wrap */
}
