*: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%;
    z-index: 99999999999;
}
#soundBtt{
    z-index: 9999999999999;
    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{
    background-image: url(../img/title.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width:67.57%;
    height:18.88%;
    position: absolute;
    top:65.1%;
    left:17.28%;
    text-align: center;
    color: #F7BC14;
    font-size: 6.5vh;
    margin: auto;
}

#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: 77.05%;
    height:60.41%;
    top: 0;
    left:11.62%;
    background-size:auto 100%;
    background-repeat: no-repeat;
    background-image: url('../img/intro_logo.png');
}

#start-button{
    position: absolute;
   left:25.58%;
    top:85.41%
}
.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:5%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center ;
    z-index: 2;
    background-image: url('../img/quiz_counter.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:black;
    line-height: 133%;
    font-size: 7.94vh;

}
.question {

    margin: 2.1% auto 1%;
    width: 65.42%;
    height: 24.34%;
    position: relative;
    background-size: 100%;
    background-image: url(../img/quiz-question.png);
}


.answerContainer{
    width:100%;
    height:100%;
}
.question-inner{
    height:100%;
    width:100%;

    display: table;
}
.question-inner p {
    padding: 0 10px;
    color: white;
    font-family: 'Fred Fredburger Headline W04Bl';
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 26px;
    text-transform: uppercase;
}
.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;
    z-index: 99999999999;

}
#gfx.active{
    display: block;
}
.left,.left.go2{
    left:0.7%;
    top:57.81%;
    width:25.19%;
    height:32.55%;
    background-image: url('../img/l0.png');
}
.right,.right.go2{
    left:75.19%;
    top:52.34%;
    width:21.97%;
    height:38.41%;
    background-image: url('../img/r0.png');
    overflow-y: hidden;
}
.left.correct,.left.go1{
    left:2.24%;
    top:51.17%;
    width:23.82%;
    height:40.1%;

    background-image: url('../img/l1.png');
}
.right.correct,.right.go1{

    left:75%;
    top:50.13%;
    width:22.36%;
    height:42.05%;

    background-image: url('../img/r1.png');
}


.left.wrong,.left.go3{
    left:3.51%;
    top:50.13%;
    width:23.24%;
    height:41.79%;

    background-image: url('../img/l2.png');
}
.right.wrong,.right.go3{

    left:75.48%;
    top:51.43%;
    width:21.48%;
    height:39.45%;
    background-image: url('../img/r2.png');
}

/*          GAME OVER PAGE               */
#correct-answers{
    color:black;
    text-align: center;
    font-size: 6.9vh;
    margin-bottom: 59.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{

}

.summary {
    position: relative;
    z-index: 8888;
}
#summary-header1,#summary-header2{
    text-align: center;
    line-height: 0.95;
    font-size: 5.2vh;

}
#summary-description{
    width: 90%;
    margin: auto;
    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 ;
}
@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: 312px;
        height: 67px;
        line-height: 1;
        padding: 0;
        top:436px;
        margin: auto;
        left:50%;
        margin-left: -156px;

        background-size: 100%;
        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 {

        left:50%;
        margin-left: -160px;
        position: absolute;
        bottom:20px;
    }
    #htp-title{
        font-size: 19px;
        padding: 349px 57px 0;
        line-height: 1.2;
        width: 100%;
    }
    #htp-title br{
    display: none
    }

    /*          QUIZ PAGE               */
    .counter-container{
        display: table;
        margin: auto;
        width:124px;
        height: 50px;
        position: relative;
        top: 130px;
        z-index: 22;
        background-image: url(../img/quiz_counterm.png);
    }
    .counter-container p{

        line-height: 50px;
        font-size: 30px;

    }

    .question{
        top: 173px;
        padding-top:1px;
        z-index: 21;
        margin: 0;
        margin-left: -160px;
        left:50%;
        position: absolute;
        margin-bottom: 0;
        width:320px;
        height:127px;
        background-repeat: no-repeat;

        background-image: url('../img/quiz-questionm.png');

    }
    #question-image{
        padding: 1px 2.1%;
    }
    .question-inner{
        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;

    }
    #gfx{
        z-index: auto;
    }
    .answerContainer{
        position: absolute;
        left:50%;
        margin-left: -160px;
        width:320px;
        height:100%;
        top:304px;
    }
    .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: -126px;
        top:42px;
        width:252px;
        height:183px;

        background-image: url('../img/l0_m.png');
    }
    .right{
      display: none;

    }
    .left.correct{
        left:50%;
        margin-left: -139px;
        top: 38px;

        width:278px;
        height:187px;
        background-image: url('../img/l1_m.png');
    }

    .left.wrong{
        left:50%;
        margin-left: -129px;
        top:42px;
        width:258px;
        height:183px;
        background-image: url('../img/l2_m.png');
    }

    /*          GAME OVER PAGE               */


    #correct-answers {

        font-size: 28px;
        margin-bottom: 176px;
    }
    #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;
        padding: 5px 10px 0;
        font-size: 15px;
        width:100%

    }
    #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.correct,.left.go1{
        left:50%;
        margin-left: -119px;
        top: 48px;
        width:238px;
        height:156px;
        background-image: url('../img/l1_m.png');
    }

    .left,.left.go2{
        position: absolute;
        left: 50%;
        margin-left: -124px;
        top:56px;
        width:249px;
        height:143px;

        background-image: url('../img/l0_m.png');
    }
    .left.wrong,.left.go3{
        left:50%;
        margin-left: -117px;
        top:48px;
        width:234px;
        height:155px;
        background-image: url('../img/l2_m.png');
    }
    .left.wrong{
        top:38px;
    }
    .left.correct{
        top:38px;
    }
    .left{
        top:31px
    }
}

