html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

html {
  background-color: #222;
  background-image: url("../../../assets/landscapeGrassScene.jpg");
  font-size: 125%;
  background-size: cover;
}

.wrapper {
  max-width: 1280px;
  width: 85%;
  margin: 0 auto;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  /* Makes all images become responsive if the parent container wants to shrink */
  display: block;
  /* removes extra padding at bottom of images */
  height: auto;
}

.btnCircle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(125, 13, 55);
  background: radial-gradient(circle, rgb(125, 13, 55) 41%, rgb(187, 63, 111) 100%);
  -webkit-box-shadow: 3px 3px 9px 0px rgba(0, 0, 0, 0.61);
          box-shadow: 3px 3px 9px 0px rgba(0, 0, 0, 0.61);
}

.btnSquare {
  width: 45px;
  height: 45px;
  background-color: black;
  color: rgb(74, 74, 74);
  font-size: 1rem;
}

@font-face {
  font-family: "Gill Bold I";
  src: url("../../../font/Gill Sans Bold Italic.otf");
  font-weight: bold;
}
@font-face {
  font-family: "Gill Bold";
  src: url("../../../font/Gill Sans Bold.otf");
  font-weight: bold;
}
@font-face {
  font-family: "PokemonSolid";
  src: url("../../../font/PocketMonk-15ze.ttf"), url("../../../font/PokemonGb-RAeo.ttf");
  font-weight: normal;
}
@font-face {
  font-family: "PokemonHollow";
  src: url("../../../font/Pokemon Hollow.ttf"), url("../../../font/PokemonGb-RAeo.ttf");
  font-weight: normal;
}
@font-face {
  font-family: "Brand";
  src: url("../../../font/RoSpritendoSemiboldBeta-vmVwZ.otf");
  font-weight: normal;
}
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "PokemonSolid";
  -webkit-text-stroke: 3px #165DAD;
  -webkit-text-fill-color: #FFCC01;
  font-size: 3rem;
  letter-spacing: 5px;
  text-align: center;
}

h2,
h3 {
  font-family: "VT323", monospace;
}

h2 {
  font-size: 0.9rem;
  line-height: 2rem;
  text-align: center;
  color: white;
}

h3 {
  font-size: 1rem;
}

p,
select {
  font-family: "VT323", monospace;
  color: #4A3F89;
  font-size: clamp(0.875rem, 0.7171rem + 0.7895vw, 1rem);
}

.stats p {
  color: black;
}

.button {
  font-family: "Brand";
}

.consoleTitle {
  padding-top: 20px;
  -ms-flex-item-align: start;
      align-self: flex-start;
  padding-left: 35px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  color: #4A3F89;
}
.consoleTitle .consoleBrand {
  font-size: clamp(0.3rem, 0.1737rem + 0.6316vw, 0.6rem);
  display: inline;
  font-family: "Brand";
  letter-spacing: 1px;
}
.consoleTitle .consoleName {
  font-size: clamp(0.8rem, 0.3474rem + 1.2632vw, 1.2rem);
  font-family: "Gill Bold I";
  display: inline;
  line-height: 0;
  padding-bottom: 2px;
}
.consoleTitle .consoleName .tm {
  font-size: 0.5rem;
}

header {
  background-color: rgba(0, 0, 0, 0.5);
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding-bottom: 0.5%;
}
header span {
  border: white solid 2px;
  border-radius: 50%;
}
header .instructionBtn {
  padding: 2px 5px;
}
header .instructionArrows {
  padding: 5px;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 80vh;
  margin-top: 10px;
  margin-bottom: 10px;
}
.container .gameBox {
  background: rgb(218, 213, 210);
  background: -webkit-gradient(linear, right top, left top, from(rgb(218, 213, 210)), color-stop(2%, rgb(255, 255, 255)), color-stop(3%, rgb(218, 213, 210)), color-stop(97%, rgb(218, 213, 210)), color-stop(99%, rgb(255, 255, 255)), to(rgb(218, 213, 210)));
  background: linear-gradient(270deg, rgb(218, 213, 210) 0%, rgb(255, 255, 255) 2%, rgb(218, 213, 210) 3%, rgb(218, 213, 210) 97%, rgb(255, 255, 255) 99%, rgb(218, 213, 210) 100%);
  height: auto;
  min-height: 71.5vh;
  width: 30vw;
  border-radius: 20px 20px 80px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.container .gameBox .music {
  width: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.container .gameBox .music .onOff {
  width: 25px;
  height: 25px;
  -ms-flex-item-align: start;
      align-self: flex-start;
  background-color: #993058;
  padding: 0 1%;
}
.container .gameBox .music p {
  font-size: 1.2rem;
  padding-left: 5px;
}
.container .gameBox .screen {
  background-color: #39363D;
  width: 85%;
  height: 35%;
  margin-top: 5px;
  border-radius: 5px 5px 30px 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.container .gameBox .screen .battery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: auto;
  margin-left: 2%;
}
.container .gameBox .screen .battery .batteryLight {
  background-color: #be0536;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding-bottom: 10px;
}
.container .gameBox .screen .battery p {
  color: #DAD5D2;
  font-size: 0.5rem;
}
.container .gameBox .screen .display {
  width: 90%;
  height: 80%;
  margin: 4% 4% 4% 1%;
  padding: 1%;
  background-color: #cecdd8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.container .gameBox .screen .display .topDisplay h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 2%;
}
.container .gameBox .screen .display .bottomDisplay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.container .gameBox .screen .display .bottomDisplay .leftScreen,
.container .gameBox .screen .display .bottomDisplay .rightScreen {
  width: 50%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.container .gameBox .screen .display .bottomDisplay .leftScreen .stats,
.container .gameBox .screen .display .bottomDisplay .rightScreen .stats {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  border-radius: 10px;
  -webkit-box-shadow: 10px 10px 0px -5px #595959;
          box-shadow: 10px 10px 0px -5px #595959;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-transform: uppercase;
  padding: 10px 10px;
}
.container .gameBox .screen .display .bottomDisplay .leftScreen .pokemonSprite,
.container .gameBox .screen .display .bottomDisplay .rightScreen .pokemonSprite {
  width: 100%;
  height: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.container .gameBox .screen .display .bottomDisplay .leftScreen .pokemonSprite img,
.container .gameBox .screen .display .bottomDisplay .rightScreen .pokemonSprite img {
  width: 100%;
  -webkit-filter: grayscale(100%) brightness(85%);
          filter: grayscale(100%) brightness(85%);
}

.lowerHalf {
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-top: 25px;
}
.lowerHalf .dPad {
  width: auto;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.lowerHalf .dPad .btnTop,
.lowerHalf .dPad .btnLower {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.lowerHalf .dPad .btnTop .btnDpadUp,
.lowerHalf .dPad .btnLower .btnDpadUp {
  border-bottom: 0;
}
.lowerHalf .dPad .btnTop .btnDpadDown,
.lowerHalf .dPad .btnLower .btnDpadDown {
  border-top: 0;
}
.lowerHalf .dPad .btnMiddle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: black;
}
.lowerHalf .dPad .btnMiddle .btnDpadLeft {
  border-right: 0;
  text-align: left;
}
.lowerHalf .dPad .btnMiddle .btnDpadRight {
  border-left: 0;
  text-align: right;
}
.lowerHalf .dPad .btnMiddle .btnCicMid {
  width: 40px;
  height: 40px;
  background: rgb(75, 75, 75);
  background: linear-gradient(315deg, rgb(75, 75, 75) 0%, rgb(0, 0, 0) 38%);
  border: 0;
  outline: 1px solid #222;
  border-radius: 50%;
}
.lowerHalf .buttons {
  width: 110px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.lowerHalf .buttons .btnRight {
  -ms-flex-item-align: end;
      align-self: flex-end;
  position: relative;
}
.lowerHalf .buttons .btnRight .btnLabel {
  position: absolute;
  bottom: -20px;
  left: 50px;
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  font-family: "Gill Bold";
}
.lowerHalf .buttons .btnLeft {
  position: relative;
}
.lowerHalf .buttons .btnLeft .btnLabel {
  position: absolute;
  bottom: -20px;
  left: 50px;
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  font-family: "Gill Bold";
}

.bottomSection {
  width: 90%;
  height: 140px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding-top: 50px;
}
.bottomSection .optionButtons {
  height: 80px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-right: 70px;
  gap: 25px;
}
.bottomSection .optionButtons .optBtn {
  width: 40px;
  height: 10px;
  background: rgb(85, 85, 85);
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(85, 85, 85)), color-stop(0%, rgb(85, 85, 85)), color-stop(19%, rgb(131, 131, 131)), color-stop(28%, rgb(85, 85, 85)), color-stop(76%, rgb(85, 85, 85)), color-stop(85%, rgb(131, 131, 131)), to(rgb(85, 85, 85)));
  background: linear-gradient(0deg, rgb(85, 85, 85) 0%, rgb(85, 85, 85) 0%, rgb(131, 131, 131) 19%, rgb(85, 85, 85) 28%, rgb(85, 85, 85) 76%, rgb(131, 131, 131) 85%, rgb(85, 85, 85) 100%);
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  border-radius: 10px;
  position: relative;
}
.bottomSection .optionButtons .optBtn .optLabel {
  position: absolute;
  bottom: -20px;
  text-align: center;
  width: 100%;
  font-family: "Brand";
  font-size: 0.4rem;
  letter-spacing: 2px;
}
.bottomSection .speaker {
  -ms-flex-item-align: end;
      align-self: flex-end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 10px;
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  margin-bottom: 25px;
}
.bottomSection .speaker .speakerHole {
  width: 10px;
  height: 80px;
  background: rgb(162, 159, 157);
  border-left: 2px solid #000;
  border-radius: 5px;
  -ms-flex-item-align: end;
      align-self: flex-end;
}

footer,
main:after {
  height: auto;
}

footer {
  background-color: #000;
  text-align: center;
  height: auto;
}
footer p {
  color: #fff;
}

/**************
MEDIA QUERIES
**************/
@media (max-width: 1090px) {
  .container .gameBox {
    width: 50vw;
    min-height: 90%;
  }
  .bottomSection .optionButtons {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding-top: 15px;
  }
}
@media (max-width: 650px) {
  .container .gameBox {
    min-height: 70%;
  }
  .btnCircle {
    width: 40px;
    height: 40px;
  }
  .btnSquare {
    width: 30px;
    height: 30px;
  }
  .lowerHalf .dPad {
    width: 90px;
    height: 90px;
  }
  .lowerHalf .dPad .btnMiddle .btnCicMid {
    width: 25px;
    height: 25px;
  }
  .lowerHalf .buttons {
    width: 80px;
    margin-right: 20px;
  }
  .lowerHalf .buttons .btnLeft .btnLabel,
  .lowerHalf .buttons .btnRight .btnLabel {
    left: 40px;
  }
  .bottomSection .optionButtons {
    padding-right: 20px;
  }
  .bottomSection .speaker {
    gap: 7px;
    margin-right: 5px;
  }
}
@media (max-width: 510px) {
  .container .gameBox {
    width: 80vw;
    min-height: 100%;
  }
  .container .gameBox .screen .display {
    height: auto;
  }
  .container .gameBox .screen .display .bottomDisplay .leftScreen .stats {
    padding: 10% 5%;
  }
}
@media (max-width: 320px) {
  .container .gameBox {
    min-height: 80vh;
  }
  .btnCircle {
    width: 40px;
    height: 40px;
  }
  .btnSquare {
    width: 30px;
    height: 30px;
  }
  .lowerHalf .dPad {
    width: 90px;
    height: 90px;
  }
  .lowerHalf .dPad .btnMiddle .btnCicMid {
    width: 25px;
    height: 25px;
  }
  .lowerHalf .buttons {
    width: 80px;
    margin-right: 20px;
  }
  .lowerHalf .buttons .btnLeft .btnLabel,
  .lowerHalf .buttons .btnRight .btnLabel {
    left: 40px;
  }
  .bottomSection .optionButtons {
    height: 10%;
    padding-top: 50px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .bottomSection .optionButtons .optBtn {
    width: 30px;
    height: 5px;
  }
}
@media (max-width: 320px) {
  h1 {
    font-size: 2.5rem;
    -webkit-text-stroke: 1.5px #165DAD;
  }
  h2 {
    font-size: 80%;
  }
  h3 {
    font-size: 0.75rem;
  }
  p {
    font-size: 0.6rem;
  }
  .container .gameBoy {
    width: 90vw;
  }
  .consoleTitle {
    -ms-flex-item-align: start;
        align-self: flex-start;
    padding-left: 20px;
  }
}