.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div, .terminal .terminal-output div div {
    background-color: var(--bgcolor);
}

.terminal .error {
    color: var(--errorcolor);
}

.terminal {
  padding: 0px;
}

.terminal .inverted, .cmd .inverted, .cmd .cursor.blink {
    background-color: var(--textcolor);
    color: var(--bgcolor);
}

@-webkit-keyframes terminal-blink {
  0%, 100% {
      background-color: var(--bgcolor);
      color: var(--fgcolor);
  }
  50% {
      background-color: var(--bgcolor);
      color: var(--fgcolor);
  }
}

@-ms-keyframes terminal-blink {
  0%, 100% {
      background-color: var(--bgcolor);
      color: var(--fgcolor);
  }
  50% {
      background-color: var(--fgcolor);
      color: var(--bgcolor);
  }
}

.terminal .terminal-output div div, .cmd .prompt {
    display: block;
    background-color: var(--bgcolor);
    height: auto;
    margin-bottom: 1ch;
}

.terminal, .cmd {
    font-family: FixedsysExcelsior301Regular, monospace;
    color: var(--textcolor);
    background-color: var(--bgcolor);
    font-size: medium;
    z-index: 2;
}

.terminal-output > div {
    background-color: var(--bgcolor);
}

.terminal td {
    border: 1px solid var(--bgcolor);
}

.terminal h1::-moz-selection,
.terminal h2::-moz-selection,
.terminal h3::-moz-selection,
.terminal h4::-moz-selection,
.terminal h5::-moz-selection,
.terminal h6::-moz-selection,
.terminal pre::-moz-selection,
.terminal td::-moz-selection,
.terminal .terminal-output div div::-moz-selection,
.terminal .terminal-output div span::-moz-selection,
.terminal .terminal-output div div a::-moz-selection,
.cmd div::-moz-selection,
.cmd > span::-moz-selection,
.cmd .prompt span::-moz-selection {
    background-color: var(--bgcolor);
    color: var(--textcolor);
}

.cmd .prompt span {
    background-color: var(--bgcolor);
    color: var(--textcolor);
}

.cmd {
  height: 1ch;
  display: none;
}

.terminal h1::selection,
.terminal h2::selection,
.terminal h3::selection,
.terminal h4::selection,
.terminal h5::selection,
.terminal h6::selection,
.terminal pre::selection,
.terminal td::selection,
.terminal .terminal-output div div::selection,
.terminal .terminal-output div div a::selection,
.terminal .terminal-output div span::selection,
.cmd div::selection,
.cmd > span::selection,
.cmd .prompt span::selection {
    background-color: var(--bgcolor);
    color: var(--textcolor);
}

.terminal .terminal-output div.error, .terminal .terminal-output div.error div {
    color: var(--errorcolor);
}

.terminal .terminal-output div div, .cmd .prompt {
  line-height: medium;
}

.terminal a {
    color: var(--fgcoloralt);
    text-decoration: none;
}

.terminal a:hover {
}