* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  display: flex;
  flex-flow: column;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  background-color: #9c98af;
}
body #mainCanvas {
  image-rendering: pixelated;
  background-color: #000;
  aspect-ratio: 160/144;
  width: 100%;
}
body .controls {
  flex: 1 1 auto;
  background-color: #d9d9d9;
  position: relative;
  padding: 2rem;
  width: 100%;
}
body .controls .cross {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 192px;
  aspect-ratio: 1;
}
body .controls .cross button {
  position: absolute;
  height: 64px;
  aspect-ratio: 1;
  border: none;
  background-color: #222222;
  border-radius: 50%;
}
body .controls .cross button.up {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
body .controls .cross button.down {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
body .controls .cross button.left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
body .controls .cross button.right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
body .controls .ab {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  height: 128px;
  aspect-ratio: 1;
}
body .controls .ab button {
  width: 64px;
  aspect-ratio: 1;
  border: none;
  background-color: #71011a;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  color: white;
  position: absolute;
}
body .controls .ab button.a {
  top: 0;
  right: 0;
}
body .controls .ab button.b {
  bottom: 0;
  left: 0;
}
body .controls .ss {
  position: absolute;
  bottom: 2rem;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 1rem;
}
body .controls .ss button {
  padding: 0.5rem;
  background-color: #9c98af;
  color: #373442;
  border: none;
  border-radius: 4px;
}

@media screen and (max-width: 480px) {
  #mainCanvas {
    width: 100%;
    height: auto;
  }
}
@media screen and (min-width: 480px) {
  #mainCanvas {
    max-width: 720px;
  }
  .controls {
    max-width: 720px;
  }
}

/*# sourceMappingURL=style.css.map */
