@font-face {
  font-family: "pixboy";
  src: url("assets/pixboy.ttf");
}
body, html {
  overflow: hidden;
  user-zoom: unset;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background-color: #222;
  display: grid;
  place-items: center;
}

body::before {
  content: "";
  background-image: url("./assets/images/background.png");
  transform: scale(1.5);
  position: fixed;
  left: 0px;
  top: 0px;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  filter: blur(8px);
}

#defaultCanvas0 {
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  width: auto !important;
  height: 100% !important;
  position: fixed;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
}

* {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#editor {
  font-family: pixboy;
  color: white;
  background-color: #223;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 120px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow-y: auto;
  z-index: 99;
}
#editor::-webkit-scrollbar {
  visibility: hidden;
}
#editor .title {
  background-color: #334;
  width: 100%;
  display: block;
}
#editor .list {
  display: grid;
  grid-template: repeat(10, 1fr)/repeat(2, 1fr);
}
#editor .list .e-item {
  width: 90%;
  height: 48px;
  border: 1px solid #556;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 2px;
  background-color: #112;
  border-radius: 4px;
}
#editor .list .e-item + .selected {
  background-color: #223;
  border: 2px solid #556;
}
#editor .list .e-item:hover {
  background-color: #223;
}

.loading {
  font-family: pixboy;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 999;
  display: grid;
  place-items: center;
}
.loading .label {
  color: white;
  position: fixed;
  top: 100px;
}
.loading .loop {
  width: 100px;
  height: 100px;
  border: 10px solid white;
  border-radius: 50%;
  border-color: white transparent transparent transparent;
  -webkit-animation: loading 0.5s linear infinite;
          animation: loading 0.5s linear infinite;
  position: fixed;
}

@-webkit-keyframes loading {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.start-menu {
  font-family: pixboy;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: fixed;
  left: 0px;
  top: 0px;
  color: white;
  display: grid;
  place-items: center;
  font-size: 10em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  z-index: 10;
}
.start-menu .title {
  -webkit-animation: floating 1s alternate infinite;
          animation: floating 1s alternate infinite;
  color: #cee5d0;
}
.start-menu .btn {
  font-family: pixboy;
  width: 25%;
  height: 25%;
  font-size: 32px;
  background-color: #3fab9b;
  color: #cee5d0;
  border-radius: 8px;
  cursor: pointer;
  outline: 4px solid black;
  border: 2px solid #cee5d0;
  margin: 8px;
  transition: 0.5s linear;
  box-shadow: inset 0px -8px #cee5d0;
  transition: 0.2s;
}
.start-menu .btn:hover {
  box-shadow: inset 0px -2px #cee5d0;
}
.start-menu .btns {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
}

@-webkit-keyframes floating {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(0, 16px);
  }
}

@keyframes floating {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(0, 16px);
  }
}
.copyright {
  font-family: pixboy;
  position: fixed;
  left: 0px;
  bottom: 10px;
  font-size: 24px;
  color: white;
  z-index: 9999;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flip-phone {
  font-family: pixboy;
  display: none;
}

.msg, #dlog {
  font-family: pixboy;
  position: fixed;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  text-align: center;
  color: white;
  font-size: 32px;
  background-color: black;
  padding: 8px;
  -webkit-animation: msg 1s linear forwards;
          animation: msg 1s linear forwards;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  z-index: 999999;
}

@-webkit-keyframes msg {
  to {
    opacity: 0;
    top: 20%;
  }
}

@keyframes msg {
  to {
    opacity: 0;
    top: 20%;
  }
}
#dlog {
  -webkit-animation: none;
          animation: none;
  background-color: transparent;
}

#levelSelector {
  font-family: pixboy;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #F3f0d7;
  z-index: 999;
}
#levelSelector .panel {
  display: grid;
  grid-template: repeat(4, 1fr)/repeat(8, 1fr);
  width: 100%;
  height: 80%;
  margin: 0px;
  overflow-y: auto;
}
#levelSelector .title {
  background-color: #3fab9b;
  color: #cee5d0;
  text-align: center;
  padding: 8px;
  font-size: 2em;
}
#levelSelector .panel::-webkit-scrollbar {
  visibility: hidden;
}
#levelSelector .panel .lvl-btn {
  font-family: pixboy;
  background-color: #3fab9b;
  padding: 8px;
  font-size: 2em;
  color: #cee5d0;
  width: 64px;
  height: 64px;
  cursor: pointer;
  border: 2px solid #cee5d0;
  margin: 12px;
  outline: 4px solid black;
  border-radius: 8px;
  box-shadow: inset 0px -8px #cee5d0;
  transition: 0.2s;
}
#levelSelector .panel .lvl-btn:hover {
  box-shadow: inset 0px -2px #cee5d0;
}

.mute-btn {
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 9999;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}

#credits {
  font-family: pixboy;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 99;
  background-color: #000;
}
#credits .header {
  background-color: #3fab9b;
  color: #cee5d0;
  width: 100%;
  height: 10vh;
  text-align: center;
  font-size: 2em;
  line-height: 10vh;
}
#credits .header .close {
  font-family: pixboy;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: transparent;
  color: #cee5d0;
  padding: 8px;
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  margin: 8px;
  font-size: 1em;
}
#credits .list {
  transform: translate(-50%, 0);
  left: 50%;
  position: absolute;
  width: 60%;
  display: grid;
  grid-template: 1fr 1fr/1fr 1fr;
  font-size: 1.8em;
  overflow: auto;
  place-items: center;
}
#credits .list a {
  color: white;
  margin: 14px;
}
#credits .list span {
  color: white;
}

@media (orientation: portrait) {
  .flip-phone {
    position: fixed;
    left: 0px;
    top: 0px;
    background: black;
    width: 100%;
    height: 100%;
    z-index: 99990;
    color: white;
    display: grid;
    place-items: center;
    font-size: 2em;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
}
@media (max-height: 480px) {
  .start-menu .title {
    font-size: 0.5em;
  }
  .start-menu img {
    width: 30%;
    left: 35%;
  }
  .start-menu .start-btn {
    width: 250px;
    height: auto;
    padding: 8px;
  }
  .start-menu img {
    width: 10%;
    left: 45%;
    top: 45%;
  }
  .copyright {
    left: 0px;
    font-size: 1em;
    transform: translate(0, 0);
  }
  #credits .header .close {
    margin: 0px;
  }
  #credits .list {
    font-size: 1em;
  }
  #credits .list a {
    margin: 10px;
  }
}/*# sourceMappingURL=style.css.map */