* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background-color-dark: #000;
  --background-color-light: #fff;
  --prompt-color-dark: #aaa;
  --prompt-color-light: #000;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: var(--background-color-dark);
  color: #00FF00;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  overflow: hidden;
}

body.light-mode {
  background-color: var(--background-color-light);
  color: var(--prompt-color-light);
}

body.light-mode .prompt {
  color: var(--prompt-color-light);
}

body.light-mode .cursor {
  background-color: var(--prompt-color-light);
}

.welcome {
  position: relative;
}

#output {
  flex-grow: 1;
  overflow-y: auto;
  white-space: pre-wrap;
  padding: 10px;
  font-size: 16px;
}

.command-line {
  display: flex;
  padding-top: 10px;
}

.prompt {
  color: var(--prompt-color-dark);
  padding-right: 5px;
  line-height: 1.35;
}

.cursor {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 16px;
  background-color: #00FF00;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% {
      background-color: transparent;
  }
}

.input-container {
  display: inline;
  flex: 1;
}

#input {
  border: none;
  width: 100%;
  color: inherit;
  background: transparent;
  position: relative;
  caret-color: transparent;
  outline: none;
}
