/* font */
@font-face {
  font-family: "Shantell Sans";
  src: url("vendor/ShantellSans-VariableFont_BNCE,INFM,SPAC,wght.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
}

/* app */
body {
  background-color: #fff;
  color: #636b6f;
  font-family: "Nunito", sans-serif;
  font-weight: 200;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-top: env(safe-area-inset-top);
  /* Extra padding for Safari mobile address bar - safe-area alone isn't enough */
  padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
}

/* Reduce bottom padding on landscape/desktop where Safari bar isn't an issue */
@media (min-aspect-ratio: 1/1) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* app.debug */
#debug-el {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  min-height: 20px;
  font-size: 1em;
  overflow: auto;
  z-index: 100;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
.debug-log {
  margin: 0;
  padding: 1em;
}

/* app.canvas */
#canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 20px;
  z-index: 0;
  margin: 0;
  padding: 0;
}

/* version */
#version-el {
  position: fixed;
  bottom: 8px;
  left: 10px;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}
