@font-face {
  font-family: 'IdealGarbanzo';
  src: url('assets/idealgarbanzo.ttf');
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  background-color: white;
  font: 20px IdealGarbanzo;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

canvas:not(.smooth), img:not(.smooth) {
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.hidden {
  display: none;
}

.centered {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.inverse {
  background-color: black;
  color: white;
}

.inverse a {
  color: red;
}

.inverse a:active {
  color: orange;
}

a {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

a:active {
  color: red;
}

#game-page {
  overflow: hidden;
}

#game-page .area {
  font-size: 0;
}

#game-page .overlay {
  font-size: 32px;
}

#game-page .overlay .small {
  font-size: 16px;
}

#game-page .overlay p {
  margin: 16px 0;
}

#game-page .overlay p > span {
  padding: 2px 6px;
}

#title-page {
  width: 90%;
  height: 90%;
  line-height: 12px;
}

#tutorial-page {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: auto;
  user-select: text;
}

#tutorial-page h1 {
  margin-top: 1.5em;
}

#tutorial-page h2 {
  margin-top: 1.5em;
}

#boxart img {
  max-width: 100%;
  max-height: calc(100% - 150px);
  min-height: 150px;
  top: 40%;
}

#assets {
  display: none;
}

.glitchButton {
  position: fixed !important;
  top: 0;
  right: 0;
}
