html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
input,
select,
textarea,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;


}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

img {
  border: 0;
}

:focus {
  outline: 0;
}

.clear {
  clear: both;
}

.grayscale {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  transition: all 0.5s ease-in;
}

@font-face {
  font-family: "helvetica-neue";
  src: local("☺"),
    url("../fonts/helvetica-neue/helvetica-neue-webfont.woff") format("woff"),
    url("../fonts/helvetica-neue/helvetica-neue-webfont.ttf") format("opentype"),
    url("../fonts/helvetica-neue/helvetica-neue-webfont.eot"),
    url("../fonts/helvetica-neue/helvetica-neue-webfont.svg#helvetica-neue-webfont'") format("svg");
}

@font-face {
  font-family: 'upheaval', system-ui;
  src: url("../fonts/primetime/primetime-webfont.eot");
  src: url("../fonts/primetime/primetime-webfont.eot?#iefix") format("embedded-opentype"),
    url("../fonts/primetime/primetime-webfont.woff2") format("woff2"),
    url("../fonts/primetime/primetime-webfont.woff") format("woff"),
    url("../fonts/primetime/primetime-webfont.ttf") format("truetype"),
    url("../fonts/primetime/primetime-webfont.svg#primetimeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ride the Fader";
  src: url("../fonts/ridethefader/RidetheFader.eot");
  src: url("../fonts/ridethefader/RidetheFader.eot?#iefix") format("embedded-opentype"),
    url("../fonts/ridethefader/RidetheFader.woff") format("woff"),
    url("../fonts/ridethefader/RidetheFader.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.score {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 32px;
  color: #fff;
  font-family: "Ride the Fader";
  padding: 10px;
  text-shadow: 1px 1px #313131;
}

.fullscreen,
.play-pause {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
  text-shadow: 1px 1px #313131;
  z-index: 200003;
  cursor: pointer;
}

.game-score {
  color: #fff;
  font-family: "Ride the Fader";
  padding: 10px;
  text-shadow: 1px 1px #313131;
}

.score-title {
  font-size: 12px;
  color: #fff;
  font-family: 'upheaval', system-ui;
  padding: 10px;
  text-shadow: 1px 1px #313131;
}

.isDesktop .mobile-item,
.isMobile .desktop-item {
  display: none;
}

.success .desktop-item,
.failed .desktop-item {
  display: none;
}

.desktop-item {
  position: absolute;
  width: 100%;
  height: 60px;
  z-index: 10;
  text-align: center;
  font-size: 32px;
  top: 50%;
  margin-top: -30px;
}

.button-style {
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  outline: none;
  position: relative;
  background: #fff;
  color: #656460;
  box-shadow: 0 6px #a5a49e;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
  padding: 10px;
  border-radius: 5px;
  animation: pressedButton 450ms ease-in;
  animation-iteration-count: infinite;
}

.button-style.space {
  padding: 10px 25px;
  font-size: 14px;
  margin-top: 10px;
}

@keyframes pressedButton {
  100% {
    box-shadow: 0 0 #a5a49e;
    top: 6px;
  }
}

html,
body {
  width: 100%;
  font-size: 16px;
  font-family: 'upheaval', system-ui;
  background: #1c1c1c;
  margin: 0;
  padding: 0;
}

.list-view {
  width: 570px;
  margin: 30px auto 0;
  border-top: 16px solid #e74123;
  background: #fff;
  padding: 0 15px;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.game-item {
  height: 252px;
  margin-bottom: 20px;
  overflow: hidden;
}

.game-item .photo {
  width: calc(100% - 190px);
  height: 252px;
  float: left;
  position: relative;
}

.photo a {
  display: block;
  position: absolute;
  z-index: 1000;
  left: 0px;
  bottom: 2px;
  padding: 6px 8px;
  font-size: 12px;
  color: #fff;
  background: #212121;
  line-height: 16px;
}

.photo a .fa {
  font-size: 16px;
  vertical-align: text-bottom;
  margin-right: 4px;
}

.game-item .actions *>span {
  text-indent: 36 !important;
  text-align: left;
}

.game-item:nth-child(odd) .actions,
.game-item:nth-child(odd) .photo {
  float: right;
}

.game-item:nth-child(odd) .photo a {
  left: initial;
  right: 0;
}

.game-item .actions {
  width: 190px;
  float: left;
}

.game-item .actions>* {
  height: 83px;
  background: #e74122;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  margin: 0;
  text-align: center;
  display: flex;
  padding: 0 11px;
  align-items: center;
  /*  font-weight: bold; */
  font-family: 'upheaval', system-ui;
}

.game-item .actions>*:nth-child(1) {
  font-size: 19px;
  justify-content: center;
}

.game-item .actions>*:nth-child(2) {
  background: url("./../images/play-icon.png") no-repeat #ba280d 11px center;
  text-indent: 36px;
}

.game-item .actions>*:nth-child(3) {
  background: url("./../images/play-icon.png") no-repeat #931700 11px center;
  text-indent: 36px;
  height: 84px;
}

.logo {

  margin: 40px auto 15px;
  font-weight: bold;
  text-align: center;
}

.logo .tagline {
  font-size: 16px;
  margin: 20px 0 0 0;
}

.footer {
  padding: 50px 0;
  text-align: center;
  font-family: 'upheaval', system-ui;
}

.iw-modalBox {
  padding: 5px;
}

.iw-modalOverlay {
  background: #000;
  opacity: 0.6;
}

svg {
  display: inline-block;
  width: 100%;
}

#control {
  width: 100px;
  height: 100px;
  background: red;
  display: none;
}

#game-holder {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

#game-splash,
#game-splash .background,
#game-splash .center-holder,
#tutorial-holder,
#glitch-holder,
#gesture-wrapper,
#preloader,
#end-game-holder,
#video-holder,
#video-holder video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

#end-game-holder,
#preloader,
#tutorial-holder {
  display: none;
  background: #1c1c1c;
  z-index: 200001;
}

#preloader {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.message {
  display: none;
  padding: 40px;
  max-width: 300px;
  color: #fff;
}

.message-finish {
  padding: 0;
  max-width: 320px;
  position: relative;
  left: 50%;
  margin-left: -160px;
  top: 50%;
  margin-top: -60px;
  text-align: center;
}

.message-finish a {
  width: 100%;
}

#game-splash {
  z-index: 200003;
}

#end-game-holder .center-holder,
#game-splash .center-holder {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#end-game-holder .content,
#game-splash .content {
  color: #fff;
  position: relative;
  z-index: 10;
}

#end-game-holder .content .game-score,
#game-splash .content .name {
  font-size: 52px;
  /*width: 100%;*/
  text-align: center;
  margin-bottom: 100px;
}

#end-game-holder .content .game-score {
  margin-bottom: 40px;
}


#end-game-holder .actions,
#game-splash .actions {
  text-align: center;
  width: 320px;
  display: inline-block;
}

#game-splash .copy {
  /* width: 240px; */
  height: 60px;
  position: absolute;
  bottom: 0;
  margin: 20px;
}

#game-splash .copy img {
  width: 70%;
  height: auto;
}

#end-game-holder .actions a,
#tutorial-holder .actions a,
#game-splash .actions a {
  display: inline-block;
  width: 280px;
  margin-bottom: 20px;
  background-color: #e74123;
  font-family: "upheaval", system-ui;

  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 6px;
}

#tutorial-holder .actions a {
  text-align: center;
  margin-top: 20px;
}

#video-holder .bg,
#game-splash .background {
  background-size: cover;
}

#video-holder .bg:before,
#game-splash .background:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: url(./../images/mask-3.png);
  content: "";
  background-size: 120% 140%;
  background-position: center;
}

#gesture-wrapper {
  z-index: 200002;
}

/* SVG RULES */

.hand,
.hand-double,
.hand-flick,
.hand-hold,
.hand-rock,
.hand-tap,
.hand-left,
.hand-right,
.hand-down,
.hand-up {
  fill: #fff0c3;
  stroke: #000;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*.success .pointer {*/

/*transition: fill 200ms ease-in-quad;*/

/*fill: green;*/

/*}*/

/*.failed .pointer {*/

/*transition: fill 200ms ease-in-quad;*/

/*fill: red;*/

/*}*/

.gesture-wrapper>.failed,
.gesture-wrapper>.success {
  display: table;
  width: 100%;
  height: 100%;
  animation: jumpOut 600ms ease-out;
  animation-iteration-count: 1;
}

.gesture-wrapper>.failed>svg,
.gesture-wrapper>.success>svg {
  display: none;
}

i {
  display: none !important;
}

.failed>.fa-times,
.success>.fa-check {
  display: table-cell !important;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  font-size: 54px;
  z-index: 100;
  position: relative;
  text-shadow: 1px 1px #313131;
}

.arrow-down,
.arrow-head,
.arrow-left,
.arrow-right,
.arrow-up,
.arrow-up-1,
.arrow-up-2,
.arrow-up-3,
.hold-1,
.hold-2,
.line-horizontal,
.line-rotate,
.line-vertical,
.notes,
.tap-1,
.tap-2 {
  fill: transparent;
  stroke: #cf0202;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-up-2,
.hold-1,
.tap-1 {
  opacity: 0.5;
}

.arrow-up-1,
.hold-2,
.tap-2 {
  opacity: 0.25;
}

.arrow-up-3,
.swipe-horizontal,
.swipe-rotate,
.swipe-vertical {
  opacity: 0.75;
}

.hold-1,
.hold-2,
.notes {
  opacity: 0;
}

/* ANIMATION KEYFRAMES */

@keyframes jumpIn {
  80% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes jumpOut {
  80% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes tap-double {
  0% {
    transform: rotateX(0deg);
  }

  10% {
    transform: rotateX(12.5deg);
  }

  25% {
    transform: rotateX(25deg);
  }

  35% {
    transform: rotateX(10deg);
  }

  50% {
    transform: rotateX(25deg);
  }
}

@keyframes tap {
  0% {
    transform: rotateX(0deg);
  }

  10% {
    transform: rotateX(12.5deg);
  }

  25% {
    transform: rotateX(25deg);
  }
}

@keyframes tap-circle {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  75% {
    transform: scale(1.05);
    opacity: 0.6;
  }

  80% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes hold {
  0% {
    transform: rotateX(0deg);
  }

  10% {
    transform: rotateX(12.5deg);
  }

  30% {
    transform: rotateX(25deg);
  }

  80% {
    transform: rotateX(25deg);
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.75;
  }
}

@keyframes swipe-left {
  0% {
    transform: translateX(0px);
  }

  25% {
    transform: translateX(-50px) rotateZ(-10deg);
  }

  50% {
    transform: translateX(0px);
  }
}

@keyframes swipe-right {
  0% {
    transform: translateX(0px);
  }

  25% {
    transform: translateX(50px) rotateZ(10deg);
  }

  50% {
    transform: translateX(0px);
  }
}

@keyframes swipe-up {
  0% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(-50px) rotateZ(10deg);
  }

  50% {
    transform: translateY(0px);
  }
}

@keyframes swipe-down {
  0% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(50px) rotateZ(-10deg);
  }

  50% {
    transform: translateY(0px);
  }
}

@keyframes flick-fade {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }
}

@keyframes flick {
  0% {
    transform: rotateZ(0deg);
  }

  10% {
    transform: translateY(-12px) rotateZ(50deg);
  }

  25% {
    transform: rotateZ(5deg);
  }
}

@keyframes spin {
  0% {
    transform: rotateZ(0deg);
  }

  10% {
    transform: translateY(-10deg) rotateZ(-20deg);
  }

  50% {
    transform: rotateZ(45deg);
  }
}

@keyframes rock-on {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }
}

@keyframes note {
  0% {
    transform: scale(0) rotateZ(0deg);
    opacity: 0;
  }

  20% {
    transform: scale(1.1) rotateZ(10deg);
  }

  40% {
    transform: scale(0.9) rotateZ(-10deg);
  }

  50% {
    opacity: 0.75;
  }

  60% {
    transform: scale(1.1) rotateZ(10deg);
  }

  80% {
    transform: scale(0.9) rotateZ(-10deg);
  }
}

/* SVG ANIMATION */

.gesture-wrapper>div {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 40%;
  max-width: 150px;
  max-height: 150px;
  min-width: 80px;
  min-height: 80px;
  height: auto;
  display: none;
  transform-origin: 50% 50%;
  opacity: 0;
}

.gesture-wrapper>.active {
  display: block;
  opacity: 1;
  animation: jumpIn 300ms ease-in-out;
  animation-iteration-count: 1;
  /*display: block;*/
}

.gesture-wrapper>.passive {
  display: block;
  animation: jumpOut 300ms ease-in-out;
  /*display: block;*/
}

.gesture-wrapper>div.success:after {
  background-color: rgb(80, 177, 28);
}

.gesture-wrapper>div.failed:after {
  background-color: #cf0202;
}

/*.isDesktop .gesture-wrapper > div:after {*/

/*opacity: 0;*/

/*}*/

.gesture-wrapper>div:after {
  position: absolute;
  content: "";
  background-color: #fff0c3;
  border-radius: 100%;
  opacity: 0.6;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .gesture-wrapper>div:after {
    background-color: #f5f5f5;
  }
}

.gesture-wrapper>div>svg {
  position: relative;
  z-index: 2;
}

.gesture-wrapper>div * {
  transform-origin: 50% 50%;
  perspective: 100px;
  /*position: absolute;*/
}

.hand {
  transform-origin: 25% 50%;
}

.hand-tap {
  animation: tap 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.hand-double {
  animation: tap-double 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.tap-1,
.tap-2 {
  animation: tap-circle 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.hand-hold {
  animation: hold 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.hold-1,
.hold-2 {
  animation: fade 1.25s ease-in backwards;
  animation-iteration-count: infinite;
}

.tap-2 {
  animation-delay: 0.2s;
}

.hand-left {
  animation: swipe-left 1.25s ease-in-out backwards;
  animation-iteration-count: infinite;
}

.hand-right {
  animation: swipe-right 1.25s ease-in-out backwards;
  animation-iteration-count: infinite;
}

.hand-up {
  animation: swipe-up 1.25s ease-in-out backwards;
  animation-iteration-count: infinite;
}

.hand-down {
  animation: swipe-down 1.25s ease-in-out backwards;
  animation-iteration-count: infinite;
}

.hand-flick {
  animation: flick 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.arrows {
  opacity: 0;
  animation: flick-fade 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.hand,
.swipe-rotate {
  animation: spin 1.25s ease-in-out backwards;
  animation-iteration-count: infinite;
}

.hand-rock {
  animation: rock-on 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.notes {
  animation: note 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

@media screen and (max-width: 760px) {
  .gesture-wrapper>div {
    max-width: 100px;
    max-height: 100px;
    min-width: 50px;
    min-height: 50px;
  }

  #game-splash .content .name {
    font-size: 24px;
    margin-bottom: 40px;
  }

  #game-splash .content .actions a {
    width: 200px;
    font-size: 12px;
    padding: 12px 15px;
  }

  #game-splash .copy {
    width: 120px;
    height: 30px;
  }
}

.mobile-title {
  display: none;
  font-size: 20px;
  text-align: center;
  margin-bottom: 11px;
  font-family: 'upheaval', system-ui;
}

@media screen and (max-width: 768px) {
  #game-splash .copy {
    width: 180px;
    height: 45px;
  }

  #game-splash .content .name {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 680px) {
  #end-game-holder .content .game-score {
    margin-bottom: 10px;
  }

  #end-game-holder .actions a,
  #tutorial-holder .actions a,
  #game-splash .actions a {
    margin-bottom: 0;
  }

  .game-item .actions {
    margin-top: -2px;
  }

  .game-item {
    margin-bottom: 40px;
  }

  .mobile-title {
    display: block;
  }

  .logo {
    /*  width: 140px; */
  }

  .logo img {
    width: 280px;
  }

  .list-view {
    margin-top: 0;
    width: 100%;
    border-top: 8px solid #e74123;
    padding: 0;
  }

  .game-item {
    height: auto;
  }

  .game-item .actions p {
    display: none;
  }

  .game-item .actions a {
    width: calc(50% - 22px);
    height: 57px !important;
    float: left;
  }

  .game-item .photo {
    height: auto;
  }

  .game-item .actions,
  .game-item .photo {
    float: none !important;
    width: 100%;
  }

  #game-splash .content .actions a {
    margin-bottom: 10px;
  }

  .photo img {
    width: 100%;
  }

  .score {
    font-size: 21px;
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {

  .fullscreen,
  .play-pause {
    padding: 8px;
  }

  .score {
    font-size: 12px;
    padding: 5px;
  }

  .message {
    padding: 10px;
    font-size: 12px;
  }

  .message-finish {
    max-width: 240px;
    margin-left: -130px;
  }

  .failed>.fa-times,
  .success>.fa-check {
    font-size: 32px;
  }

  .gesture-wrapper>div {
    max-width: 60px;
    max-height: 60px;
  }

  .game-item .actions a {
    width: 100%;
  }

  #game-splash .content .name {
    margin-bottom: 20px;
  }

  #game-splash .actions {
    width: 200px;
  }

  #end-game-holder .content .banner {
    margin-top: 5px;
  }

  #end-game-holder .content .banner img {
    height: 40px;
  }

  #end-game-holder .content .game-score {
    font-size: 22px;
    margin-bottom: 5px;
  }

  #end-game-holder .actions a,
  #tutorial-holder .actions a,
  #game-splash .content .actions a {
    width: 100px;
    font-size: 10px;
    margin-bottom: 5px;
    padding: 8px 16px;
  }

  #game-splash .copy {
    width: 80px;
    height: 20px;
    margin: 5px;
  }
}