:root {
  --fore: #111;
  --back: #f8f8f8;
}

body {
  font-family: "Fantasque Sans Mono", "Noto Sans", "Segoe UI", monospace;
  color: var(--fore);
  background-color: var(--back);
  margin: 1em auto;
  width: 29.7cm;
  max-width: 100%;
  overflow-x: hidden;
}
a:any-link {
  color: #5555ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

pre {
  font-family: inherit;
}

button {
  display: inline-block;
  margin: 4px 8px;
  padding: 4px 8px;
  border: 1px solid var(--fore);
  border-radius: 0;
  min-width: 6em;
  background-color: unset;
  font: inherit;
  color: inherit;
  display: inline-block;
  cursor: pointer;
}
button.strong {
  font-weight: 600;
  width: 20em;
}

button:hover {
  text-decoration: underline;
}

main {
  margin: 0 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

iframe {
  flex-grow: 1;
  display: block;
  border: none;
  width: 512px;
  max-width: calc(100% - 2px);
  height: 854px;
  max-height: 166.8vw;
  margin: auto;
}

aside {
  flex-grow: 0;
  float: inline-end;
  margin: 1em 2em;
  max-width: 22em;
  background-color: var(--back);
}

#overlay {
  /* position: absolute; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#food {
  position: absolute;
  /* transform: translate(-50%, -50%); */
  font-size: 48px;
  display: block;
  cursor: default;
  user-select: none;
  opacity: 1;
  transition: transform 0.2s 0s ease-out, opacity 0.3s 0s ease-out;
}
#food.disappeared {
  transform: scale(0) rotate(1turn);
  opacity: 0;
}
footer {
  font-size: small;
  margin: 6em auto;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fore: #ddd;
    --back: #222;
  }
}
