@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz@14..32&family=Outfit:wght@100..900&display=swap");
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  font-size: 1em;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.home {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.home .logo {
  width: 50%;
}

.nav {
  width: 4rem;
  height: 100%;
  padding: 0 1rem 0.5rem 1rem;
  text-align: center;
  z-index: 1000;
  background-color: #222628;
  border-right: 1px solid rgba(0, 0, 0, 0.7);
}
.nav .logo {
  position: relative;
  margin-top: 1rem;
  width: 2.4rem;
}
.nav.with-controls {
  width: auto;
}
.nav.with-controls .logo {
  display: block;
  width: 9rem;
}

.nav .controls {
  display: block;
  margin-top: 1rem;
  width: 9rem;
}

.folder {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
}

.game-listing {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  width: 19rem;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  border: 4px solid rgba(255, 255, 255, 0);
  border-radius: 0.8rem;
  transition: all 0.3s;
  perspective: 800px;
}
.game-listing:hover, .game-listing:active, .game-listing:focus-visible {
  border: 4px solid rgba(255, 255, 255, 0.3);
  outline: none;
}
.game-listing .game {
  transform-origin: 0% 50%;
  transition: transform 1s ease;
  will-change: transform;
}
.game-listing img {
  width: 100%;
  height: auto;
}
.game-listing img.shadow {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  z-index: -10;
  transition: transform 1s ease;
  will-change: opacity;
}
.game-listing .game-label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
}
.game-listing .game-label img {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1882352941);
}
.game-listing .game-title {
  position: absolute;
  padding: 0.3rem 0.4rem 0.2rem;
  color: #202020;
  background-color: #d7d7d7;
  border-radius: 0.3rem;
  line-height: 1;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.game-listing .game-title.adult {
  background-color: rgb(203, 65, 65);
  color: #fad5d5;
}

.game-listing:focus-visible {
  animation: bump-z 0.5s linear forwards;
}
.game-listing:focus-visible .game {
  animation: game-pick-seq 13s ease-out forwards;
}
.game-listing:focus-visible .shadow {
  animation: shadow-pick-seq 13s ease-out forwards;
}

@keyframes game-pick-seq {
  0% {
    transform: translateX(0rem) translateY(0rem) rotate(0deg) rotateX(0deg) rotateY(0deg) translateZ(0rem);
  }
  2% { /* first movement */
    transform: translateX(-0.5rem) translateY(0rem) rotate(0deg) rotateX(0deg) rotateY(-18deg) translateZ(0rem);
  }
  5% { /* second movement */
    transform: translateX(-1rem) translateY(0rem) rotate(0deg) rotateX(2deg) rotateY(-3deg) translateZ(10rem);
  }
  100% { /* second movement */
    transform: translateX(0rem) translateY(0.8rem) rotate(0deg) rotateX(2deg) rotateY(0deg) translateZ(14rem);
  }
}
@keyframes shadow-pick-seq {
  0% {
    transform: translateX(0rem) translateY(0rem) rotate(0deg) rotateX(0deg) rotateY(0deg) translateZ(0rem);
    opacity: 1;
  }
  1% { /* first movement */
    transform: translateX(-0.5rem) translateY(0rem) rotate(0deg) rotateX(0deg) rotateY(-18deg) translateZ(0rem);
    opacity: 0.9;
  }
  5% { /* second movement */
    transform: translateX(-1rem) translateY(2rem) rotate(0deg) rotateX(2deg) rotateY(-3deg) translateZ(10rem);
    opacity: 0.5;
  }
  100% { /* second movement */
    transform: translateX(0rem) translateY(2.8rem) rotate(0deg) rotateX(2deg) rotateY(0deg) translateZ(14rem);
    opacity: 0.4;
  }
}
@keyframes bump-z {
  0%, 100% {
    z-index: 999999;
  }
}
.system {
  padding: 0;
  color: #b8b8b8;
  text-decoration: none;
}
.system .system-label {
  position: absolute;
  top: 8%;
  left: 10%;
  width: 80%;
}
.system .system-name {
  display: flex;
  position: absolute;
  bottom: 9%;
  left: 13.7%;
  width: 72%;
  height: 17%;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.03rem;
  color: #808080;
}

.nes-game {
  width: 24rem;
}
.nes-game .game-label {
  left: 41.5%;
  top: 5.8%;
  width: 40.5%;
}
.nes-game .game-label img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0 0 0.4rem 0.4rem;
}
.nes-game .game-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0.1rem 0 rgba(255, 255, 255, 0.2);
}
.nes-game .game-title {
  bottom: 10%;
  right: 14.5%;
}

.mame-game {
  width: 20rem;
}
.mame-game .game-label {
  left: 11.3%;
  top: 11.4%;
  width: 77.5%;
  height: 65.4%;
}
.mame-game .game-label img {
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1882352941);
}
.mame-game .game-title {
  bottom: 14.7%;
  left: 11%;
}

.smd-game {
  width: 22rem;
}
.smd-game .game-label {
  left: 20%;
  top: 9.7%;
  width: 60%;
}
.smd-game .game-label img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0 0 0.5rem 0.5rem;
}
.smd-game .game-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 2%, rgba(255, 255, 255, 0) 3%);
}
.smd-game .game-title {
  bottom: 24%;
  left: 22%;
}

.amiga-game {
  width: 17.8rem;
}
.amiga-game .game-label {
  left: 16.7%;
  top: 8.1%;
  width: 66.8%;
}
.amiga-game .game-label img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0 0 0.5rem 0.5rem;
}
.amiga-game .game-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0.5%, rgba(255, 255, 255, 0) 1.2%);
}
.amiga-game .game-title {
  bottom: 46.5%;
  left: 19.5%;
}

.atari-2600-game {
  width: 16.4rem;
}
.atari-2600-game .game-label {
  left: 14.5%;
  top: 12.6%;
  width: 71.5%;
}
.atari-2600-game .game-label img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}
.atari-2600-game .game-title {
  bottom: 16%;
  left: 18%;
}

.game-area {
  display: flex;
  flex-direction: row;
  height: 100vh;
}
.game-area .screen {
  flex: 1;
  background: #000;
  display: flex;
  padding: 2vh;
  justify-content: center;
  align-items: center;
}
.game-area .screen .game-container {
  position: relative;
  height: 100%;
  max-height: 100vh;
  margin: auto;
  border-radius: 2vh;
  overflow: hidden;
}
.game-area .screen .game-container:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2vh;
  box-shadow: inset 0 0vh 0.5vh 0.3vh rgba(0, 0, 0, 0.7), inset 0 0 0.5vh 1vh rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.ejs_virtualGamepad_open {
  display: none !important;
}

.ejs_menu_bar {
  display: none !important;
}

.control-component {
  position: relative;
  height: 12vh;
  margin: 2vh;
}
.control-component .control-set {
  height: 100%;
}

.control-spacer {
  width: 4vh;
}

.button-icon {
  position: absolute;
  width: 2vh;
  height: 2vh;
  opacity: 0.3;
}

.button-1 {
  top: 1.35vh;
  left: 3.1vh;
}

.button-2 {
  top: 7.2vh;
  left: 1.4vh;
}

.button-3 {
  top: 1.35vh;
  left: 9.65vh;
}

.button-4 {
  top: 7.2vh;
  left: 1.4vh;
}

.button-cover {
  position: absolute;
  width: 7vh;
  height: 6vh;
  background-color: #222628;
}

.button-1-cover {
  top: 0vh;
  left: 1vh;
}

.button-2-cover {
  top: 5vh;
  left: -0.5vh;
}

.button-3-cover {
  top: 0vh;
  left: 8vh;
}

.button-4-cover {
  top: 5vh;
  left: 6vh;
}

.keymap {
  display: inline-block;
  font-family: "Outfit", sans-serif;
}

.arcade-button {
  position: relative;
  display: block;
  margin: 0.1em;
  border-radius: 50%;
  box-shadow: inset 0 -0.05em 0.03em rgba(0, 0, 0, 0.5);
}
.arcade-button:before {
  content: "";
  position: absolute;
  left: 5%;
  top: 2%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border-top: 0.05em solid rgba(255, 255, 255, 0.5);
}
.arcade-button .spring-button {
  position: absolute;
  left: 13%;
  top: 13%;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  box-shadow: 0 0.04em 0.005em rgba(0, 0, 0, 0.6), 0 0 0.01em 0.005em #000000, inset 0 -0.02em 0.01em rgba(0, 0, 0, 0.5);
}
.arcade-button .spring-button:after {
  content: "";
  position: absolute;
  left: 3%;
  top: 3%;
  width: 93%;
  height: 96%;
  border-radius: 50%;
  border-top: 0.02em solid rgba(255, 255, 255, 0.7);
}
.arcade-button .spring-button:before {
  content: "";
  position: absolute;
  left: 7%;
  top: 7%;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.54) 100%);
  filter: blur(0.015em);
}

.arcade-button-red {
  background-color: #ff0000;
}
.arcade-button-red .spring-button {
  background-color: #ff0000;
}
.arcade-button-red .spring-button .arcade-button-label {
  color: #fff;
}

.arcade-button-icon {
  width: 100%;
  height: 100%;
}
.arcade-button-icon > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-fire {
  background-image: url("/site/templates/components/arcade-button/fire.svg");
}

.icon-bomb {
  background-image: url("/site/templates/components/arcade-button/bomb.svg");
}

.icon-player-one {
  background-image: url("/site/templates/components/arcade-button/player-one.svg");
}

.arcade-button-white {
  background-color: #cccccc;
}
.arcade-button-white .spring-button {
  background-color: #cccccc;
}
.arcade-button-white .spring-button .arcade-button-label {
  color: #000;
}

.arcade-button-yellow {
  background-color: #ffae00;
}
.arcade-button-yellow .spring-button {
  background-color: #ffae00;
}
.arcade-button-yellow .spring-button .arcade-button-label {
  color: #000;
}

.keymap .key {
  display: block;
  border: 0.05em solid #666666;
  border-radius: 0.3em;
  width: 1.3em;
  height: 1.3em;
  margin: auto;
  font-size: 0.4em;
  text-align: center;
  line-height: 0.8em;
}

* {
  box-sizing: border-box;
  transition: all 0.4s;
}

html {
  height: 100%;
  color: #b8b8b8;
  transition: all 0.3s;
  background-color: #222628;
}

body {
  height: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1.15rem;
  letter-spacing: normal;
}

.app-area {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.app-area .content {
  flex: 1;
  display: flex;
  padding: 2rem;
  justify-content: center;
  align-items: start;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.app-area .content .center-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}/*# sourceMappingURL=main.css.map */