/*! normalize.css v1.1.3 | MIT License | git.io/normalize */

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }

/* ==========================================================================
   Base
   ========================================================================== */
html { font-size: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; }
body { margin: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
h1 { font-size: 24px; margin: 0 0 .67em; font-weight: normal; font-style: normal; color: #2c348a; }
h2 { font-size: 18px; margin: 0 0 10px; font-weight: normal; font-style: normal; text-transform: uppercase; }
b, strong { font-weight: bold; }
p { margin: 1em 0; }
dl, menu, ol, ul { margin: 1em 0; }
menu, ol, ul { padding: 0 0 0 40px; }
svg:not(:root) { overflow: hidden; }

h2+p { font-size: 14px; margin: 0 0 20px; }


button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

html, button, input, select, textarea { color: #333; }
html { font-size: 1em; line-height: 1.4; }
::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
audio, canvas, img, video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }

/*-----
WEB FONTS
-------*/

@font-face {
    font-family: 'gabriel_sans_condblack';
    src: url('../fonts/gabriel_sans_cond_black-webfont.eot');
    src: url('../fonts/gabriel_sans_cond_black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gabriel_sans_cond_black-webfont.woff') format('woff'),
         url('../fonts/gabriel_sans_cond_black-webfont.ttf') format('truetype'),
         url('../fonts/gabriel_sans_cond_black-webfont.svg#gabriel_sans_condblack') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gabriel_sans_condlight';
    src: url('../fonts/gabriel_sans_cond_light-webfont.eot');
    src: url('../fonts/gabriel_sans_cond_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gabriel_sans_cond_light-webfont.woff') format('woff'),
         url('../fonts/gabriel_sans_cond_light-webfont.ttf') format('truetype'),
         url('../fonts/gabriel_sans_cond_light-webfont.svg#gabriel_sans_condlight') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*-----
BASE STYLES
-------*/

*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
body { font-size: 62.5%; color: #fff; background-color: rgba(0,0,0,1); background-size: cover; }

.clearfix:before,.clearfix:after, .grid:before, .grid:after {content: " ";display: table;}
.clearfix:after, .grid:after { clear: both; }
.grid { clear: both; }

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body { padding: 0; overflow: hidden; }
a { color: #e67e22; }


.home { background: #80a698; padding: 30px; text-align: center; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 100; color: #000; }
.home h1 { color: #fff; font-size: 26px; font-family: 'gabriel_sans_condlight'; }

/*---
BUTTONS
---*/

.btn { border-radius: 10px; padding: 10px 20px; font-family: 'gabriel_sans_condblack'; font-size: 26px; text-decoration: none; display: inline-block; border: none; }
.btn-secondary { color: #bf3b3b; font-size: 16px; font-family: 'gabriel_sans_condlight'; }
.btn-primary { background: #fff; color: #bf3b3b; text-transform: uppercase; box-shadow: 10px 10px 0 rgba(0,0,0,0.3); transition: all .1s; position: relative; }
.btn-primary:hover { box-shadow: 9px 9px 0 rgba(0,0,0,0.3); }
.btn-primary:active { box-shadow: 2px 2px 0 rgba(0,0,0,0.3); position: relative; top: 3px; left: 3px; }

@media only screen and (max-width: 480px) {
    .btn { font-size: 18px; }
}

/*---
THE GAME
---*/

.the-game,
.the-meat { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.the-game { padding-top: 80px; }

/*---
QUESTION
---*/
.question { color: #fff;  font-family: 'gabriel_sans_condblack'; text-transform: uppercase; text-align: center; font-size: 22px; }

@media only screen and (min-width: 600px) and (min-height: 768px) {
    .question { font-size: 32px; }
}

@media only screen and (max-height: 480px) {
    .the-game { padding-top: 48px; }
    .question { font-size: 20px; }
}

/*---
ANSWER
---*/
.answer { width: 160px; text-align: center; height: 160px; font-family: gabriel_sans_condblack; position: absolute; left: 50%; top: 50%; margin: -80px 0 0 -80px;  }

.answer p { margin: 0; text-align: center; }
.drag-the-answer { width: 160px; height: 160px; border-radius: 50%; z-index: 10; xbox-shadow: 20px 20px 0 rgba(0,0,0,0.1); transition: all 250ms; position: relative; top: 0; left: 0; text-transform: uppercase;font-size: 24px; line-height: 24px; padding: 10px; overflow: hidden; }
.drag-the-answer img { width: 100%; border-radius: 50%; }
.drag-the-answer:active { xbox-shadow: 10px 10px 0 rgba(0,0,0,0.1); position: relative; top: 2px; left: 2px; }

@media only screen and (min-width: 600px) and (min-height: 768px) {
    .answer { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
    .drag-the-answer { width: 220px; height: 220px; font-size: 34px; line-height: 34px; }
}

@media only screen and (min-width: 768px) and (min-height: 768px) {
    .answer { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
    .drag-the-answer { width: 300px; height: 300px; font-size: 40px; line-height: 40px; }
}

@media only screen and (max-height: 480px) {
    .answer { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
    .drag-the-answer { width: 150px; height: 150px; font-size: 22px; line-height: 22px; }  
}

/*---
ANSWER TARGETS
---*/
.answer-button { display: block; border-radius: 50%; background: #fff; position: absolute; top: 50%; height: 200px; width: 200px; margin: -100px 0 0; z-index: -1; text-shadow: 0 0 10px rgba(0,0,0,0.5); opacity: 1; font-family: gabriel_sans_condblack; padding: 50px; line-height: 200px; color: #003; font-size: 5em; text-decoration: none; background-color: #bf3b3b;
background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,.1) 25px, rgba(255,255,255,.1) 50px); }
.right { right: -140px; text-align: left; }
.left { left: -140px; text-align: right;  }
.down { left: 50%; text-align: right; bottom:-120px; margin:0 0 0 -100px; top: auto;  }
.up { left: 50%; text-align: right; top:-100px; margin:0 0 0 -100px;  }

.left svg { height: 40px; width: 40px; position: absolute; right: 10px; top: 50%; margin: -20px 0 0; }
.right svg { height: 40px; width: 40px; position: absolute; left: 10px; top: 50%; margin: -20px 0 0; }
.down svg { height: 40px; width: 40px; position: absolute; left: 50%; top: 0; margin: 0 0 0 -20px; }
.incorrect svg { height: 30px; width: 30px; }
.left.incorrect svg { margin: -15px 0 0; }
.right.incorrect svg { margin: -15px 0 0; }
.down.incorrect svg { margin: 0 0 0 -15px; }

@media only screen and (min-width: 600px) and (min-height: 768px) {
    .answer-button { height: 300px; width: 300px; margin: -150px 0 0; }
    .right { right: -180px }
    .left { left: -180px; }
    .down { bottom: -160px; margin: 0 0 0 -150px; }
    .up { top: -140px; margin: 0 0 0 -150px; }
    
    .left svg { height: 70px; width: 70px; position: absolute; right: 10px; top: 50%; margin: -35px 0 0; }
    .right svg { height: 70px; width: 70px; position: absolute; left: 10px; top: 50%; margin: -35px 0 0; }
    .down svg { height: 70px; width: 70px; position: absolute; left: 50%; top: 10px; margin: 0 0 0 -35px; }
    .incorrect svg { height: 50px; width: 50px; }
    .left.incorrect svg { margin: -25px 0 0; }
    .right.incorrect svg { margin: -25px 0 0; }
    .down.incorrect svg { margin: 0 0 0 -25px; }

}


/*---
SCORE
---*/

.score-holder { width: 100%; text-align: right; padding: 0 20px; margin: 0 0 30px; }
.score-added { font-size: 32px; color: #bf3b3b; display: inline-block; font-family: 'gabriel_sans_condlight'; position: relative; left: 0; opacity: 0; }
.score-added.animate { -webkit-animation-name: score-added; -webkit-animation-duration: 1s;-webkit-animation-iteration-count: 1; animation-name: score-added; animation-iteration-count: 1; animation-duration: 1s; }
.score { font-family: 'gabriel_sans_condlight'; text-align: right; font-size: 32px;  display: inline-block; }
	
.total-score { display: none; padding: 30px; text-align: center; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 100; color: #000; display: flex; align-items: center; justify-content: center; }

/*---
FINAL SCORE
---*/
.game-statistics { padding: 30px; text-align: center; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 100; color: #000; display: flex; align-items: center; justify-content: center;  }
.your-final-score-heading, .personal-best-score { color: #fff; font-size: 26px; font-family: 'gabriel_sans_condblack'; margin: 0 0 15px; text-transform: uppercase; }
.personal-best-score { margin: 0 0 30px; font-size: 18px; }
.personal-best-alert { font-size: 24px; font-family: 'gabriel_sans_condlight'; margin: 0 0 30px; position: absolute; left: 0; top: 0; width: 100%; padding: 15px;}
.your-final-score { background: #fff; width: 160px; height: 160px; line-height: 160px; border-radius: 50%; z-index: 10; font-size: 40px; box-shadow: 20px 20px 0 rgba(0,0,0,0.1); transition: all 250ms; position: relative; top: 0; left: 0; margin: 0 auto 40px; font-family: 'gabriel_sans_condblack'; }
.play-again { margin: 0 0 20px; }

.levels-overview { list-style: none; margin: -20px 0 20px; padding: 0; font-size: 11px; }
.levels-overview li { margin: 0 0 5px; }
.levels-overview strong { text-transform: uppercase; }

@media only screen and (min-width: 600px) and (min-height: 600px) {
    .levels-overview { margin: 0 0 30px; font-size: 18px; }
}

/*---
TIMER
---*/

.timer-animation { margin: 0; padding: 0; list-style: none; position: absolute; left: 0; bottom: 10px; width: 100%; }
.circle { float: left; width: 10%; text-align: center; }
.circle span { display: inline-block; width: 20px; height: 20px; background-color: rgba(217,208,91,1); border-radius: 50%; opacity: 1; }
.time-up .circle span { background: rgba(0,0,0,0.1); }

@media only screen and (min-width: 600px) and (min-height: 768px) {
    .circle span { width: 40px; height: 40px; }
}




/*---
LOADING SCREEN
---*/
.loading-screen { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #333333; z-index: 150; background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,.1) 25px, rgba(255,255,255,.1) 50px); }
.spinner { width: 40px; height: 40px; position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; }
.double-bounce1, .double-bounce2 { width: 100%; height: 100%; border-radius: 50%; background-color: #fff; opacity: 0.34; position: absolute; top: 0; left: 0;   animation: sk-bounce 2.0s infinite ease-in-out; }
.double-bounce2 { animation-delay: -1.0s; }

/*---
INTRO SCREEN
---*/
.the-intro { position: absolute; left: 0; top: 50%; width: 100%; margin: -195px 0 0; }
.intro-screen { position: absolute; right: 0; top: 0; width: 100%; height: 100%; background: #333333; z-index: 149; background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,.1) 25px, rgba(255,255,255,.1) 50px);  transition: right .25s ease; }
.intro-flex { justify-content: center; align-items: center; width: 100%; height: 100%; display: flex; }
.hold-the-help { position: absolute; right: 10px; top: 10px; }
.hold-the-help .btn { border-radius: 50%; width: 50px; height: 50px; padding: 0; text-align: center; line-height: 50px; }
.intro-page { width: 100%; height: auto; text-align: center; max-width: 500px; padding: 0 20px; }
.game-title { font-family: 'gabriel_sans_condblack'; text-transform: uppercase; margin: 0 auto 20px; line-height: 40px; text-shadow: 0 0 2px rgba(0,0,0.3); word-break: break-strict; width: 280px; height: 80px; }
.game-summary { text-transform: uppercase; line-height: 1.5; margin: 0 auto 20px; height: 200px; width: 280px; }

.intro-screen.game-started { right: 100%; }
.intro-screen.help-showing { right: -100%; }

/*---
LEVEL INTRO
---*/
.level-intro { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000000; z-index: 101; text-align: center; background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,.1) 25px, rgba(255,255,255,.1) 50px); }
.level-name { font-size: 18px; border: 1px solid #fff; padding: 10px 20px; border-radius: 10px; display: table; margin: 0 auto 20px; }
.level-categories { margin: 10px 0 20px; }
.level-details { font-size: 14px; }
ul.level-categories {  list-style-type: none; padding:0;  }
.level-categories li { display: inline; font-size: 20px; }
.level-categories li::before { content: ', '; }
.level-categories li:first-child::before { display: none; }


/*---
HELP SCREEN
---*/

.about-the-game-screen { left: -100%; position: absolute; top: 0; width: 100%; height: 100%; background: #333333; z-index: 149; background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,.1) 25px, rgba(255,255,255,.1) 50px); transition: left .25s ease; }
.about-the-game-screen.visible { left: 0; }

@media only screen and (min-width: 600px) {
    .game-title,
    .game-summary { width: 450px; }    
}
@media only screen and (min-height: 768px) {
    .game-title { height: 140px; }
    .game-summary { height: 240px; }    
}
@media only screen and (max-height: 767px) {
    .game-title { height: 60px; }
    .game-summary { height: 150px; }    
}

@media only screen and (max-height: 400px) {
    .game-title { height: 40px; overflow: hidden; }
    .game-summary { height: 130px; }    
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
  }
}



/* Chrome, Safari, Opera */
@-webkit-keyframes score-added {
    0%   { left: -45px; opacity: 0; }
    75% { left: 0; opacity: 1; }
	100% { opacity: 0; }
}

/* Standard syntax */
@keyframes score-added {
    0%   { left: -45px; opacity: 0; }
    75% { left: 0; opacity: 1; }
	100% { opacity: 0; }
} 	
	
	
/* Chrome, Safari, Opera */
@-webkit-keyframes scores {
    0%   { height: 100%;}
    100% { height: 0%;}
}

/* Standard syntax */
@keyframes scores {
    0%   { height: 100%;}
    100% { height: 0%;}
} 

/* Chrome, Safari, Opera */
@-webkit-keyframes time-fade {
    0%   { background: #d9d05b;}
	100% { background: rgba(0,0,0,0.1);}
}

/* Standard syntax */
@keyframes time-fade {
    0%   { background: #d9d05b;}
	100% { background: rgba(0,0,0,0.1);}
} 



/*-----
HELPER CLASSES
-------*/

.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

@media screen and (-webkit-min-device-pixel-ratio:0) { 

/* Stop zoom in on form field */
 select:focus, textarea:focus, input:focus {
 font-size: 16px;
 }
}



/*-----
SVG
-------*/


.hide { display:none !important; }

.branding-main-fg { color: rgba(200,200,200,1); }
.branding-accent-bg { background-color: rgba(0,0,0,1); }
.branding-accent-fg { color: rgba(200,200,200,1); }










