@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
:root {
  --body-bg: #303070;
  --light-color: #ddd;
  --border-canvas: #26243a;
  --options: lightblue;
  --hover: #8282df;
  --active: #a7a7f7;
  --win-dialog-bg: rgba(0, 0, 0, 0.6);
  --blend-mode: unset;
  --lvlinfo-height: 120px;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 5px;
  background: var(--border-canvas);
}

::-webkit-scrollbar-thumb {
  background: var(--hover);
  border-radius: 30px;
}

body {
  margin: 0;
  -webkit-font-smoothing: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--body-bg);
  font-family: "Press Start 2P", cursive;
  color: var(--light-color);
  height: 100vh;
}

a {
  color: var(--light-color);
  text-decoration: none;
}

a:hover {
  color: var(--hover);
}

a:active {
  color: var(--active);
}

#loader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  width: 100vw;
  height: 100vh;
  background-color: var(--body-bg);
  position: absolute;
  padding: 50px;
  z-index: 9999;
}

#game {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50%;
  height: 100vh;
}

#game #title {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  font-size: 6rem;
  color: white;
  text-shadow: var(--border-canvas) 5px 5px 5px;
}

#game #title::after {
  content: "by JMF";
  font-size: 1.5rem;
}

#game #start-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 400px;
  margin-top: -20%;
  font-size: x-large;
}

#game #start-menu #start-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 300px;
}

#game #start-menu #start-options div {
  width: auto;
  padding-right: 10px;
}

#game #start-menu #game-paused {
  display: none;
  color: crimson;
}

#game #start-menu #resume-option {
  display: none;
}

#game #start-menu #options {
  display: none;
}

#game #start-menu #controls {
  display: none;
}

#game #start-menu #statistics {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 400px;
}

#game #start-menu #statistics :not(.back) div {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

#game #start-menu #statistics .scroll {
  overflow-y: auto;
}

#game #start-menu .option {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  width: 430px;
}

#game #start-menu .option.back {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#game #start-menu .option.disabled {
  cursor: default;
}

#game #start-menu .option:not(.disabled):hover {
  color: var(--hover);
}

#game #start-menu .option:not(.disabled):active {
  color: var(--active);
}

#game #start-menu .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  height: 40px;
}

#game #start-menu .menu .value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

#game #start-menu .menu .title {
  color: var(--options);
  text-decoration: underline;
}

#game #start-menu .menu .fixed {
  padding-right: 10px;
}

#game #game-container {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 70vw;
  max-width: 70vw;
  max-height: 90vh;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#game #game-container #level-info {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: var(--lvlinfo-height);
  top: 30;
  padding: 10px;
  font-size: 1.5rem;
}

#game #game-container #level-info #level {
  font-size: 2rem;
}

#game #game-container #level-info :nth-child(2n) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  width: 100%;
}

#game #game-container #level-info :nth-child(2n) div {
  width: auto;
}

#game #game-container #canvas-container {
  display: block;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  max-height: 65vh;
  overflow: hidden;
  position: absolute;
  background-color: lightseagreen;
  border-right: 4px solid var(--border-canvas);
  border-bottom: 4px solid var(--border-canvas);
  outline: 4px solid var(--light-color);
  margin-top: var(--lvlinfo-height);
}

#game #game-container #canvas-container #win-dialog {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: xxx-large;
  position: absolute;
  background-color: var(--win-dialog-bg);
  padding: 30px;
  top: 50%;
  color: white;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

#game #game-container #canvas-container canvas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: -o-pixelated;
  image-rendering: pixelated;
  background-color: #26243a;
  mix-blend-mode: var(--blend-mode);
}

footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  bottom: 20px;
  position: absolute;
  font-size: small;
  line-height: 20px;
}

footer div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

footer span {
  margin-top: -8px;
  padding: 0 5px;
  text-shadow: red 0px 0px 5px;
}

kbd {
  display: block;
  position: relative;
  cursor: pointer;
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 2px 0px 0px rgba(255, 255, 255, 0.7) inset;
          box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 2px 0px 0px rgba(255, 255, 255, 0.7) inset;
  color: #333;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  padding: 2px 4px;
  min-width: 30px;
  text-align: center;
  white-space: nowrap;
  margin: 2px 5px;
  top: -1px;
}

kbd:active {
  background-color: #dfdfdf;
  top: 0;
}
/*# sourceMappingURL=style.css.map */