*:root{
    font-size: 5vmin;
}
.not-loaded{
    display: none;
}
.table-cell{
    display: table-cell;
    vertical-align: middle;
    width:100%;
    height: 100%;
}
.preloader-appla{
    position: fixed;
    top:0;
    left:0;
    z-index: 9999999;
    background-color: black;
    display: table;
    width: 100%;
    height:100%;
    display: none;

}
.preloader {
    display: table-cell;
    vertical-align: middle;
    margin: auto;
}
canvas{
    margin: auto;
    display: block;
}



.backgrounds{
    width:100%;
    height: 100%;
    position: absolute;
}
.backgrounds .background {

    width:100%;
    position: absolute;
    top:0;
    left:0;

    height: 100%;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: center;

    background-size: auto 100%;
    opacity: 0;
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;

}

.backgrounds .background.active{
    opacity: 1;

    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
    background-image: url('../img/intro.jpg');

    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.disabled{
    pointer-events: none!important;
}


html {
    overflow: hidden;
    background-color: black;
    height:100%;
    width:100%;

    margin:0;
    padding: 0;

    text-transform: uppercase;

}

body {
    font-family: "Fred Fredburger Headline W04Bl";
    font-size: 16px;
    position:absolute;
    height:100%;
    width:100%;
    background-color: black;
    overflow-x: hidden;
    margin: 0;
    padding: 0;


}
#holder{
    overflow-x: hidden;
    width:100%;
    height:100%;
    margin: auto;

}

#inner-holder{
    position: relative;
    margin: auto;
    width:100%;

    height: 100%;


}
#content{
    margin: auto;

    height:100%;
    width:100%;

}
.page{
    display: none;
    width:100%;
    height:100%;
    overflow:hidden;
}
.page.active{
    display: block;
}
#inner-content{
    position: relative;
    width:100%;
    height:100%;

}

/*          CONTROLS        */

.control-container {
    position: absolute;
    width: 100%;
    top: 0;
    margin: auto;
    z-index: 99999991;
    height: 100%;
}


#homeBtt{

    position: absolute;
    cursor: pointer;
    background-image: url('../img/home_btt.png');
    background-size: 100% 100%;
    width:7.61%;
    height: 10.15%;
    left:20px;
    top:2%;

}
#soundBtt{

    position: absolute;
    cursor: pointer;
    background-image: url('../img/sound_on.png');
    background-size: 100% 100%;

    right:20px;
    top:2%;
    width:7.61%;
    height: 10.15%;
}
#soundBtt.active{
    background-image: url('../img/sound_off.png');
}

/*          INTRO               */

#title{
    position: relative;
    padding-top: 57%;
    text-align: center;
    color: #F7BC14;
    font-size: 6.5vh;
}

#htp-title{
    position: relative;
    padding-top: 36%;
    padding-left: 55%;
    width: 92%;
    text-align: center;
    color: white;
    line-height: 1.3;
    font-size: 3.6vh;
    pointer-events: none;
}
.htp{
    cursor: pointer;
}
#intro-logo{
    position: absolute;
    width: 43.94%;
    height: 54.95%;
    top: 18.1%;
    left:28%;
    background-size:auto 100%;
    background-repeat: no-repeat;
    background-image: url('../img/intro_logo.png');
}

#start-button{
    position: relative;
    margin-top: 1.5%;
}
.button{
    width:49%;
    height:9.11%;
    display: table;

    margin:auto;
    background: url('../img/btt.png') center center no-repeat;
    background-size: 100% auto;
    cursor:pointer;
}
.button p{
    color:white;
    text-align:center;
    font-size: 5.21vh;

}
.no-touch .button:hover{
    background-image: url('../img/btt_over.png');
}
.no-touch .button:hover p{

}

/*          QUIZ PAGE               */
.counter-container{
    /*
    display: table;
    margin:  auto;
    width:23.04%;
    height:11.45%;
    position: relative;
    top:7.94%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;
    z-index: 2;
    background-image: url('../img/counter-bgd.png');
    */

}
.counter-container>img{
    position: absolute;
    height:7.2%;
    left:73.6%;
    top:2.8%;
    z-index: 9999999;

}
.counter-container p{
    text-align: center;
    color:white;
    line-height: 133%;
    font-size: 7.94vh;

}

.question{

    margin:  auto;
    width:46.1%;
    height:69.4%;
    position: relative;
    top:2%;
    margin-bottom: 2%;
    z-index: 999929;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;
    background-image: url('../img/question-bgd.png');

}

.answerContainer{
    width:100%;
    height:100%;
}
.question-inner{
    height:9.8%;
    width:100%;

    display: table;
}
.question-inner-container{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.question-inner-container>p{
    color:black;
    text-align: center;
    padding:0 5% 0.5%;
    font-size:3.2vh ;
}
#question-image{
    padding: 2.1%;
    width: 100%;
}
.button.answer{
    width:45.9%;
    height:7.94%;
    margin: 1% auto;
    display: table;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;
    background-image: url('../img/q-btt.png');
}

.button.answer .button-inner{
    display: table-cell;
    vertical-align: middle;
}
.no-touch .answer:hover{
    background-image: url('../img/q-btt_on.png');
}
.answer.correct{
     background-image: url('../img/q-btt_correct.png');
 }
.answer.wrong{
    background-image: url('../img/q-btt_wrong.png');
}
.answer p{
    font-size: 3.87vh;
    font-family: "Fred Fredburger W04 Bold";
    color:white;
    line-height: 1;
}
.no-touch .answer:hover p,.answer.correct p{
    color:white;
}


#gfx{
    pointer-events: none;
    width:100%;
    height: 100%;
    position: absolute;
    top:0;
    display: none;

}
#gfx.active{
    display: block;
}
.left{
    left:-2.3%;
    top:16%;
    width:29.98%;
    height:75.52%;
    background-image: url('../img/l0.png');
}
.right{
    right:-5.9%;
    top:13.54%;
    width:27.83%;
    height:75%;
    background-image: url('../img/r0.png');
    overflow-y: hidden;
}
.left.correct{
    left:-17%;
    top:12.76%;
    width:46.58%;
    height:72.91%;

    background-image: url('../img/l1.png');
}
.right.correct{

    right:-4.29%;
    top:14.45%;
    width:37%;
    height:75.52%;

    background-image: url('../img/r1.png');
}


.left.wrong{
    left:-10.35%;
    top:18.75%;
    width:33%;
    height:68.48%;

    background-image: url('../img/l2.png');
}
.right.wrong{

    right:-7.7%;
    top:12.63%;
    width:26.85%;
    height:75.91%;

    background-image: url('../img/r2.png');
}

/*          GAME OVER PAGE               */
#correct-answers{
    color:black;
    text-align: center;
    font-size: 6.9vh;
    margin-bottom: 63.5%;
}
#summary-bgd{
    position: absolute;
    padding: 1% 2%;
    width:57.51%;
    height:79.16%;
    top:3.5%;
    left:21.19%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;

    color:white;

}
.go2 #summary-header1,.go2 #summary-header2,.go2 #summary-description{

}
#summary-header2{

}
.go3{
    color:black!important;
}
.summary {
    position: relative;
    z-index: 8888;
}
#summary-header1,#summary-header2{
    text-align: center;
    line-height: 0.95;
    font-size: 5.2vh;
}
#summary-description{
    text-align: center;
    text-transform: none;
    padding-top:1%;
    font-size: 3.56vh;
    line-height: 1;
    font-family: 'Fred Fredburger W04 Regular';
}
#summary-bgd.go1{
    background-image: url('../img/go1.png');
}
#summary-bgd.go2{
    background-image: url('../img/go2.png');
}

#summary-bgd.go3{

    background-image: url('../img/go3.png');
}

#play-again-button{
    position: absolute;
    top:85.42%;
    left:25.5%
}
.left,.right{
    position: absolute;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;
}
.left.go1{
    left:-17%;
    top:12.76%;
    width:46.58%;
    height:72.91%;

    background-image: url('../img/l1.png');


}
.left.go2{
    left:-2.3%;
    top:16%;
    width:29.98%;
    height:75.52%;
    background-image: url('../img/l0.png');

}
.left.go3{

    left:-10.35%;
    top:18.75%;
    width:33%;
    height:68.48%;

    background-image: url('../img/l2.png');


}
.right.go1{


    right:-4.29%;
    top:14.45%;
    width:37%;
    height:75.52%;

    background-image: url('../img/r1.png');


}
.right.go2{
    right:-5.9%;
    top:13.54%;
    width:27.83%;
    height:75%;
    background-image: url('../img/r0.png');
    overflow-y: hidden;


}
.right.go3{

    right:-7.7%;
    top:12.63%;
    width:26.85%;
    height:75.91%;

    background-image: url('../img/r2.png');
}

@media only screen and (max-width:768px)  and (orientation: portrait){

    html {

        width:768px;
        height:auto;
    }
    #holder{
        height:600px;

        background-size: 768px;
        background-repeat: no-repeat;
        background-position: top center;
    }
    .backgrounds{
        height:600px;
    }
    #intro-logo{
        display: none;
        position: relative;
        width:244px;
        height:271px;
        top:59px;
        left:0;

        margin:  auto;
        background-size: 100%;
        background-repeat: no-repeat;
        /*background-image: url('../img/intro_logo_m.png');*/
    }
    #title{
        width: 320px;
        line-height: 1;
        padding: 440px 0 0;
        margin: auto;
        font-size: 40px;

    }

    .button{
        width:320px;
        height:45px;
        margin:auto;

    }
    .button p{
        font-family: "Fred Fredburger Headline W04Bl";

        text-align:center;
        font-size: 25px;
        line-height:45px ;
    }

    /*              CONTROLS            */


    #homeBtt{

        position: absolute;
        cursor: pointer;
        background-image: url('../img/home_btt.png');
        background-size: 100% 100%;
        width:58px;
        height: 58px;
        left:20px;
        top:10px;

    }
    #soundBtt{

        position: absolute;
        cursor: pointer;
        background-image: url('../img/sound_on.png');
        background-size: 100% 100%;
        width:58px;
        height: 58px;
        right:20px;
        top:10px;
    }

    #start-button {
        position: relative;
        margin-top: 15px;
    }
    #htp-title{
        font-size: 19px;
        padding: 349px 34px 0;
        line-height: 1.2;
        width: 100%;
    }
	  .htp{
        max-width: 320px;
        margin: auto;
    	 width: 100%;
    }
    #htp-title br{
    display: none
    }

    /*          QUIZ PAGE               */
    .counter-container{


    }
    .counter-container p{

        line-height: 61px;
        font-size: 42px;

    }

    .question{
        top: 86px;
        padding-top:1px;
        z-index: 999929;

        margin-bottom: 0;
        background-image: url('../img/question-bgdm.png');
        width:229px;
        height:292px;



    }
    #question-image{
        padding: 1px 2.1%;
    }
    .question-inner{
        height:66px;
        line-height: 1;
        overflow: hidden;

        vertical-align:middle;
    }
    .counter-container{
        position: relative;
    }
    .counter-container>img {
        position: relative;
        z-index: 99999999;
        left:0;
        height:44px;
        top:0;
        display: block;
        margin: 7px auto;

    }
    .answerContainer{
        width:100%;
        height:100%;
        margin-top: 95px;
    }
    .question-inner-container>p{

        text-align: center;
        padding: 0 20px;
        font-size:17px ;
    }
    .button.answer{
        width:320px;
        height:44px;
        margin: 5px auto;
        display: table;

        background-image: url('../img/q-btt.png');
    }
    .button.answer .button-inner{
        display: table-cell;
        vertical-align: middle;
    }
    .no-touch .answer:hover{
        background-image: url('../img/q-btt_on.png');
    }
    .answer.correct{
        background-image: url('../img/q-btt_correct.png');
    }
    .answer.wrong{
        background-image: url('../img/q-btt_wrong.png');
    }
    .answer p{
        font-size: 15px;

    }



    .left{
        position: absolute;
        left: 50%;
        margin-left: -113px;
        top:34px;
        width:227px;
        height:278px;

        background-image: url('../img/l0_m.png');
    }
    .right{
      display: none;

    }
    .left.correct{
        left:50%;
        margin-left: -188px;
        top: 0px;

        width:337px;
        height:270px;
        background-image: url('../img/l1_m.png');
    }

    .left.wrong{
        left:50%;
        margin-left: -140px;
        top:20px;
        width:279px;
        height:273px;
        background-image: url('../img/l2_m.png');
    }

    /*          GAME OVER PAGE               */


    #correct-answers {

        font-size: 28px;
        margin-bottom: 190px;
    }
    #summary-bgd{
        margin: auto;
        position: relative;
        top:191px;
        padding: 7px;
        width:320px;
        height:329px;
        left: auto;

        z-index: 101;
    }
    #summary-header2{
        padding-top: 2px;
    }
    #summary-header1,#summary-header2{


        font-size: 23px;
    }
    #summary-description{
        line-height: 1.1;
        padding: 5px 10px 0;
        font-size: 15px;

    }
    #summary-bgd.go1{
        background-image: url('../img/go1.png');
    }
    #summary-bgd.go2{
        background-image: url('../img/go2.png');
    }

    #summary-bgd.go3{

        background-image: url('../img/go3.png');
    }

    #play-again-button{
        position: relative;
        top:206px;
        left:auto;
    }
    .right.go1,.right.go2,.right.go3{
        display: none;

    }
    .left.go1{
        left:50%;
        margin-left: -188px;
        top: 0px;
        width:337px;
        height:270px;
        background-image: url('../img/l1_m.png');


    }
    .left.go2{
        position: absolute;
        left: 50%;
        margin-left: -113px;
        top:34px;
        width:227px;
        height:278px;

        background-image: url('../img/l0_m.png');
    }
    .left.go3{
        left:50%;
        margin-left: -140px;
        top:20px;
        width:279px;
        height:273px;
        background-image: url('../img/l2_m.png');
    }

}

