@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);
    background-color: #282828;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100dvh;
  }
}

#main {
  position: relative;
  background: #C8BDC1;
  padding: 1.3333333333vw 12vw;
  border-radius: 6.6666666667vw 6.6666666667vw 14.6666666667vw 6.6666666667vw;
  border: 0.8vw solid #6E6767;
}
@media (min-width: 768px) {
  #main {
    width: 27.4524158126vw;
    margin-inline: auto;
    padding: 0.3660322108vw 3.2942898975vw;
    border-radius: 1.8301610542vw 1.8301610542vw 4.0263543192vw 1.8301610542vw;
    border: 0.2196193265vw solid #6E6767;
  }
}
#main::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background: url(/img/deco.png) no-repeat center/cover;
  width: 29.3333333333vw;
  height: 29.3333333333vw;
}
@media (min-width: 768px) {
  #main::after {
    width: 8.0527086384vw;
    height: 8.0527086384vw;
  }
}

#startBtn {
  position: absolute;
  bottom: 2.6666666667vw;
  left: 8vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8vw;
}
@media (min-width: 768px) {
  #startBtn {
    bottom: 0.7320644217vw;
    left: 2.196193265vw;
    gap: 0.2196193265vw;
  }
}
#startBtn .icon {
  display: block;
  width: 10.6666666667vw;
  height: 1.6vw;
  background: #000;
  border-radius: 8vw;
}
@media (min-width: 768px) {
  #startBtn .icon {
    width: 2.9282576867vw;
    height: 0.439238653vw;
  }
}
#startBtn .txt {
  font-size: 4vw;
}
@media (min-width: 768px) {
  #startBtn .txt {
    font-size: 1.0980966325vw;
  }
}

#header {
  position: relative;
}
#header::before, #header::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 1.0666666667vw;
  height: 150%;
  background: #282828;
}
@media (min-width: 768px) {
  #header::before, #header::after {
    width: 0.2928257687vw;
    height: 160%;
  }
}
#header::before {
  left: 0;
}
#header::after {
  right: 0;
}

#mainTitle {
  position: relative;
  line-height: 1;
  border-radius: 1.3333333333vw;
  border: 0.2666666667vw solid #000;
  width: fit-content;
  margin-inline: auto;
  padding: 0.8vw 2.6666666667vw;
  font-size: 3.2vw;
}
@media (min-width: 768px) {
  #mainTitle {
    border-radius: 0.3660322108vw;
    border: 0.0732064422vw solid #000;
    padding: 0.2196193265vw 0.7320644217vw;
    font-size: 0.878477306vw;
  }
}
#mainTitle::after {
  content: "";
  position: absolute;
  bottom: -2.6666666667vw;
  left: 50%;
  translate: -50% 0;
  width: 100vw;
  height: 1.0666666667vw;
  background: #282828;
}
@media (min-width: 768px) {
  #mainTitle::after {
    bottom: -0.7320644217vw;
    height: 0.2928257687vw;
  }
}

#gameArea {
  position: relative;
  margin-top: 4vw;
  border: 0.8vw solid #6E6767;
  background: #282828;
  padding: 1.3333333333vw 4vw 4vw;
  border-radius: 1.8666666667vw;
}
@media (min-width: 768px) {
  #gameArea {
    margin-top: 1.0980966325vw;
    border: 0.2196193265vw solid #6E6767;
    padding: 0.3660322108vw 1.0980966325vw 1.0980966325vw;
    border-radius: 0.5124450952vw;
  }
}
#gameArea__inner {
  background: #DDEBDB;
  border-radius: 1.8666666667vw;
  overflow: hidden;
}
@media (min-width: 768px) {
  #gameArea__inner {
    border-radius: 0.5124450952vw;
  }
}

#gameTit {
  position: relative;
  font-size: 3.2vw;
  color: #fff;
  margin-bottom: 1.3333333333vw;
}
@media (min-width: 768px) {
  #gameTit {
    font-size: 0.878477306vw;
    margin-bottom: 0.3660322108vw;
  }
}
#gameTit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3.2vw;
  translate: 0 -50%;
  width: 2.6666666667vw;
  height: 2.6666666667vw;
  background: #C01B7C;
  border: 0.5333333333vw solid #707070;
  border-radius: 100vmax;
}
@media (min-width: 768px) {
  #gameTit::before {
    left: -0.878477306vw;
    width: 0.7320644217vw;
    height: 0.7320644217vw;
    border: 0.1464128843vw solid #707070;
  }
}

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

#scoreBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #B1C3AF;
  padding: 0.8vw 1.3333333333vw;
}
@media (min-width: 768px) {
  #scoreBox {
    padding: 0.2196193265vw 0.3660322108vw;
  }
}

#controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: calc(100vh - 96vw);
}
@media screen and (orientation: portrait) and (max-height: 600px) {
  #controls {
    max-height: 58.6666666667vw;
  }
}
@media (min-width: 768px) {
  #controls {
    height: calc(100vh - 26.3543191801vw);
    max-height: 29.2825768668vw;
  }
}
#controls__inner {
  display: grid;
  grid-template-areas: ". up ." "left . right" ". down .";
  place-items: center;
  width: 100%;
}

#controls button {
  position: relative;
  background: #302A1C;
  width: 20vw;
  height: 20vw;
  border-radius: 100vmax;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  #controls button {
    width: 5.4904831625vw;
    height: 5.4904831625vw;
  }
}

.arrow {
  position: relative;
  display: block;
  background: url(/img/arrow.svg) no-repeat center/cover;
  width: 8vw;
  height: 6.6666666667vw;
}
@media (min-width: 768px) {
  .arrow {
    width: 2.196193265vw;
    height: 1.8301610542vw;
  }
}

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

#leftBtn {
  grid-area: left;
  rotate: -90deg;
  left: 4vw;
}
@media (min-width: 768px) {
  #leftBtn {
    left: 1.0980966325vw;
  }
}
#leftBtn .arrow {
  top: -1.3333333333vw;
}
@media (min-width: 768px) {
  #leftBtn .arrow {
    top: -0.3660322108vw;
  }
}

#rightBtn {
  grid-area: right;
  rotate: 90deg;
  right: 4vw;
}
@media (min-width: 768px) {
  #rightBtn {
    right: 1.0980966325vw;
  }
}
#rightBtn .arrow {
  top: -1.3333333333vw;
}
@media (min-width: 768px) {
  #rightBtn .arrow {
    top: -0.3660322108vw;
  }
}

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