@font-face {
  font-family: "VGA";
  src: url("vga.woff") format("woff");
  font-display: block;
}
:root {
  --bg: #000;
  --fg: #aaa;
  --dim: #555;
  --accent: #5ff;
}
html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
body {
  display: flex;
  flex-direction: column;
  font: 16px "VGA", ui-monospace, monospace;
}
#screen {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* The terminal's own size, set by terminal.js; it's centred in what's left. */
#screen .xterm {
  padding: 0;
}
#screen .xterm-viewport {
  overflow-y: hidden;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 2px 16px 4px;
  color: var(--dim);
  font-size: 16px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
}
footer span {
  overflow: hidden;
  text-overflow: ellipsis;
}
footer b {
  color: var(--fg);
  font-weight: normal;
}
footer a {
  color: var(--dim);
}
footer a:hover, footer a:focus {
  color: var(--accent);
}
