.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');
}
.backgrounds .background.active.gameover{
    background-image: url('../img/gameover_bgd.png');

}
.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:50;
    pointer-events: none;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
}

#hero-left.left1{
    left:131px;
    top:212px;
    width:160px;
    height:339px;
    background-image: url('../img/l1.png');

}
#hero-right.right1{
    left:726px;
    top:241px;
    width:189px;
    height:332px;
    background-image: url('../img/r1.png');
}

#hero-left.left2{
    left:151px;
    top:238px;
    width:121px;
    height:321px;
    background-image: url('../img/l2.png');

}
#hero-right.right2{
    left:771px;
    top:249px;
    width:155px;
    height:320px;
    background-image: url('../img/r2.png');
}


#hero-left.left3{
    left:113px;
    top:238px;
    width:188px;
    height:320px;
    background-image: url('../img/l3.png');

}
#hero-right.right3{
    left:786px;
    top:263px;
    width:140px;
    height:321px;
    background-image: url('../img/r3.png');
}


#hero-left.after.left1{
    left:62px;
    top:195px;
    width:234px;
    height:356px;
    background-image: url('../img/l4.png');

}
#hero-right.after.right1{
    left:635px;
    top:163px;
    width:324px;
    height:377px;
    background-image: url('../img/r4.png');
}

#hero-left.after.left2{
    left:65px;
    top:228px;
    width:226px;
    height:325px;
    background-image: url('../img/l5.png');

}
#hero-right.after.right2{
    left:707px;
    top:260px;
    width:258px;
    height:304px;
    background-image: url('../img/r5.png');
}


#hero-left.after.left3{
    left:83px;
    top:211px;
    width:214px;
    height:348px;
    background-image: url('../img/l6.png');

}
#hero-right.after.right3{
    left:746px;
    top:210px;
    width:203px;
    height:348px;
    background-image: url('../img/r6.png');
}







#hero-left.go1{
    left: 630px;
    top: 86px;
    width: 374px;
    height: 439px;
    background-image: url('../img/go1.png');

}
#hero-left.go2{
    left:61px;
    top:90px;
    width:303px;
    height:522px;
    background-image: url('../img/go2.png');
}
#hero-left.go3{
    left: 715px;
    top: 99px;
    width: 313px;
    height: 529px;
    background-image: url('../img/go3.png');
}

#hero-left.go4{
    left: -19px;
    top: 114px;
    width: 347px;
    height: 413px;
    background-image: url('../img/go4.png');
}

#hero-left.go5{
    left: 721px;
    top: 88px;
    width: 283px;
    height: 432px;
    background-image: url('../img/go5.png');
}
#hero-left.go6{
    left: 42px;
    top: 57px;
    width: 306px;
    height: 500px;
    background-image: url('../img/go6.png');
}




#summary-bgd{
    position: relative;
    margin: 78px auto 15px;
    width:442px;
    height:397px;
    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.w4{
    color:white;
    background-image: url('../img/summary4BgdAnswer.png');
}
#summary-bgd.w5{
    color:#512C1D;
    background-image: url('../img/summary5BgdAnswer.png');
}
#summary-bgd.w6{
    color:white;
    background-image: url('../img/summary6BgdAnswer.png');
}

#summary-bgd.w1 #summary-header,#summary-bgd.w1 #summary-description{
    color:white;
}
#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:163px;

}
.summary{
    z-index: 99;
}
#intro-header{
    color:white;
    font-size: 30px;
    top:143px;
    position: relative;
    text-align: center;
    font-family: 'Fred Fredburger Headline W04Bl';
    text-transform: uppercase;
    margin: 5px auto 15px;
}
#play-button{
    position: relative;
    top: 147px;
    font-size:30px;
}
#summary-header,#summary-description{
    display: block;

}
#summary-header,#summary-description{
    text-transform: uppercase;
    text-align: left;
    font-family: 'Fred Fredburger Headline W04Bl';
}
#summary-header{
    font-size: 36px;
    line-height: 1.2;
    padding: 35px 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:#2C2F79;
    margin: auto;
    background-image: url('../img/btt.png');
}
.button.answer.answered{
    background-image: url('../img/q-btt_correct.png');
}
.no-touch .button:hover{
    color:black;
    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:14px auto 10px;
    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: 12px 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: 621px;
    top: 71px;

}
.type2.active{
    z-index: 60;
}
.rank{
    font-size: 50px;

}
#logo{
    padding-top: 30px;
}
.przyciemnienie{
    display: none;

}
@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:67px;

        height:50px;

    }
}
@media screen and (max-width: 768px) {

    .counter-container{
        position: static;
        margin: 10px auto 0;
        height:57px;
    }

    .backgrounds,.backgrounds .background {
        width:768px;
        max-width: 100%;
    }
    .question{
        margin: -6px auto 5px;;
    }

    #logo{
        padding-top: 5px;
    }
    .counter-container{

    }
    .quiz .button {
        margin: 4px auto;
    }

}

@media screen and (max-width: 740px) {
    .counter-container{
        left:250px;
        top:0px
    }
}
@media screen and (max-width: 580px) {

    .przyciemnienie{
        width: 580px;
        height: 262px;
        bottom: 0;
        left: 0;
        position: absolute;
        display: block;

        pointer-events: none;
        background: url('../img/przyciemnienie.png');
    }
    .backgrounds .background.active.gameover{
        background-image: url('../img/gameover_bgd_m.png');

    }

    #hero-left {
        left: 0;
        top: 0;
        width: 97px;
        height: 288px;
    }
    #hero-right {
        left: 226px;
        top: 13px;
        width: 95px;
    }


    .counter-container{
        position: static;
        margin:74px auto 23px;
        height: 64px;
    }

    #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: 600px;
    }
    body {

    }
    .page{
        width:320px;
    }

    #intro-header{
        top:179px;
        font-size: 27px;
        line-height: 1;
        margin: 0 auto 12px;
    }
    #intro-logo{
        top:180px;
        width:293px;

    }

    #play-button{
        top:188px;
        font-size: 24px;
    }
    .button {

        background-size: 100%;
        width: 320px;
        height: 45px;

    }
    .question{
        background-image: url(../img/quiz-question_m.png)
        z-index: 10;
        width: 322px;
        height: 151px;
        background-size: 100% 100%;
    }

    .type2 .question{
        margin: -12px auto 0;
    }


    #hero-left.left1{
        left:-5px;
        top:9px;
        width:95px;
        height:200px;


    }
    #hero-right.right1{
        left:219px;
        top:28px;
        width:112px;
        height:195px;

    }

    #hero-left.left2{
        left: 19px;
        top: 26px;
        width: 71px;
        height: 190px;


    }
    #hero-right.right2{
        left:222px;
        top:26px;
        width:92px;
        height:189px;

    }


    #hero-left.left3{
        left:-12px;
        top:29px;
        width:112px;
        height:188px;


    }
    #hero-right.right3{
        left:229px;
        top:25px;
        width:83px;
        height:189px;

    }


    #hero-left.after.left1{
        left:-32px;
        top:4px;
        width:138px;
        height:211px;


    }
    #hero-right.after.right1{
        left:167px;
        top:-14px;
        width:192px;
        height:223px;

    }

    #hero-left.after.left2{
        left:-38px;
        top:17px;
        width:134px;
        height:192px;


    }
    #hero-right.after.right2{
        left:191px;
        top:17px;
        width:152px;
        height:179px;

    }


    #hero-left.after.left3{
        left:-17px;
        top:16px;
        width:127px;
        height:206px;


    }
    #hero-right.after.right3{
        left:225px;
        top:16px;
        width:120px;
        height:206px;

    }







    #hero-left.go1{
        left: -27px;
        top: -9px;
        width: 340px;
        height: 399px;


    }
    #hero-left.go2{
        left:66px;
        top:11px;
        width:258px;
        height:443px;
    }
    #hero-left.go3{
        left: 22px;
        top: 14px;
        width: 282px;
        height: 476px;

    }

    #hero-left.go4{
        left: 3px;
        top: 11px;
        width: 298px;
        height: 355px;

    }

    #hero-left.go5{
        left: 22px;
        top: 0px;
        width: 272px;
        height: 395px;

    }
    #hero-left.go6{
        left: 27px;
        top: 9px;
        width: 267px;
        height: 436px;

    }



    .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: 242px auto 12px;
        width: 320px;
        height: 287px;

    }
    #play-again-button{
        font-size: 24px;
    }
    #summary-header {
        font-size: 27px;
        line-height: 1;
        padding: 25px 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: 15px;
        line-height: 1.4;
        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;

    }
}
