:root {
  --border-color: #291d4d;
  --dialog-background: #fff3b4;

  --menu-background: #fdefe3;
  --menu-border-color: #a48465;
  --menu-font-color: #3a160d;
  --menu-selected-background: #7fc2ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #333;
  padding: 0;
  margin: 0;
  height: fit-content;
  overflow: hidden;
  font-family: "Press Start 2P", "Charm", "Ribeye", cursive;
}
.how-to-play {
  position: relative;
  width: 100%;
  top: 540px;
  left: 0;
  text-align: center;
  font-size: 12px;
  color: #fff;
}
.credits {
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  top: 600px;
  left: 0;
  text-align: center;
  font-size: 16px;
  color: #fff;
  border: 1px solid white;
  padding: 10px;
}
.credits p:first-of-type {
  margin-bottom: 50px;
}
.credits a {
  color: inherit;
}

.game-container {
  position: relative;
  background: url(../images/TPWG_background.png);
  /* hsl(198, 63%, 74%); */
  width: 352px;
  height: 198px;
  margin: 0 auto;
  outline: 1px solid #fff;

  transform: scale(3) translateY(50%);

  overflow: hidden;
}

.game-container canvas {
  image-rendering: pixelated;
  /* transform: translateX(-35%) translateY(0%); */
}

.ChopFruitRoom {
  position: absolute;
  top: 0;
}

.chop-canvas {
  width: 352px; /* 352 * 3 */
  height: 198px; /* 198 * 3 */
  image-rendering: pixelated; /* optional, for crisp pixels */
}
