/**
 * Variables
 */
/**
 * Mixins
 */
.hidden {
  display: none !important;
}
/* Animations */
@keyframes depress {
  0% {
    height: 100px;
    width: 100px;
  }
  50% {
    height: 90px;
    width: 90px;
  }
  100% {
    height: 100px;
    width: 100px;
  }
}
@keyframes bounceUp {
  0% {
    top: -10px;
  }
  25% {
    height: 10px;
  }
  50% {
    height: -5px;
  }
  75% {
    height: 5px;
  }
  100% {
    height: 0px;
  }
}
html.games .nav ul li a.games {
  background-image: url(../static/nav_games_selected.png) !important;
}
html:not(.isfullscreen) {
  /**
     * Game
     */
  /* PSEUDO FULLSCREEN */
}
html:not(.isfullscreen) main.game {
  background: #cff9fe url(../static/games/glare_cage.png) repeat-x center center;
  background-size: cover;
  height: auto;
}
html:not(.isfullscreen) .content {
  position: relative;
  top: auto;
  left: auto;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  overflow: hidden;
}
html:not(.isfullscreen) .content .wrapper {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}
html:not(.isfullscreen) .content .content-spacer {
  min-height: 900px;
  position: relative;
  padding-top: 200px;
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .content .content-spacer {
    padding-top: 150px;
    min-height: 700px;
  }
}
@media (max-width: 900px) {
  html:not(.isfullscreen) .content .content-spacer {
    padding-top: 200px;
  }
}
html:not(.isfullscreen) .controls {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: -80px auto 10px;
  height: 80px;
  right: 0;
  z-index: 999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-align: right;
  display: flex;
  flex-direction: row-reverse;
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls {
    max-width: 768px;
    height: 50px;
  }
}
@media (max-width: 768px) {
  html:not(.isfullscreen) .controls {
    max-width: 650px;
  }
}
html:not(.isfullscreen) .controls li {
  margin-left: 10px;
  display: block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  margin-top: 2px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls li:hover {
    margin-top: 0;
  }
}
html:not(.isfullscreen) .controls a {
  overflow: hidden;
  display: block;
  text-indent: 100%;
  white-space: nowrap;
  outline: none;
  height: 80px;
  width: 80px;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #eee;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a {
    width: 50px;
    height: 50px;
  }
}
html:not(.isfullscreen) .controls a.audio, html:not(.isfullscreen) .controls a.audio.unmuted {
  background: transparent url(../static/games/button_sound.png) no-repeat 0 0;
  background-size: 160px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.audio:hover, html:not(.isfullscreen) .controls a.audio.unmuted:hover {
    background-position: -80px 0;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.audio, html:not(.isfullscreen) .controls a.audio.unmuted {
    background-size: 100px 100px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.audio:hover, html:not(.isfullscreen) .controls a.audio.unmuted:hover {
    background-position: -50px 0;
  }
}
html:not(.isfullscreen) .controls a.audio.muted {
  background: transparent url(../static/games/button_sound.png) no-repeat 0 -80px;
  background-size: 160px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.audio.muted:hover {
    background-position: -80px -80px;
    margin-top: -2px;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.audio.muted {
    background-size: 100px 100px;
    background-position: -50px -50px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.audio.muted:hover {
    background-position: -50px -50px;
    margin-top: -2px;
  }
}
html:not(.isfullscreen) .controls a.cc, html:not(.isfullscreen) .controls a.cc.unmuted {
  background: transparent url(../static/games/button_cc.png) no-repeat 0 0;
  background-size: 160px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.cc:hover, html:not(.isfullscreen) .controls a.cc.unmuted:hover {
    background-position: 0 -80px;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.cc, html:not(.isfullscreen) .controls a.cc.unmuted {
    background-size: 100px 100px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.cc:hover, html:not(.isfullscreen) .controls a.cc.unmuted:hover {
    background-position: 0 -50px;
  }
}
html:not(.isfullscreen) .controls a.cc.muted {
  background: transparent url(../static/games/button_cc.png) no-repeat -80px 0;
  background-size: 160px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.cc.muted:hover {
    background-position: -80px -80px;
    margin-top: -2px;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.cc.muted {
    background-size: 100px 100px;
    background-position: -50px -50px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.cc.muted:hover {
    background-position: -50px -50px;
    margin-top: -2px;
  }
}
html:not(.isfullscreen) .controls a.close {
  background: transparent url(../static/games/button_close.png) no-repeat 0 0;
  background-size: 80px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.close:hover {
    background-position: 0 -80px;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.close {
    background-size: 50px 100px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.close:hover {
    background-position: 0 -50px;
  }
}
html:not(.isfullscreen) .controls a.fs {
  background: transparent url(../static/games/button_full_screen.png) no-repeat 0 0;
  background-size: 80px 160px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .controls a.fs:hover {
    background-position: 0 -80px;
  }
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) .controls a.fs {
    background-size: 50px 100px;
  }
}
@media (max-width: 1440px) and (hover: hover) {
  html:not(.isfullscreen) .controls a.fs:hover {
    background-position: 0 -50px;
  }
}
html:not(.isfullscreen) .fs .controls {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: -40px auto 10px;
  height: 40px;
  right: 0;
  z-index: 999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-align: right;
  display: flex;
  flex-direction: row-reverse;
}
html:not(.isfullscreen) .fs .controls li {
  margin-left: 10px;
  display: block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  margin-top: 2px;
}
html:not(.isfullscreen) .fs .controls a {
  overflow: hidden;
  display: block;
  text-indent: 100%;
  white-space: nowrap;
  outline: none;
  height: 30px;
  width: 30px;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #eee;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  margin-top: 7px;
}
html:not(.isfullscreen) .fs .controls a.audio, html:not(.isfullscreen) .fs .controls a.audio.unmuted {
  background: transparent url(../static/games/button_sound.png) no-repeat 0 0;
  background-size: 60px 60px;
}
html:not(.isfullscreen) .fs .controls a.audio.muted {
  background: transparent url(../static/games/button_sound.png) no-repeat 0 -30px;
  background-size: 60px 60px;
  margin-top: 7px;
}
html:not(.isfullscreen) .fs .controls a.cc, html:not(.isfullscreen) .fs .controls a.cc.unmuted {
  background: transparent url(../static/games/button_cc.png) no-repeat 0 0;
  background-size: 60px 60px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .fs .controls a.cc:hover, html:not(.isfullscreen) .fs .controls a.cc.unmuted:hover {
    background-position: 0 -30px;
  }
}
html:not(.isfullscreen) .fs .controls a.cc.muted {
  background: transparent url(../static/games/button_cc.png) no-repeat -30px 0;
  background-size: 60px 60px;
}
@media (hover: hover) {
  html:not(.isfullscreen) .fs .controls a.cc.muted:hover {
    background-position: -30px -30px;
    margin-top: -2px;
  }
}
html:not(.isfullscreen) .fs .controls a.close {
  background: transparent url(../static/games/button_close.png) no-repeat 0 0;
  background-size: 30px 60px;
  margin-right: 10px;
}
html:not(.isfullscreen) .fs .controls a.fs {
  background: transparent url(../static/games/button_full_screen.png) no-repeat 0 0;
  background-size: 30px 60px;
}
html:not(.isfullscreen) #game {
  text-align: center;
  font-size: 0;
  -webkit-user-select: none;
}
html:not(.isfullscreen) #game .game-border {
  /*           background-color: #78a8fc;
           clip-path: polygon(2% 1%, 98% 2%, 97% 98%, 4% 99%);
            -webkit-clip-path: polygon(2% 1%, 98% 2%, 97% 98%, 4% 99%);*/
  background-image: url(../static/games/shape.svg);
  background-repeat: no-repeat;
  padding: 30px 60px;
  z-index: 1000;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 1440px) {
  html:not(.isfullscreen) #game .game-border {
    max-width: 768px;
    padding: 24px 48px;
  }
}
@media (max-width: 768px) {
  html:not(.isfullscreen) #game .game-border {
    max-width: 650px;
    padding: 20px 40px;
  }
}
@media (max-width: 600px) {
  html:not(.isfullscreen) #game .game-border {
    padding: 18px 30px;
  }
}
html:not(.isfullscreen) #game .game-border .game-wrapper {
  position: relative;
  padding-top: 56%;
}
html:not(.isfullscreen) #game .game-border #game-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: 100%;
  /*
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                background-color: #000;
                width: 100%;
                max-width: 1000px;
                height: 100%;
                */
}
html:not(.isfullscreen) button {
  cursor: pointer;
}
html:not(.isfullscreen) .hidden {
  display: none !important;
}
html:not(.isfullscreen) #site.fs header {
  display: none;
}
html:not(.isfullscreen) #site.fs .content {
  position: relative;
  top: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
}
html:not(.isfullscreen) #site.fs .content-spacer {
  padding-top: 0;
  min-height: calc(100vh - 50px);
}
html:not(.isfullscreen) #site.fs .controls {
  margin-top: 0;
  max-width: 100vw;
}
html:not(.isfullscreen) #site.fs .game-wrapper {
  width: 100%;
  height: 100%;
  padding-top: 50px;
  position: static;
}
html:not(.isfullscreen) #site.fs .game-border {
  clip-path: none;
  -webkit-clip-path: none;
  padding: 0;
  max-width: 100vw;
  margin: 0 auto;
  background-color: transparent;
}
html:not(.isfullscreen) #site.fs #game-container {
  width: 100%;
  max-width: 100vw;
  background-color: transparent;
  margin-top: 50px;
}
@media screen and (max-aspect-ratio: 18/9) {
  html:not(.isfullscreen) #site.fs .game-border {
    width: 100vw;
  }
}
@media screen and (max-aspect-ratio: 4 / 3) {
  html:not(.isfullscreen) #site.fs .game-border {
    height: calc(76vw - 50px);
    width: 100vw;
  }
  html:not(.isfullscreen) #site.fs #game-container {
    height: calc(76vw - 50px);
  }
  html:not(.isfullscreen) #site.fs .content-spacer {
    min-height: 0;
    height: calc(76vw - 50px);
  }
}
html:not(.isfullscreen) #site.fs nav {
  display: none;
}
html:not(.isfullscreen) #site.fs footer {
  display: none;
}
