.App {
  display: grid;
  place-content: center;
  height: 100%;
  font-family: Radhium;
  font-size: 18px;
  user-select: none;
  -webkit-tap-highlight-color: #0000;
  color: #ffffffa0;
  background: #292b3c;
}
.splash {
  grid-area: 1/1;
  place-self: center;
  display: grid;
  place-content: center;
  width: 100vw;
  height: 100vh;
}
#cmg-splash {
  background: #242424;
  pointer-events: none;
}
.game-page {
  grid-area: 1/1;
  display: grid;
  place-self: center;
}
.game-page-inner {
  grid-area: 1/1;
  z-index: 1;
  display: grid;
  grid: auto auto auto 1fr auto / auto;
  width: 22em;
}
.toolbar {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  place-self: center;
  margin-bottom: 1em;
  grid-area: 5/1;
  min-width: 18em;
  justify-content: center;
}
.overlay {
  grid-area: 1/1 / span 5 / auto;
  z-index: 2;
  display: grid;
  opacity: 0;
  box-sizing: border-box;
}
.x-button {
  grid-area: 1/1;
  place-self: end start;
  padding: 20px;
  cursor: pointer;
}
.ms-logo-title {
  grid-area: 1/1;
  place-self: start center;
  margin: 0.5em 0.5em 0 0.2em;
  z-index: 1;
  display: grid;
  align-items: center;
  grid: auto/auto auto;
}
.ms-title {
  grid-area: 1/2;
  margin-left: 0.2em;
  font-size: min(10vw, 2.5em);
  font-family: Bitsumishi;
  word-spacing: -0.2em;
}
.ms-title-gradient {
  background: -webkit-linear-gradient(
    0deg,
    #ff6666,
    #66ffff 35%,
    #66ff66,
    #ffff66,
    #ff66ff,
    #6666ff
  );
  -webkit-text-fill-color: transparent;
  background-clip: initial;
  -webkit-background-clip: text;
  z-index: 1;
}
.ms-instructions {
  place-self: center;
  grid-area: 1/1;
  display: grid;
  justify-content: center;
  color: #fff;
  padding: 1em 0 0;
  max-width: 18em;
}
.ms-instructions-text {
  transition: opacity 0.5s;
  text-shadow: 1px 1px black;
  font-family: Gothic;
  font-size: 0.9em;
}
#level-panel {
  grid-area: 2/1;
  font-size: 16px;
  min-width: 17em;
  place-self: center;
  margin: 0.8em 0 0.9em;
  display: grid;
  padding: 0.6em 2em 0.5em;
  color: #fff;
  border-radius: 1.1em;
}
#score-panel {
  grid-area: 3/1;
  margin: 0 1.5em;
  display: grid;
  grid: auto auto / 1fr 1fr 1fr;
  place-content: center;
}
.option {
  transition: background-color 0.2s;
  width: 14.5em;
  padding: 10px 0 10px 15px;
  cursor: pointer;
  box-sizing: border-box;
  display: grid;
  grid: auto/auto 1fr;
  align-items: center;
  text-shadow: 1px 1px black;
}
.option:hover {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}
#playground {
  grid-area: 4/1;
  display: grid;
  grid: 2fr 0.6fr 1fr / auto;
  overflow: hidden;
  max-width: 20em;
  place-self: center;
}
#pg-big-shapes {
  grid-area: 1/1;
  overflow: hidden;
  display: grid;
  grid: auto/auto auto;
  justify-content: center;
}
#playground-gain {
  place-self: start center;
  grid-area: 2/1;
  color: #fff;
  text-shadow: #fff 0px 0px 5px, #fff 0px 0px 10px, #fff 0px 0px 15px,
    lime 0px 0px 20px, lime 0px 0px 30px, lime 0px 0px 40px, lime 0px 0px 50px,
    lime 0px 0px 75px;
  font-family: Roboto;
  font-size: 1.3em;
  z-index: 1;
  transition: opacity 0.3s;
}
#pg-small-shapes {
  grid-area: 3/1;
  display: grid;
  grid: auto/auto auto auto auto auto auto;
  overflow: hidden;
  justify-content: space-around;
}
.pg-small-shape {
  cursor: pointer;
}
.ms-intro {
  overflow: auto;
  z-index: 1;
  color: #fff;
  text-shadow: 1px 1px black;
  padding: 0 20px;
  display: grid;
  font-family: Gothic;
  font-size: 0.9em;
}
.ms-intro-item {
  display: grid;
  align-items: start;
  color: #fff;
  grid: auto/auto 1fr;
  margin: 0 0 10px;
}
.ms-start {
  padding: 10px 30px;
  margin: 20px 0 0;
  justify-self: center;
  border: 1px solid white;
  border-radius: 8px;
  cursor: pointer;
}
.ms-start:hover {
  background: black;
}
.ms-selector {
  grid-area: 4/1;
  place-self: center;
  color: #fff;
  display: grid;
  text-shadow: 1px 1px black;
  font-family: Gothic;
  font-size: 0.9em;
}
.ms-selector-item {
  padding: 10px;
  margin: 5px;
  border: 1px solid white;
  border-radius: 8px;
  text-align: center;
  opacity: 0.35;
}
.ms-selector-item-enabled {
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.2s;
}
.ms-selector-item-enabled:hover {
  background: rgba(0, 0, 0, 0.6);
}
.ms-resume {
  display: grid;
  gap: 2em;
  justify-items: center;
  grid-area: 4/1;
  z-index: 2;
  padding-bottom: 5em;
}
.ms-game-paused {
  color: #fff;
  text-shadow: 1px 1px black;
}
.overlay-items {
  grid-area: 1/1;
  place-self: center;
  display: grid;
  gap: 1.5em;
  font-size: 0.8em;
  color: #fff;
}
.overlay-item {
  cursor: pointer;
  display: grid;
  grid-auto-flow: column;
  grid: auto / auto 1fr;
  gap: 1em;
  align-items: center;
}
.overlay-back {
  grid-area: 1/1;
  place-self: end center;
  margin-bottom: 1em;
}
body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #292b3c;
}
.body,
.wrapper {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-y: hidden;
}
.body {
  z-index: 1;
}
.wrapper {
  z-index: 2;
}
@font-face {
  font-family: Roboto;
  src: url(Roboto-Regular-bde8a188.ttf);
}
@font-face {
  font-family: Roboto Mono;
  src: url(RobotoMono-Regular-c7ab2d73.ttf);
}
@font-face {
  font-family: Radhium;
  src: url(NcsRadhiumz-Rp3x6-9fb69595.ttf);
}
@font-face {
  font-family: Bitsumishi;
  src: url(BITSUMIS-fa9bb58c.TTF);
}
@font-face {
  font-family: Gothic;
  src: url(GOTHIC-3a9cbb5d.TTF);
}
.root-scroll {
  display: grid;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.root-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.root-scroll::-webkit-scrollbar-thumb:hover {
  background: #fff5;
}
.root-scroll::-webkit-scrollbar-thumb {
  background: #fff4;
  border-radius: 10px;
}
.root-scroll::-webkit-scrollbar-track:hover {
  background: #ffffff05;
}
.root-scroll-mobile::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.root-scroll-mobile::-webkit-scrollbar-thumb {
  border-radius: 1px;
}
