@font-face {
  font-family: PixelMplus10 Regular;
  src: url("https://cdn.leafscape.be/PixelMplus/PixelMplus10-Regular_web.woff2") format("woff2");
}
@font-face {
  font-family: PixelMplus10 Bold;
  src: url("https://cdn.leafscape.be/PixelMplus/PixelMplus10-Regular_web.woff2") format("woff2");
}
/* rest */
:where(html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video) {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

:where(article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

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

:where(button) {
  border: none;
  background: none;
}

:where(ul, ol, summary) {
  list-style: none;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

:where(:-webkit-any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(:-moz-any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(:any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
  width: 100%;
  height: auto;
}

:where(input, select, button, textarea) {
  color: #333;
  font-family: inherit;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

:where(button, [type=button], [type=reset], [type=submit]) {
  touch-action: manipulation;
}

:where(label) {
  display: inline-flex;
  align-items: center;
}

:where(input:-webkit-autofill, textarea:-webkit-autofill) {
  box-shadow: 0 0 0 1000px #fff inset;
}

:where(select)::-ms-expand {
  display: none;
}

:where(input)::-webkit-input-placeholder {
  color: #b6bcc4;
}

:where(input)::-moz-placeholder {
  color: #b6bcc4;
}

:where(input):-ms-input-placeholder {
  color: #b6bcc4;
}

:where(input)::placeholder {
  color: #b6bcc4;
}

:where(input) ::-ms-input-placeholder {
  color: #b6bcc4;
}

:where(input) :-ms-input-placeholder {
  color: #b6bcc4;
}

:where(input)[type=radio],
:where(input)[type=checkbox] {
  opacity: 0;
  overflow: hidden;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

body {
  background: #282828;
  box-sizing: border-box;
  font-family: PixelMplus10 Regular;
}
@media (min-width: 768px) {
  body {
    background: url(/img/bg.png) repeat top center/auto;
    background-color: #282828;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100dvh;
  }
}

#main {
  width: 100%;
  height: 145.3333333333vw;
  overflow: hidden;
  aspect-ratio: 375/545;
  background: url(/img/main_bg.png) no-repeat top center/100% auto;
}
@media screen and (min-height: 546px) {
  #main {
    margin-top: 7vh;
  }
}
@media (min-width: 768px) {
  #main {
    width: 375px;
    height: 100%;
    left: 0;
    margin-top: 0;
  }
}

#header {
  position: relative;
}

#mainTitle {
  position: relative;
  width: 26.6666666667vw;
  margin-inline: auto;
  padding-top: 5.3333333333vw;
}
@media (min-width: 768px) {
  #mainTitle {
    width: 100px;
    padding-top: 20px;
  }
}

#gameArea {
  position: relative;
  width: 64vw;
  margin-inline: auto;
  margin-top: 6.6666666667vw;
  border: 0.5333333333vw solid #8E669A;
  border-radius: 1.8666666667vw;
  overflow: hidden;
}
@media (min-width: 768px) {
  #gameArea {
    width: 240px;
    margin-top: 25px;
    border-width: 2px;
    border-radius: 7px;
  }
}
#gameArea__inner {
  background: #DFE3BC;
  overflow: hidden;
  box-shadow: inset 3px 3px 5px rgb(165, 172, 103);
}

canvas {
  width: 100%;
  height: 100%;
}

#scoreBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #CED29D;
  box-shadow: inset 2px 0px 2px rgb(165, 172, 103);
  padding: 0.8vw 1.3333333333vw;
}
@media (min-width: 768px) {
  #scoreBox {
    padding: 3px 5px;
  }
}

#controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#controls__inner {
  display: grid;
  grid-template-areas: ". up ." "left . right" ". down .";
  place-items: center;
  width: 100%;
}
#controls button {
  position: relative;
  background: #E984B0;
  width: 17.3333333333vw;
  height: 17.3333333333vw;
  border-radius: 100vmax;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5333333333vw solid #8E669A;
  box-shadow: inset 0px 2px 0px rgb(142, 102, 154);
}
@media (min-width: 768px) {
  #controls button {
    width: 65px;
    height: 65px;
    border-width: 2px;
  }
}
#controls .arrow {
  position: relative;
  display: block;
  background: url(/img/arrow.svg) no-repeat center/cover;
  width: 8vw;
  height: 6.6666666667vw;
}
@media (min-width: 768px) {
  #controls .arrow {
    width: 30px;
    height: 25px;
  }
}

#upBtn {
  grid-area: up;
  top: 4vw;
}
@media (min-width: 768px) {
  #upBtn {
    top: 15px;
  }
}
#upBtn .arrow {
  top: -0.8vw;
}
@media (min-width: 768px) {
  #upBtn .arrow {
    top: -3px;
  }
}

#leftBtn {
  grid-area: left;
  left: 13.3333333333vw;
  top: -4vw;
}
@media (min-width: 768px) {
  #leftBtn {
    left: 50px;
    top: -15px;
  }
}
#leftBtn .arrow {
  rotate: -90deg;
  top: 0.5333333333vw;
  right: 1.3333333333vw;
}
@media (min-width: 768px) {
  #leftBtn .arrow {
    top: 2px;
    right: 5px;
  }
}

#rightBtn {
  grid-area: right;
  right: 13.3333333333vw;
  top: -4vw;
}
@media (min-width: 768px) {
  #rightBtn {
    right: 50px;
    top: -15px;
  }
}
#rightBtn .arrow {
  rotate: 90deg;
  top: 0.5333333333vw;
  left: 1.3333333333vw;
}
@media (min-width: 768px) {
  #rightBtn .arrow {
    top: 2px;
    left: 5px;
  }
}

#downBtn {
  grid-area: down;
  bottom: 4vw;
  top: -10.6666666667vw;
}
@media (min-width: 768px) {
  #downBtn {
    bottom: 15px;
    top: -40px;
  }
}
#downBtn .arrow {
  rotate: 180deg;
  top: 1.3333333333vw;
}
@media (min-width: 768px) {
  #downBtn .arrow {
    top: 5px;
  }
}/*# sourceMappingURL=style.css.map */