html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
:root,
input {
  --color-0: #36303d;
  --color-1: #1b1622;
  --color-2: #d1c9d9;
  --color-3: #41439e;
  --color-4: #000000;
  --color-5: #ffffff;
  font-family: system-ui, sans-serif;
}

canvas {
  background: var(--color-4);
  display: block;
  position: fixed;
  overflow: hidden;
  image-rendering: pixelated;
  cursor: none;
}

.tooltip,
.overlay input,
.boxed {
  display: block;
  background: var(--color-0);
  color: var(--color-2);
  border-radius: 10px;
  padding: 5px;
  z-index: 210;
  position: fixed;
  user-select: none;
  white-space: normal;
}

.overlay {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(142, 218, 238, 0.5),
    rgba(230, 234, 255, 0.6),
    rgba(240, 194, 122, 0.7)
  );
}
.overlay-inner {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(1000px, 100vw);
}

.overlay input,
.boxed {
  font-size: 24px;
  border: none;
  position: static;
  margin: 5px;
  padding: 12px;
  background: var(--color-3);
  border: solid var(--color-5) 3px;
  text-align: center;
  white-space: break-spaces;
  display: flex;
  justify-content: center;
}

.overlay .input-box {
  border-radius: 5px;
  background: var(--color-4);
}

.overlay > * {
  margin: 12px;
}
.logo {
  width: min(500px, 80vw);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .overlay-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: stretch;
  }
}
input[type="checkbox"] {
  height: 24px;
  width: 24px;
  margin-right: 30px;
}

.boxed a {
  color: inherit;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
