@font-face {
  font-family: 'Patrick Hand';
  src: url(fonts/patrick-hand.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url(fonts/caveat.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #d9d2bf;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
canvas {
  display: block;
  touch-action: none;
  background: #f4efe1;
  box-shadow: 0 0 40px rgba(0, 0, 0, .18);
}
#sa {
  position: fixed;
  visibility: hidden;
  pointer-events: none;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
#rotate {
  display: none;
  position: fixed;
  inset: 0;
  background: #f4efe1;
  color: #1b2547;
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-size: 34px;
  text-align: center;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
#rotate small {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: #cf3a2c;
  margin-top: 8px;
}
@media (orientation: landscape) and (pointer: coarse) and (max-height: 600px) {
  #rotate { display: flex; }
}
