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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  cursor: default;
  font-family: 'Sometype Mono', monospace;
}

#screen {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

#title {
  position: fixed;
  color: transparent;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  white-space: pre;
}

#title::selection {
  background: rgba(100, 130, 255, 0.45);
  color: transparent;
}

#title::-moz-selection {
  background: rgba(100, 130, 255, 0.45);
  color: transparent;
}

html.light #title::selection {
  background: rgba(0, 0, 255, 0.45);
  color: transparent;
}

html.light #title::-moz-selection {
  background: rgba(0, 0, 255, 0.45);
  color: transparent;
}

#links {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#links a {
  position: absolute;
  display: block;
  box-sizing: content-box;
  padding: 8px 12px;
  margin: -8px -12px;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#theme-toggle {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#theme-toggle button {
  position: absolute;
  display: block;
  appearance: none;
  border: 0;
  box-sizing: content-box;
  margin: -8px -12px;
  padding: 8px 12px;
  background: transparent;
  color: transparent;
  font: inherit;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#nav {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#nav a {
  position: absolute;
  display: block;
  box-sizing: content-box;
  padding: 8px 12px;
  margin: -8px -12px;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
