.preloader-appla{
    position: fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,1);
    display: table;
}
.preloader{

    display: table-cell;
    vertical-align: middle;
    margin: auto;
}

html {
    overflow-x: hidden;
    max-width: 1024px;
    width:100%;
    background: transparent;
    background-color: black;
    height:574px;
    margin:auto;
    text-transform: uppercase;
}

body {

    font-weight: 700;
    color: black;
    text-transform: none;
    height:100%;
    margin: auto;

    overflow-x: hidden;

    text-align: center;

}
.backgrounds{
    width:1024px;
    height: 574px;
    position: absolute;
}
.backgrounds .background {

    width:100%;
    position: absolute;
    top:0;
    left:0;

    height: 574px;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: center;
    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');
}
.page-containers{
    position: relative;
    margin: 0 auto;
    width:100%;
    height:100%;
    overflow: hidden;

}
.gfx-container{
    pointer-events: none;
    width:100%;
    max-width: 1024px;
    height:574px;
    position: absolute;
    top:0;
    display: none;

}
.gfx{

    overflow: hidden;
    height: 574px;
    width:1024px;

    position: relative;
    top: 0;
    left:50%;
    margin-left: -512px;
}
.inner-image-answer>p {
    color: black;
}
#hero-left,#hero-right{
    display: block;
    margin: auto;
    position: absolute;
    z-index:999;
    pointer-events: none;

    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
}

#hero-left{
    left: 26px;
    top: 64px;
    width: 252px;
    height: 478px;
    background-image: url('../img/l0.png');

}
#hero-left.correct{
    left:48px;
    top:67px;
    width:236px;
    height:484px;
    background-image: url('../img/l1.png');
}
#hero-left.wrong{
    left: 68px;
    top: 77px;
    width: 163px;
    height: 477px;
    background-image: url('../img/l2.png');
}
#hero-right{
    left:759px;
    top:211px;
    width:211px;
    height:336px;
    background-image: url('../img/r0.png');

}
#hero-right.correct{
     left:740px;
     top:201px;
     width:225px;
     height:335px;
     background-image: url('../img/r1.png');
 }
#hero-right.wrong{
    left: 768px;
    top: 195px;
    width: 199px;
    height: 336px;
    background-image: url('../img/r2.png');
}



#hero-left.go2{
    left: 26px;
    top: 64px;
    width: 252px;
    height: 478px;
    background-image: url('../img/l0.png');

}
#hero-left.go1{
    left:48px;
    top:67px;
    width:236px;
    height:484px;
    background-image: url('../img/l1.png');
}
#hero-left.go3{
    left: 68px;
    top: 77px;
    width: 163px;
    height: 477px;
    background-image: url('../img/l2.png');
}
#hero-right.go2{
    left:759px;
    top:211px;
    width:211px;
    height:336px;
    background-image: url('../img/r0.png');

}
#hero-right.go1{
    left:740px;
    top:201px;
    width:225px;
    height:335px;
    background-image: url('../img/r1.png');
}
#hero-right.go3{
    left: 768px;
    top: 195px;
    width: 199px;
    height: 336px;
    background-image: url('../img/r2.png');
}



#summary-bgd{
    position: relative;
    margin: 20px auto 15px;
    width:442px;
    height:455px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0 0 ;
}
#summary-bgd.w1{
    color:black;
    background-image: url('../img/summary1BgdAnswer.png');
}
#summary-bgd.w2{
    color:white;
    background-image: url('../img/summary2BgdAnswer.png');
}
#summary-bgd.w3{
    color:white;
    background-image: url('../img/summary3BgdAnswer.png');
}


#summary-bgd.w1 #summary-header,#summary-bgd.w1 #summary-description{
    color:black;
}
#summary-bgd.w2 #summary-header,#summary-bgd.w3 #summary-header,#summary-bgd.w2 #summary-description,#summary-bgd.w3 #summary-description{
    color:white;
}
.abs{
    position: absolute;
    pointer-events: none;
}
.page{
    display: none;
    margin: 0 auto;
    height:100%;
    width:580px;
    position: relative;


}
.active{
    display: block;
}

#intro-logo{
    display: block;
    margin: 0 auto;
    position: relative;
    top:257px;

}
.summary{
    z-index: 99;
}
#intro-header{
    color:white;
    font-size: 30px;
    top:258px;
    position: relative;
    text-align: center;
    font-family: 'Fred Fredburger Headline W04Bl';
    text-transform: uppercase;
    margin: 5px auto 15px;
}
#play-button{
    position: relative;
    top: 251px;
    font-size:30px;
}
#summary-header,#summary-description{
    display: block;
    ;
    color: white;
}
#summary-header,#summary-description{
    text-transform: uppercase;
    text-align: left;
    font-family: 'Fred Fredburger Headline W04Bl';
}
#summary-header{
    font-size: 30px;
    line-height: 1;
    padding: 91px 0 0 40px;
}
#summary-description{
    padding: 20px 0 0 40px;
    font-size: 20px;
    text-transform: none;
    width:400px;
    font-family: 'Fred Fredburger W04 Regular';
}

#play-again-button{
    position: relative;
    font-size: 30px;
}

.button{
    width:375px;
    height:52px;
    text-align: center;
    color:white;
    margin: auto;
    background-image: url('../img/btt.png');
}
.button .answer{

}
.no-touch .button:hover{
    color:white;
    background-image: url('../img/btt_on.png');
}
.button.disabled,.image-button.disabled{
    pointer-events: none;
}
.button-inner,.question-inner{
    display: table;
    width:100%;
    height:100%;
}

.image-button{
    display: inline-block;
    width:200px;
    height:121px;
    text-align: center;
    color:white;
    margin: 10px;
    cursor: pointer;
    position: relative;

}
.inner-image-answer{
    width:100%;
    height:100%;
    position: relative;
    background-image: url('../img/image_quiz_assets/image_question_bgd.png');
}
.no-touch .image-button:hover>.inner-image-answer,.image-button.disabled>.inner-image-answer{
    color:white;

    background-image: url('../img/image_quiz_assets/image_question_bgd_on.png');
}
.inner-image-answer p{
    font-family: 'Avenir';
    cursor: pointer;
    padding-top: 93px;
}
.image-button>img{
    position: absolute;
    left:0;
    top:0;
    display: block;

}

.page.disabled{
    pointer-events: none;
}
.button-inner p{
    text-transform: uppercase;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;

    font-family: 'Fred Fredburger Headline W04Bl';
}
.answer{
    vertical-align: top;
}
.question{
    box-sizing: border-box;
    margin:62px auto 30px;
    width:549px;
    height: 151px;

    position: relative;
    background-image: url('../img/quiz-question.png');
}

.button.answer .button-inner p{
    font-family: 'Fred Fredburger W04 Regular';
}
.question-inner p{
    padding: 0 15px;
    color: white;
    font-family: 'Fred Fredburger Headline W04Bl';
    display: table-cell;
    vertical-align: middle;
    font-size: 19px;
    text-transform: uppercase;
}

.quiz .button{
    margin: 15px auto;
}
.button.answer{
    position: relative;
}

h2{

    font-size: 40px;
}
h3{
    font-family: 'Fred Fredburger W04 Condensed';
    font-size: 40px;
}
h4{

    font-size: 40px;
}
h5{
    font-family: 'FredFredburgerHeadlineW04Shado';
    font-size: 140px;
}

.counter-container{
    position: absolute;
    left:585px;
    top:30px;

}

.rank{
    font-size: 50px;

}
#logo{
    padding-top: 30px;
}

@media screen and (max-width: 900px) {


    #hero-left,#hero-right{
        display: none;
    }

    .counter-container{

        left:578px;


    }
}
@media screen and (max-width: 890px) {
    .counter-container{
        top:45px;

        height:50px;

    }
}
@media screen and (max-width: 768px) {

    .counter-container{
        position: static;
        margin: 20px auto 0;
        height:67px;
    }

    .backgrounds,.backgrounds .background {
        width:768px;
        max-width: 100%;
    }
    .question{
        margin: 0px auto 20px;;
    }

    #logo{
        padding-top: 5px;
    }
    .counter-container{

    }

}

@media screen and (max-width: 740px) {
    .counter-container{
        left:250px;
        top:0px
    }
}
@media screen and (max-width: 580px) {

    #hero-left {
        left: 0;
        top: 0;
        width: 97px;
        height: 288px;
    }
    #hero-right {
        left: 226px;
        top: 13px;
        width: 95px;
    }


    .counter-container{
        position: static;
        margin: 80px auto 50px;
        height:50px;
    }

    #logo {
        height: 100px;
        padding-top: 8px;
    }
    .rank{
        font-size: 30px;
        
    }

    .backgrounds .background.active{
        background-size: auto 100%;
        background-image: url('../img/intro_m.jpg');
    }


    .backgrounds,.backgrounds .background {
        height:600px;
        width:580px;
        max-width: 100%;
    }
    .backgrounds .background {
        width:100%;
        background-size: auto 100%;
    }

    #hero-left,#hero-right{
        display: block;
    }

    .question {
        margin-top: 30px;
    }
    html{
        max-width: 580px;
        width:100%;
        height: 580px;
    }
    body {

    }
    .page{
        width:320px;
    }

    #intro-header{
        top:280px;
        font-size: 24px;
        line-height: 1;
        margin: 0 auto 12px;
    }
    #intro-logo{
        top:251px;
        width:200px;

    }

    #play-button{
        top:290px;
        font-size: 24px;
    }
    .button {

        background-size: 100%;
        width: 280px;
        height: 39px;

    }
    .question{
        z-index: 10;
        width: 100%;
        height: 105px;
        background-size: 100% 100%;
    }
    .type2 .question{
        margin: -12px auto 0;
    }


    #hero-left{
        left: 6px;
        top: 7px;
        width: 92px;
        height: 288px;
    }
    #hero-left.correct {
        left: 11px;
        top: 0px;
        width: 87px;

    }
    #hero-right {
        left: 226px;
        top: 13px;
        width: 95px;
    }
    #hero-right.correct {
        /* left: 808px; */
        top: 9px;
        left: 226px;
        width: 95px;
        background-image: url(../img/r1.png);
    }

    #hero-left.wrong {
        left: 24px;
        top: 0;
        width: 67px;
        height: 477px;
    }
    #hero-right.wrong {
        left: 217px;
        top: 19px;
        width: 86px;
        height: 336px;

    }


    #hero-left.go1 {
        left: 17px;
        top: 29px;
        width:142px;
        height: 148px;

        background-image: url(../img/gom_l1.png);
    }
    #hero-left.go2{
        left: 18px;
        top: 51px;
        width:129px;
        height: 132px;

        background-image: url(../img/gom_l2.png);
    }

    #hero-left.go3 {
        left: 32px;
        top: 10px;
        width:141px;
        height: 190px;

        background-image: url(../img/gom_l3.png);
    }
    #hero-right.go2 {
        left: 145px;
        top: 12px;
        width:156px;
        height: 165px;
        background-image: url(../img/gom_r2.png);;
    }
    #hero-right.go1 {
        width:190px;
        height: 183px;
        top: 4px;
        left: 111px;


        background-image: url(../img/gom_r1.png);
    }


    #hero-right.go3 {
        left: 155px;
        top: 48px;
        width:132px;
        height: 152px;
        background-image: url(../img/gom_r3.png);
    }


    .gfx-container {

        width:100%;
        height: 600px;
        margin: auto;
    }
    .gfx{
        overflow:visible;
        width: 320px;
        height: 100%;
        left:auto;
        top:0;
        margin: auto;
        position: relative;

    }
    #summary-bgd {
        position: relative;
        margin: 168px auto 15px;
        width: 320px;
        height: 330px;

    }
    #play-again-button{
        font-size: 24px;
    }
    #summary-header {
        font-size: 26px;
        line-height: 1;
        padding: 68px 0 0 23px;
    }
    .image-button{
        vertical-align: top;
        margin: 10px  3px;
        display: inline-block;
        width:150px;
        height: 91px;
    }
    .image-button p{

    }
    .inner-image-answer{

        background-size: 100% auto;

    }
    .inner-image-answer>p{
        color:black;
        padding-top: 68px;
    }
    .image-button img{
        width:150px;
    }
    #hero-left,#hero-right{
        z-index: auto;
    }
    #summary-description {
        padding: 10px 0 0 23px;
        font-size: 14px;
        text-transform: none;
        width: 300px;

    }
    #hero-right.w1 {
        left: 72PX;
        top: 17PX;


    }

    #hero-right.w2 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
    #hero-right.w3 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
    #hero-right.w4 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
}
