/*! Copyright Trevor Cowley 2017 */
@font-face {
  font-family: 'fontello';
  src: url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.eot");
  src: url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.eot%23iefix") format("embedded-opentype"), url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.woff2") format("woff2"), url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.woff") format("woff"), url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.ttf") format("truetype"), url("/asset?u=https%3A%2F%2Fgogomakeplay.com%2Fassets%2Ffonts%2Ffontello%2Ffontello.svg%23fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-width: 0;
  border-style: inherit;
  border-color: inherit;
}

html, body, code, h1, h2, h3, h4, h5 {
  transition: color 300ms, background-color 300ms;
}

html, body {
  font-family: McLaren, Verdana, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6em;
  letter-spacing: .4px;
  color: #bbb;
  background-color: #181818;
  height: 100%;
  margin: 0;
  border-color: #555;
  border-style: solid;
}

h1 {
  font-size: 2em;
  line-height: 1.05em;
  font-weight: normal;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
  border-bottom-width: 2px;
  line-height: 1.5em;
  margin: 2em 0 1em;
  padding: 0.35em 0;
  color: #55A1E0;
}

h3 {
  font-size: 1.35em;
  line-height: 1.5em;
  border-bottom-width: 2px;
  padding-bottom: 2px;
  margin: 1.3em 0 1em;
  color: #39b287;
}

h4 {
  font-size: 1.15em;
  line-height: 1.5em;
  border-bottom-width: 2px;
  padding-bottom: 2px;
  margin: 1em 0 1em;
  color: #f2bd54;
}

h5 {
  font-size: 1.05em;
  line-height: 1.45em;
  font-weight: normal;
  padding-bottom: 2px;
  margin: 1.5em 0 1em;
  border-bottom-width: 2px;
  color: #EEE;
}

h1, h2, h3, h4, h5 {
  font-family: "Varela Round", Verdana, Arial, sans-serif;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child {
  margin-top: 0;
  border-top: none !important;
}

@media only screen and (max-width: 800px) {
  h2 {
    letter-spacing: -0.4px;
  }

  h3 {
    margin: 1em 0 .7em;
  }
}
@media only screen and (max-width: 660px) {
  html, body {
    font-size: 15px;
    line-height: 1.6em;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.2em;
    text-align: left;
    margin: 1em 0 .7em;
    padding-bottom: 0;
    border-bottom-width: 0;
  }

  h3 {
    font-size: 1.2em;
    border-bottom-width: 0;
  }

  h4, h5 {
    font-size: 1em;
  }

  h3 span {
    float: none;
    white-space: pre;
  }
}
@media only screen and (max-width: 360px) {
  h2, h3 {
    font-size: 1.1em;
  }
}
p {
  margin-bottom: 1em;
}

pre {
  font-family: "Source Code Pro", monospace;
}

a {
  transition: color 1000ms;
}

a {
  color: #e55;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: #ff6;
  outline: none;
  transition: color 300ms;
}

img {
  border: none;
  width: 100%;
  display: block;
}

em {
  color: #fff;
  font-family: Sriracha, Verdana, Arial, sans-serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1.1em;
}

strong {
  color: #fff;
  font-family: Cambay, Verdana, Arial, sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 1.15em;
  letter-spacing: -0.5px;
}

@media only screen and (max-width: 660px) {
  em,
  strong {
    font-size: 1em;
  }
}
html.day-mode {
  color: #222;
  background-color: #fff;
}
html.day-mode body {
  color: #222;
  background-color: #fff;
  border-color: #dddfdf;
}
html.day-mode h2, html.day-mode h3, html.day-mode h4, html.day-mode h5, html.day-mode h6 {
  font-family: "Carter One", Verdana, Arial, sans-serif;
  font-weight: normal !important;
}
@media only screen and (max-width: 660px) {
  html.day-mode h2, html.day-mode h3, html.day-mode h4, html.day-mode h5, html.day-mode h6 {
    font-weight: bold !important;
  }
}
html.day-mode h2 {
  color: #0071cf;
}
html.day-mode h3 {
  color: #008556;
}
html.day-mode h4 {
  color: #FF8C00;
}
html.day-mode h5 {
  color: #ff7777;
}
html.day-mode a {
  transition: color 100ms;
  color: #dd0000;
  font-weight: bold;
}
html.day-mode a:hover {
  color: #1E90FF;
}
html.day-mode em {
  color: #000;
}
html.day-mode strong {
  color: #000;
}

html {
  padding: 0 2em 4em;
}

body {
  width: auto;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0;
}
body:after {
  content: '';
  display: block;
  clear: both;
  height: 5em;
}

header {
  margin-bottom: 2em;
}
header:after {
  content: '';
  display: block;
  clear: both;
}

nav {
  width: 12.5em;
  margin-bottom: 2em;
  float: left;
}

.content {
  width: auto;
  padding: 0;
  margin-left: 14.5em;
  min-height: 20em;
  overflow: auto;
}

@media only screen and (max-width: 800px) {
  html {
    padding: 0 1.5em 4em;
  }

  body.hide-nav .content {
    margin-left: 0 !important;
  }
  body.hide-nav header {
    margin-bottom: 1em;
  }
  body.hide-nav nav {
    display: none;
  }
}
@media only screen and (max-width: 660px) {
  html {
    padding: 0 .8em;
  }

  header {
    margin-bottom: 1em;
  }

  nav {
    width: 100%;
    float: none;
    overflow: auto;
    margin-top: -1.4em;
  }

  .content {
    display: none;
    margin-left: 0 !important;
  }

  body.hide-nav .content {
    display: block;
  }
}
.left {
  float: left;
}

.right {
  float: right;
}

a img.gamelink {
  border: 6px solid #111;
}

a:hover img.gamelink {
  border: 6px solid #37a;
}

header {
  border-bottom-width: 2px;
}
header:after {
  content: '';
  display: block;
  clear: both;
}
header a {
  display: inline-block;
  font-size: 1.8em;
  line-height: 5rem;
  font-weight: normal;
  vertical-align: middle;
}
header a:before {
  display: inline-block;
  font-variant: normal;
  text-transform: none;
  speak: none;
  text-decoration: inherit;
  text-align: left;
  vertical-align: middle;
}
@media only screen and (max-width: 660px) {
  header a {
    font-size: 1.4em !important;
    line-height: 4.4rem;
  }
}
@media only screen and (max-width: 360px) {
  header a {
    font-size: 1.4em !important;
  }
}
header #logo {
  font-size: 2em;
  font-weight: bold !important;
}
@media only screen and (max-width: 660px) {
  header #logo {
    font-size: 1.5em !important;
  }
}
@media only screen and (max-width: 360px) {
  header #logo {
    font-size: 1.3em !important;
  }
}
header #mobile-nav {
  float: right;
  display: none;
  margin-left: 1.5rem;
}
header #mobile-nav:before {
  content: '\f0c9';
}
@media only screen and (max-width: 800px) {
  header #mobile-nav {
    display: block;
  }
}
@media only screen and (max-width: 360px) {
  header #mobile-nav {
    margin-left: 1rem;
  }
}
header #scroll-to-top {
  display: none;
  position: fixed;
  bottom: 2em;
  text-align: center;
  right: 2em;
  width: 2em;
  height: 2em;
  line-height: 1.5em;
  color: #fff;
  opacity: 0.6;
}
header #scroll-to-top:hover {
  opacity: 1;
}
header #scroll-to-top:before {
  content: '\F139';
  top: 1px;
  font-size: 3rem;
}
@media only screen and (max-width: 660px) {
  header #scroll-to-top {
    opacity: 0.9;
  }
}
@media only screen and (max-width: 360px) {
  header #scroll-to-top {
    right: 1em;
    bottom: 1em;
  }
}

html.day-mode #scroll-to-top {
  color: #181818;
}

#scroll-to-top:before,
#mobile-nav:before,
html.day-mode #view-mode:before,
html.night-mode #view-mode:before {
  position: relative;
  font-family: fontello;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.day-mode #view-mode:before {
  content: '\e81f';
  top: -1px;
}

html.night-mode #view-mode:before {
  content: '\e81e';
}

nav {
  border-width: 2px;
  border-radius: .3em;
}
nav h3 {
  font-size: 1.3em;
  margin: 0;
  padding: .5em 1.5rem;
  border-top-width: 2px;
  border-bottom-width: 2px;
}
nav p {
  margin: 1em;
}
nav > ul {
  margin: 1em 0;
}
nav li {
  list-style: none;
  display: block;
}
nav li a:hover {
  background-color: #222;
}
nav li a {
  display: block;
  padding: .2em 1.5rem;
}
nav li li a {
  padding-left: 3.5rem !important;
}
nav li li li a {
  padding-left: 5.5rem !important;
}

html.day-mode nav li a:hover {
  background-color: transparent;
}

@media only screen and (max-width: 660px) {
  nav {
    width: 100%;
    float: none;
    overflow: auto;
    border: none;
  }
  nav h3 {
    text-align: left;
    padding: 1rem 0 .4rem;
    font-size: 1.5em;
  }
  nav > a {
    display: none;
  }
  nav > ul {
    float: left;
    font-size: 1.1em;
    margin-top: .2em;
  }
  nav li a:hover {
    background-color: inherit;
  }
  nav li a {
    display: block;
    padding-left: 0 !important;
  }
  nav li li a {
    padding-left: 2em !important;
  }
  nav li li li a {
    padding-left: 4em !important;
  }
}
.content h3 a {
  font-size: 0.8em;
  float: right;
}
.content h4 span {
  float: right;
  padding-left: 2em;
  font-size: 0.8em;
}
.content h4:after {
  content: '';
  display: block;
  clear: both;
}
.content ul, .content ol {
  margin-bottom: 1em;
}
.content ul li {
  margin-left: 40px;
  padding: 0 0 5px 5px;
}
.content ol li {
  list-style: decimal;
  margin-left: 40px;
  padding: 0 0 5px 5px;
}
.content ol li ul li {
  list-style: square;
  margin-left: 20px;
}
.content #gamelinks {
  margin: 20px 0 15px;
  text-align: center;
}
.content #gamelinks a {
  display: inline-block;
  width: 33%;
}

.insert {
  border-width: 2px;
  border-radius: .3em;
  width: 15rem;
  margin: .5em 3em 1em;
}
@media only screen and (max-width: 660px) {
  .insert {
    width: 14rem;
    margin: .5em 2em 1em;
  }
}
.insert:not(.right) {
  margin-left: 0;
}
.insert.right {
  margin-right: 0;
}
@media only screen and (max-width: 360px) {
  .insert {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}
.insert h3 {
  font-size: 1em;
  margin: 0;
  padding: .5em 1em;
  border-top-width: 2px;
  border-bottom-width: 2px;
}
.insert p {
  margin: 1em;
}
.insert p:last-child {
  padding-bottom: .5em;
}

h2 + .insert,
h3 + .insert,
h4 + .insert,
h5 + .insert {
  margin-top: 0;
}

.gallery-btn {
  display: inline-block;
  float: right;
  margin-left: .5em;
  padding: 0 !important;
  max-width: 36px;
}
.gallery-btn.hide {
  display: none;
}
@media only screen and (max-width: 660px) {
  .gallery-btn {
    max-width: 24px;
  }
}
.gallery-btn span {
  position: relative;
  display: block;
  float: left;
  padding: 0;
  margin: 0;
  line-height: 1px;
  border: 1px solid transparent;
  overflow: hidden;
  background-color: #a33;
  background-clip: padding-box;
  transition: background-color 300ms;
  border-radius: 24px;
}
.gallery-btn.active span, .gallery-btn:hover span {
  background-color: #ff6;
}
.gallery-btn.col1 span {
  width: 36px;
  height: 36px;
}
@media only screen and (max-width: 660px) {
  .gallery-btn.col1 span {
    width: 24px;
    height: 24px;
  }
}
.gallery-btn.col2 span {
  width: 18px;
  height: 18px;
}
@media only screen and (max-width: 660px) {
  .gallery-btn.col2 span {
    width: 12px;
    height: 12px;
  }
}
.gallery-btn.col3 span {
  width: 12px;
  height: 12px;
}
@media only screen and (max-width: 660px) {
  .gallery-btn.col3 span {
    width: 8px;
    height: 8px;
  }
}
.gallery-btn.col4 span {
  width: 9px;
  height: 9px;
}
@media only screen and (max-width: 660px) {
  .gallery-btn.col4 span {
    width: 6px;
    height: 6px;
  }
}

html.day-mode .gallery-btn.active span, html.day-mode .gallery-btn:hover span {
  background-color: #1E90FF;
}

.gallery {
  display: inline-block;
  vertical-align: top;
  padding: 0 .4em;
}
@media only screen and (max-width: 660px) {
  .gallery {
    padding: 0 .2em;
  }
}
.gallery a {
  display: block;
  margin: .8em 0;
}
@media only screen and (max-width: 660px) {
  .gallery a {
    margin: .4em 0;
  }
}
.gallery img {
  display: none;
}

html.lightbox,
html.lightbox body {
  position: fixed;
  overflow: hidden;
  width: 100%;
  max-width: 10000px;
  padding: 0;
  margin: 0;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 5000;
  pointer-events: all;
  user-select: all;
}
#lightbox a {
  font-family: fontello;
  position: absolute;
  display: block;
  font-size: 2.5rem;
  line-height: 2.5rem;
  height: 2.5rem;
  z-index: 5000;
  cursor: default;
}
@media only screen and (max-width: 660px) {
  #lightbox a {
    cursor: default;
  }
}
#lightbox .next, #lightbox .prev {
  display: table;
  top: 50%;
  width: 50%;
}
#lightbox .prev:before, #lightbox .next:before {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}
@media only screen and (max-width: 660px) {
  #lightbox .prev:before, #lightbox .next:before {
    display: none;
  }
}
#lightbox .prev {
  left: 0;
  text-align: left;
}
#lightbox .prev:before {
  content: '\E840';
  padding-left: .5em;
}
@media only screen and (max-width: 660px) {
  #lightbox .prev:before {
    padding-left: 0;
  }
}
#lightbox .next {
  right: 0;
  text-align: right;
}
#lightbox .next:before {
  content: '\E83F';
  padding-right: .5em;
}
@media only screen and (max-width: 660px) {
  #lightbox .next:before {
    padding-right: 0;
  }
}
#lightbox .close {
  top: .5em;
  right: .5em;
}
@media only screen and (orientation: landscape) {
  #lightbox .close {
    top: 1.2em;
  }
}
#lightbox .close:before {
  content: '\E83D';
}
#lightbox img {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  z-index: 0;
  opacity: 0;
  max-width: 80%;
  max-height: 80%;
}
@media only screen and (max-width: 660px) {
  #lightbox img {
    max-width: 90%;
    max-height: 90%;
  }
}
#lightbox .spinner {
  font-size: 7rem;
  height: 7rem;
  width: 7rem;
  line-height: 7rem;
  top: 50%;
  left: 50%;
  margin-top: -3.5rem;
  margin-left: -3rem;
  z-index: 52000;
  pointer-events: none;
  color: #333;
}
#lightbox .spinner:before {
  content: '\E807';
  display: block;
  width: 6rem;
  height: 7rem;
  animation: spinner-spin 2s infinite linear;
}
#lightbox span {
  position: absolute;
  z-index: 5000000;
  font-size: 1em;
  padding: .5em;
  background: black;
  line-height: 1.5em;
}

html.day-mode #lightbox {
  background-color: rgba(0, 0, 0, 0.9);
}

@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
#shell-wrapper {
  float: left;
  overflow: hidden;
  text-align: center;
}
@media only screen and (max-width: 1024px) {
  #shell-wrapper {
    float: none;
    margin: auto;
  }
}

#shell-outer {
  overflow: hidden;
  display: inline-block;
  border-width: 3px;
  border-radius: .3em;
}

#shell-outer, #shell-outer * {
  box-sizing: content-box !important;
}

#shell {
  position: relative;
  border-radius: .3em;
}
#shell:before {
  content: 'loading...';
  display: block;
  position: absolute;
  font-size: 2em;
  width: 100%;
  top: 50%;
  transform: translate(0, -60%);
}

#game {
  border-radius: .3em;
}

html.night-mode h3.day-mode-message {
  display: none;
}

h3.day-mode-message {
  text-align: center;
}
h3.day-mode-message a {
  float: none;
  font-size: 1em;
  white-space: nowrap;
}

.game-info {
  overflow: hidden;
}
.game-info.gogopop, .game-info.puckerball {
  margin-left: calc(428px + 3em);
}
.game-info.galaxoid {
  margin-left: calc(340px + 3em);
}
.game-info .insert {
  width: 100%;
  margin: 0 0 2em;
}
@media only screen and (max-width: 1024px) {
  .game-info {
    width: 100%;
    margin: 2em 0 !important;
  }
  .game-info .insert {
    width: 48%;
    float: left;
    margin: 0;
  }
  .game-info .insert:last-child {
    float: right;
  }
}
@media only screen and (max-width: 660px) {
  .game-info .insert {
    width: 100%;
    float: none;
    margin-bottom: 1em;
  }
  .game-info .insert h3 {
    border-bottom-width: 2px;
  }
}

code {
  display: block;
  font-family: "Source Code Pro", monospace;
  white-space: pre;
  margin: 1em 0;
  padding: .8em 1em;
  background-color: #222;
  color: #CCC;
  overflow: hidden;
  overflow-x: auto;
}

code strong,
code strong * {
  font-weight: normal;
  color: #4682B4!important;
}

code em,
code em * {
  font-weight: normal;
  font-style: normal;
  color: #DC4F49!important;
}

html.day-mode code {
  background-color: #f4f9f9;
  color: #333;
}
html.day-mode code strong,
html.day-mode code strong * {
  color: #1b4e79!important;
}
html.day-mode code em,
html.day-mode code em * {
  color: #b3130c!important;
}

code.show-line-numbers {
  position: relative;
  padding-left: 3.4em !important;
}

code.show-line-numbers:after {
  content: '';
  height: 0.9em;
  background-color: inherit;
}

code.show-line-numbers:after,
code.show-line-numbers:before {
  width: 2.7em;
  display: block;
  word-spacing: 2.5em;
  position: absolute;
  left: 0;
  padding-right: .8em;
  text-align: right;
  white-space: normal;
  box-sizing: border-box;
  user-select: none;
}

code.show-line-numbers:before {
  content: '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99';
  border-right-width: 1px;
}

code.inline {
  display: inline !important;
  white-space: normal;
  user-select: text;
  padding: .2em .4em !important;
}

code.inline:before,
code.inline:after {
  display: none;
}

/*!
Date: 24 Fev 2015
Author: Pedro Oliveira <kanytu@gmail . com>
*/
html.night-mode .hljs {
  color: #a9b7c6;
  background: #282b2e;
  display: block;
  overflow-x: auto;
}
html.night-mode .hljs-number,
html.night-mode .hljs-literal,
html.night-mode .hljs-symbol,
html.night-mode .hljs-bullet {
  color: #6897BB;
}
html.night-mode .hljs-keyword,
html.night-mode .hljs-selector-tag,
html.night-mode .hljs-deletion {
  color: #cc7832;
}
html.night-mode .hljs-variable,
html.night-mode .hljs-template-variable,
html.night-mode .hljs-link {
  color: #629755;
}
html.night-mode .hljs-comment,
html.night-mode .hljs-quote {
  color: #808080;
}
html.night-mode .hljs-meta {
  color: #bbb529;
}
html.night-mode .hljs-string,
html.night-mode .hljs-attribute,
html.night-mode .hljs-addition {
  color: #6A8759;
}
html.night-mode .hljs-section,
html.night-mode .hljs-title,
html.night-mode .hljs-type {
  color: #ffc66d;
}
html.night-mode .hljs-name,
html.night-mode .hljs-selector-id,
html.night-mode .hljs-selector-class {
  color: #e8bf6a;
}
html.night-mode .hljs-emphasis {
  font-style: italic;
}
html.night-mode .hljs-strong {
  font-weight: bold;
}

/*! Base16 Atelier Sulphurpool Light - Theme 
 * by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) 
 * Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
html.day-mode {
  /* Atelier-Sulphurpool Comment */
  /* Atelier-Sulphurpool Red */
  /* Atelier-Sulphurpool Orange */
  /* Atelier-Sulphurpool Green */
  /* Atelier-Sulphurpool Blue */
  /* Atelier-Sulphurpool Purple */
}
html.day-mode .hljs-comment,
html.day-mode .hljs-quote {
  color: #6b7394;
}
html.day-mode .hljs-variable,
html.day-mode .hljs-template-variable,
html.day-mode .hljs-attribute,
html.day-mode .hljs-tag,
html.day-mode .hljs-name,
html.day-mode .hljs-regexp,
html.day-mode .hljs-link,
html.day-mode .hljs-name,
html.day-mode .hljs-selector-id,
html.day-mode .hljs-selector-class {
  color: #c94922;
}
html.day-mode .hljs-number,
html.day-mode .hljs-meta,
html.day-mode .hljs-built_in,
html.day-mode .hljs-builtin-name,
html.day-mode .hljs-literal,
html.day-mode .hljs-type,
html.day-mode .hljs-params {
  color: #c76b29;
}
html.day-mode .hljs-string,
html.day-mode .hljs-symbol,
html.day-mode .hljs-bullet {
  color: #ac9739;
}
html.day-mode .hljs-title,
html.day-mode .hljs-section {
  color: #3d8fd1;
}
html.day-mode .hljs-keyword,
html.day-mode .hljs-selector-tag {
  color: #6679cc;
}
html.day-mode .hljs {
  display: block;
  overflow-x: auto;
  background: #f5f7ff;
  color: #4e5677;
}
html.day-mode .hljs-emphasis {
  font-style: italic;
}
html.day-mode .hljs-strong {
  font-weight: bold;
}
