*{font-family:'NotoSansKR';}

::selection {
    background-color: transparent;
}

.btn{
    cursor: pointer;
}

.contents{
    display: none;
    width: 100%;
    height: 100%;
	font-family:'Noto Sans KR';
    background: url('../images/gamebg.png') 0 0 no-repeat;
}

.full{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/full.png') 0 0 no-repeat;
}

/********************intro start********************/
.intro{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/bg.png') 0 0 no-repeat;
    display: block;
}

.intro .main{
    width: 1005px;
    height: 507px;
    background: url(../images/main.png) 0 0 no-repeat;
    position: absolute;
    top: 148px;
    left: 522px;
}

.intro .option{
    width:  744px;
    height: 159px;
    background: url(../images/option.png) 0 0 no-repeat;
    position: absolute;
    top: 675px;
    left: 491px;
}

.intro .option li{
    float: left;
    width: 120px;
    height: 85px;
    margin-left: 0px;
}

.intro .option .timer ul{
    position: absolute;
    top: 35px;
    left: 335px;

}

.intro .option .timer ul li{
    background: url('../images/count.png') center center no-repeat;
    color:#A3A3A3;
    font-size: 45px;
    font-family: 'bmjua';
    text-align: center;
    line-height: 84px;
}

.intro .option .timer li.on{
    background: url('../images/count_on.png') center center no-repeat;
    color: #F74C40;
}

.intro .help{
    width: 237px;
    height: 83px;
    background: url(../images/helpbtn.png) center center no-repeat;
    position: absolute;
    top: 27px;
    left: 1786px;
    border-radius: 32px;
    animation-delay: 1.5s ;
}

.intro .start{
    width: 300px;
    height: 118px;
    background: url(../images/startbtn.png) center center no-repeat;
    position: absolute;
    top: 695px;
    left: 1230px;
    border-radius: 32px;
}

.helppop{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.7) url('../images/help.png') center center no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 2;
}

.quizthum{
    width: 318px;
    height: 83px;
    background: url(../images/quizthumbtn.png) center center no-repeat;
    position: absolute;
    top: 831px;
    left: 861px;
    border-radius: 32px;
    animation-delay: 1.5s ;
}

.soundon{
    width: 227px;
    height: 59px;
    background: url(../images/sound_on.png) center center no-repeat;
    position: absolute;
    top: 994px;
    left: 1794px;
    border-radius: 32px;
    animation-delay: 1.5s ;
}

.soundoff{
    width: 227px;
    height: 59px;
    background: url(../images/sound_off.png) center center no-repeat;
    position: absolute;
    top: 994px;
    left: 1794px;
    border-radius: 32px;
    animation-delay: 1.5s ;
}

.quizthumpop{
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,1) url('../images/quizthum.png') center center no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 2;
}

.quizthumpop .quizs{
    width: 820px;
    height: 820px;
    position: absolute;
    top: 208px;
    left: 48px;
}

.quizthumpop .quizs span.num,
.quizthumpop .quizs span.text{
    font-size: 48px;
    display: block;
    float: left;
    line-height: 75px;
    margin-right: 18px;
    word-break: keep-all;
    font-weight: bold;
}

.quizthumpop .quizs span.math{
    font-family: 'visangm';
    font-weight: bold;
}

.quizthumpop .quizs span.text{
    width: 600px;
}

.quizthumpop .quizs span.ans{
    color: red;
}



.quizthumpop .quizs li:after{
    content: '';
    display: block;
    clear: both;
}

.quizthumpop .quizs li{
    margin-bottom: 20px;
    background: #E6E6E6;
    border-radius: 15px;
    padding: 10px;
}

.quizthumpop .close{
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: 1366px;
}

.home{
    width: 80px;
    height: 80px;
    background: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 2px 2px 2px 1px #999;
}

.home:before{
    content: '';
    background: url(../images/home.png) center center no-repeat;
    background-size: 100%;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/********************intro end********************/


/********************game start********************/
.game{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/gamebg.png') 0 0 no-repeat;
}

.game .quiz{
    width: 1945px;
    height: 410px;
    background: url(../images/quiz.png) 0 0 no-repeat;
    position: absolute;
    top: 25px;
    left: 34px;
}

.game .count{
    background: url('../images/01/quiz_tim.png') 0 0 no-repeat;
    position: absolute;
    top: 956px;
    left: 83px;
    width: 290px;
    height: 108px;
}

.game .confirm{
    width: 340px;
    height: 115px;
    background: url(../images/confirmbtn.png) 0 0 no-repeat;
    position: absolute;
    top: 905px;
    left: 798px;
    z-index: 2;
}

.game .timer_play{
    width: 89px;
    height: 89px;
    background: url(../images/time_start.png) 0 0 no-repeat;
    position: absolute;
    top: 928px;
    left: 1161px;
    z-index: 2;
}

.game .timer_pause{
    width: 89px;
    height: 89px;
    background: url(../images/time_pause.png) 0 0 no-repeat;
    position: absolute;
    top: 928px;
    left: 1161px;
    z-index: 2;
}

.game .next{
    width: 155px;
    height: 63px;
    background: url(../images/nextbtn.png) 0 0 no-repeat;
    position: absolute;
    top: 952px;
    left: 1750px;
    z-index: 2;
}


.game .timer{
    width: 1997px;
    height: 109px;
    background: url(../images/timbar.png) 0 0 no-repeat;
    position: absolute;
    top: 972px;
    left: 28px;
}

.game .timer .bar{
    width: 100%;
    height: 38px;
    background: url(../images/timeinner.png) 0 0 no-repeat;
    position: absolute;
    top: 62px;
    left: 0;
    border-radius: 40px;
    transition: width 0.1s;
}

.game .char{
    width: 340px;
    height: 390px;
    position: absolute;
    top: 34px;
    left: -45px;
    animation: play 1s steps(19) infinite;
    transform: scale(0.5);
}

.game .char.char1{background: url(../images/char/char1.png) 0 0 no-repeat;}
.game .char.char2{background: url(../images/char/char2.png) 0 0 no-repeat;}
.game .char.char3{background: url(../images/char/char3.png) 0 0 no-repeat;}
.game .char.char4{background: url(../images/char/char4.png) 0 0 no-repeat;}
.game .char.char5{background: url(../images/char/char5.png) 0 0 no-repeat;}
.game .char.char6{background: url(../images/char/char6.png) 0 0 no-repeat;}
.game .char.char7{background: url(../images/char/char7.png) 0 0 no-repeat;}
.game .char.char8{background: url(../images/char/char8.png) 0 0 no-repeat;}
.game .char.char9{background: url(../images/char/char9.png) 0 0 no-repeat;}
.game .char.char10{background: url(../images/char/char10.png) 0 0 no-repeat;}

.game .quiz .quizNum{
    position: absolute;
    font-size: 130px;
    color: #fff;
    text-align: center;
    top: 134px;
    left: 190px;
    width: 135px;
    height: 162px;
}

.game .quiz .quizNum .curnum{
    font-size: 105px;
    font-family: 'sbaggro';
    position: absolute;
    text-shadow: 2px 2px 10px #333;
    width: 100%;
    margin-top: 20px;
}

.game .quiz .quizNum .totalnum{
    font-size: 40px;
    font-family: 'sbaggro';
    position: absolute;
    font-weight: 300;
    top: 119px;
    left: 58px;
    text-shadow: 2px 2px 10px #333;
}

.game .quiz .text{
    font-size: 66px;
    position: absolute;
    top: 75px;
    left: 336px;
    right: 80px;
    word-break: keep-all;
    line-height: 97px;
    letter-spacing: -3.5px;
    font-weight: bold;
    text-align: center;
    transform: translate(0, 20%);
    font-family:'NotoSansKR';
}

.game .quiz .text span{
    font-family: 'visangm' !important;
}

.game .quiz .wordbox{
    position: absolute;
    top: 410px;
    width: 100%;
    height: 470px;
    left: 0;
}

.game .quiz.com .wordbox{
    left: 50%;
    top: 530px;
    transform: translate(-50%);
    transition: top 1s;
}

.game .quiz .wordbox .word{
    width: 234px;
    height: 235px;
    background: url(../images/word.png) 0 0 no-repeat;
    position: absolute;
    text-align: center;
    line-height: 245px;
    font-family: 'goyang';
    font-size: 120px;
    text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
    top: 110px;
    left: 880px;
    transform: translate(0,0);
    transition: top 1s, left 1s;

    animation-name: shakeY;
    backface-visibility: visible;
    animation-duration: 10s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;   
}

.game .quiz .wordbox .word:nth-child(2n){
    animation-delay: 1s;
    animation-duration: 8s;
}
.game .quiz .wordbox .word:nth-child(3n){
    animation-delay: 0.5s;
    animation-duration: 9s;
}

.game .quiz .wordbox .word:nth-child(4n){
    animation-duration: 8s;
}

.game .quiz .wordbox .word.on{
    background: url(../images/word_on.png) 0 0 no-repeat;
}

.game .quiz .wordbox .word.end{
    width: 235px;
    height: 235px;
    background: url(../images/char/bubbleef.png) 0 0 no-repeat;
    animation: bubble 1s steps(7) infinite;
}

@keyframes bubble {
    100% { background-position: -1645px; }
}

.game .quiz .wordbox .word:nth-child(1) {top: 0;left: 4%;}
.game .quiz .wordbox .word:nth-child(2) {top: 0;left: 18%}
.game .quiz .wordbox .word:nth-child(3) {top: 0;left: 32%}
.game .quiz .wordbox .word:nth-child(4) {top: 0;left: 45%}
.game .quiz .wordbox .word:nth-child(5) {top: 0;left: 59%}
.game .quiz .wordbox .word:nth-child(6) {top: 0;left: 73%}
.game .quiz .wordbox .word:nth-child(7) {top: 0;left: 87%}
.game .quiz .wordbox .word:nth-child(8) {top: 50%;left: 4%;}
.game .quiz .wordbox .word:nth-child(9) {top: 50%;left: 18%}
.game .quiz .wordbox .word:nth-child(10){top: 50%;left: 32%}
.game .quiz .wordbox .word:nth-child(11){top: 50%;left: 45%}
.game .quiz .wordbox .word:nth-child(12){top: 50%;left: 59%}
.game .quiz .wordbox .word:nth-child(13){top: 50%;left: 73%}
.game .quiz .wordbox .word:nth-child(14){top: 50%;left: 87%}

.game .quiz.com .wordbox .word:nth-child(1){left: 0;}
.game .quiz.com .wordbox .word:nth-child(2){left: 234px;}
.game .quiz.com .wordbox .word:nth-child(3){left: 468px;}
.game .quiz.com .wordbox .word:nth-child(4){left: 702px;}
.game .quiz.com .wordbox .word:nth-child(5){left: 936px;}

/********************game end********************/

.game .count span{
    font-size: 60px;
    position: absolute;
    width: 120px;
    color: #fff;
    top: 23px;
    left: 130px;
    text-align: center;
}

.game .alert{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0, 0.7) url('../images/01/alert.png') center bottom no-repeat;
    z-index: 2;
}

.game .gameout{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0, 0.7) url('../images/01/out.png') center center no-repeat;
    z-index: 2;
    display: none;
}

.game .gameout .btn{
    width: 633px;
    height: 465px;
    position: absolute;
    top: 320px;
    left: 268px;
}

.game .gameout .btn.bad{
    left: 1020px;
}
/*--------------------------------------*/
.outro{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background: url(../images/gamebg.png) 0 0 no-repeat;
}

.outro .title{
    width: 997px;
    height: 442px;
    position: absolute;
    background: url(../images/out_main.png) 0 0 no-repeat;
    top: 247px;
    left: 314px;
}

.outro .obj{
    width: 370px;
    height: 311px;
    position: absolute;
    background: url(../images/out_obj.png) 0 0 no-repeat;
    top: 370px;
    left: 1350px;
}

.outro .obj span{
    font-family: 'sbaggro';
    font-size: 190px;
    color: #000F63;
    display: inline-block;
    width: 270px;
    text-align: center;
    margin-top: 97px;;
}

.outro .regame{
    width: 384px;
    height: 183px;
    position: absolute;
    background: url(../images/replaybtn.png) 0 0 no-repeat;
    top: 720px;
    left: 830px;
    z-index: 3;
}   

.outro .char{
    width: 340px;
    height: 390px;
    position: absolute;
    top: 90px;
    left: 1300px;
    animation: play 1s steps(19) infinite;
    transform: scale(0.8);
}

.outro .char.char1{background: url(../images/char/char1.png) 0 0 no-repeat;}
.outro .char.char2{background: url(../images/char/char2.png) 0 0 no-repeat;}
.outro .char.char3{background: url(../images/char/char3.png) 0 0 no-repeat;}
.outro .char.char4{background: url(../images/char/char4.png) 0 0 no-repeat;}
.outro .char.char5{background: url(../images/char/char5.png) 0 0 no-repeat;}
.outro .char.char6{background: url(../images/char/char6.png) 0 0 no-repeat;}
.outro .char.char7{background: url(../images/char/char7.png) 0 0 no-repeat;}
.outro .char.char8{background: url(../images/char/char8.png) 0 0 no-repeat;}
.outro .char.char9{background: url(../images/char/char9.png) 0 0 no-repeat;}
.outro .char.char10{background: url(../images/char/char10.png) 0 0 no-repeat;}

@keyframes play {
    100% { background-position: -6460px; }
}

.outro .charbox{
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(2.0) translate(-960px, -44px);
    animation: play2 1s;
    animation-fill-mode: both;
    animation-delay: 3.8s ;
}

@keyframes play2{
    100% { transform: scale(1) translate(0, 0) }
}

.outro .outbox{
    animation-delay: 3.8s;
    z-index: 3;
    position: absolute;
}

.outro .bubble{
    width: 234px;
    height: 235px;
    background: url(../images/word.png) 0 0 no-repeat;
    position: absolute;
    top: 410px;
    left: 920px;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

.outro .bubble.bubble1{
    transform: scale(1.2) translate(780px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.2s ;
}

.outro .bubble.bubble2{
    transform: scale(1.4) translate(580px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.4s ;
}

.outro .bubble.bubble3{
    transform: scale(1) translate(380px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.1s ;
}

.outro .bubble.bubble4{
    transform: scale(1.3) translate(180px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.5s ;
}

.outro .bubble.bubble5{
    transform: scale(1.1) translate(-20px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.3s ;
}

.outro .bubble.bubble6{
    transform: scale(0.9) translate(-200px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0s ;
}

.outro .bubble.bubble7{
    transform: scale(0.7) translate(-380px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.2s ;
}

.outro .bubble.bubble8{
    transform: scale(0.6) translate(-580px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.3s ;
}

.outro .bubble.bubble9{
    transform: scale(1) translate(-780px, 810px);
    animation: bubbleef 1s;
    animation-delay: 0.4s ;
}

.outro .bubble.bubble10{
    transform: scale(1.2) translate(-1080px, 410px);
    animation: bubbleef 1s;
    animation-delay: 0.2s ;
}

.outro .bbubble{
    width: 470px;
    height: 470px;
    background: url(../images/char/bubbleef_b.png) 0 0 no-repeat;
    position: absolute;
    top: 250px;
    left: 800px;
    transform: scale(1.5);
}

.outro .bbubble.end{
    animation: bubble 1s steps(7);
    animation-fill-mode: both;
}

@keyframes bubble {
    100% { background-position: -3290px; }
}

@keyframes bubbleef{
    100% { transform: scale(1) translate(0, 0) }
}

/**********************/
.game .quiz .text.txtNum2,
.game .quiz .text.txtNum7{
    top: 0;
}

/**/
.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    background-color: #49B5FF !important;
}


@keyframes shakeY {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }
}

.game .quiz .wordbox.warning .word:before{
    content: '';
    width: 190px;
    height: 190px;
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 50%;
    animation: bchange 1s infinite;
}

.game .quiz .wordbox .word.end:before,
.game .quiz .wordbox.warning .word.on:before{
    display: none;
}

@keyframes bchange {
  25%,
  75% {
    background-color: rgba(255,0,0,0.1);
  }


  50%,
  100%,
   {
    background-color: transparent;
  }
}

.game .quiz .text .rect{
    color: transparent;
    display: inline-block;
    padding: 0px 10px;
    border: 8px solid #ff469f;
    border-radius: 5px;
    margin-left: 10px;
    vertical-align: middle;
    vertical-align: initial;
    line-height: 70px;
    padding-bottom: 5px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
}

.anibox{
    position: absolute;
    left: 590px;
    top: -15px;
}

#introVdo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.intromask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;   
}