html {
  font-size: 16px;
  font-family: sans-serif;
  line-height: 1.5;
}
body {
  font-size: 1rem;
  box-sizing: border-box;
  color: #000;
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  background-position: center center;
  background-repeat: no-repeat;
  touch-action: manipulation;
  background-size: cover;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
*::before,
*::after {
  text-indent: 0;
  white-space: pre;
}
img,
video {
  object-fit: cover;
  object-position: center center;
}
video {
  aspect-ratio: 16 / 9;
}
img.block {
  width: 100%;
  height: auto;
}
/* Suppress form submissions until everything has loaded. */
article,
aside,
footer,
header,
nav,
main,
section {
  display: block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
html {
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  height: 100%;
  min-height: 100vh;
}
body {
  margin: 0;
  min-height: 100vh;
}
b,
strong {
  font-weight: bold;
}
i,
em {
  font-style: italic;
}
address,
dfn {
  font-style: normal;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: inherit;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img,
iframe,
abbr[title] {
  border: 0;
}
iframe {
  display: block;
}
abbr {
  cursor: help;
}
fieldset,
legend,
figure {
  border: 0;
  margin: 0;
  padding: 0;
}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: inherit;
  margin: 0;
  /* 3 */
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}
button {
  -webkit-appearance: none;
  background: inherit;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: inherit;
  line-height: inherit;
  display: inline-block;
  color: inherit;
  background-color: transparent;
}
textarea {
  overflow-x: hidden;
  /* 1 */
  overflow-y: auto;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
/* Form Element Normalisation */
::placeholder {
  color: inherit;
  opacity: 0.5;
}
::-ms-expand {
  visibility: hidden;
  opacity: 0;
}
::selection {
  background-color: rgba(0, 0, 0, 0.7);
  background-color: var(--brand-color, rgba(127, 127, 127, 0.2));
  color: #fff;
  color: var(--brand-text);
}
[unselectable="on"] {
  user-select: none;
}
body {
  background-attachment: fixed;
}
#switchwidgets_debug_window {
  display: none;
}
:root {
  --scrollbar-width: 0px;
  --compensated-viewport-width: calc(100vw - var(--scrollbar-width));
  --compensated-half-viewport-width: calc((100vw - var(--scrollbar-width)) / 2);
  /* Can't remember what these were for */
  --page-gutter-breakout: clamp(calc((var(--compensated-viewport-width) + 50% + var(--scrollbar-width)) / -2), calc((var(--compensated-viewport-width) + 50% + var(--scrollbar-width)) / -2), 0);
  --page-gutter-padding: clamp(50vw / 12, calc(var(--compensated-half-viewport-width) - 85vw / 2), calc(var(--compensated-viewport-width) / 2 - 85vw / 2));
  --cw: clamp(0px, calc((var(--compensated-viewport-width) - 4.16666667vw - 4.16666667vw) / 12), calc((var(--compensated-viewport-width) - var(--page-gutter-padding) - var(--page-gutter-padding)) / 12));
  --cwtt: calc(var(--cw) / 1.5);
  --cwh: calc(var(--cw) / 2);
  --cwt: calc(var(--cw) / 3);
  --cwq: calc(var(--cw) / 4);
  --content-standoff-y: var(--cwtt);
  --content-standoff-x: var(--cw);
}
#grid-overlay {
  display: grid;
  max-width: var(--compensated-viewport-width);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(50vw / 12, var(--page-gutter-padding)) repeat(12, var(--cw)) minmax(50vw / 12, var(--page-gutter-padding));
  grid-template-rows: minmax(0px, min-content);
  grid-auto-rows: minmax(0px, min-content);
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 900000;
  grid-template-rows: 1fr;
}
#grid-overlay-container,
#grid-overlay-content {
  grid-column-start: 2;
  grid-column-end: -2;
  display: grid;
  place-content: center center;
  padding: 0;
}
#grid-overlay-content {
  padding: var(--content-standoff-y) var(--content-standoff-x);
}
#grid-overlay > * {
  box-shadow: 0 0 0 1px b5 inset, 0 0 0 1px w20;
}
#grid-overlay > *:first-child,
#grid-overlay > *:last-child {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAgMAAADwXCcuAAAACVBMVEUAAAD///8AAABzxoNxAAAAA3RSTlMAJhO9FgYkAAAAKklEQVQI1wXBQREAIAgAsOn54EkEohDFKEQwspuRSovFPni4rOBs0mj1ATv7Au/sa1JSAAAAAElFTkSuQmCC);
  background-size: 10px 10px;
  background-repeat: repeat;
}
body {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  min-height: 100%;
  height: 100%;
  place-content: center center;
}
header {
  display: grid;
  place-content: center center;
  background: #ff2211;
}
header svg {
  width: 25%;
  height: auto;
  margin: 0 auto;
  color: #fff;
}
main {
  display: flex;
  place-content: center center;
  align-items: center;
  overflow-y: scroll;
  max-height: 100%;
}
main > div {
  text-align: center;
  max-width: 800px;
  overflow: visible;
  padding: calc(1rem + 5vmin);
}
a.button {
  display: inline-flex;
  width: 100%;
  padding: 1.5rem 3rem;
  border-radius: 5px;
  background-color: #eee;
  background-image: linear-gradient(to bottom, #fff, transparent);
  border: 1px solid #ccc;
  text-decoration: none;
  font-size: 1.5rem;
  color: #000;
  align-items: center;
  justify-content: center;
}
