@charset "utf-8";
/* 컨테이너 */
.speedGame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: NGothicB, sans-serif;
    font-size: 35px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .4s, visibility .4s;
    -moz-transition: opacity .4s, visibility .4s;
    -ms-transition: opacity .4s, visibility .4s;
    -o-transition: opacity .4s, visibility .4s;
    transition: opacity .4s, visibility .4s;
}
.speedGame_on {
    opacity: 1;
    visibility: visible;
}
/* 박스 */
.speedGame_queBox {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 300px;
    left: 50%;
    width: 645px;
    height: 307px;
    border-radius: 15px;
    background: white;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .75);
    overflow: hidden;
}
/* 질문 영역 */
.speedGame_que {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    background: #D9E0E9;
}
/* 정답 선택 영역 */
.speedGame_choiceBox {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 104px;
}
.speedGame_choice {
    width: 258px;
    height: 56px;
    border-radius: 10px;
    background-color: #7AC4EA;
    font-family: NGothicEB, sans-serif;
    text-align: center;
    line-height: 54px;
    color: #1E4C5E;
    cursor: pointer;
}
.speedGame_choice_answer,
.speedGame_choice_wrong {
    cursor: default;
    pointer-events: none;
}
.speedGame_choice_answer {
    background-color: #3F8CDF;
    color: white;
}
.speedGame_choice_wrong {
    background-color: #CFD1D2;
    color: #888888;
}
/* 폭탄 영역 */
.speedGame_bomb {
    position: absolute;
    top: 200px;
    left: 900px;
    width: 125px;
    height: 145px;
    font-family: 'NGothicEB', sans-serif;
    font-size: 55px;
    text-align: center;
    color: #FFF100;
    background: url('../images/kor/speedGame/speedGame_bomb.svg') center / cover no-repeat;
}
.speedGame_countdown {
    position: absolute;
    top: 61%;
    left: 43%;
    word-break: keep-all;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
/* 정답 캐릭터 */
.speedGame_correctChar {
    position: absolute;
    display: none;
    top: 80px;
    left: 540px;
}
.speedGame_correctChar_on {
    display: block;
}
.speedGame_correctChar_img {
    position: absolute;
}
.speedGame_correctChar_img.body {
    width: 214px;
    height: 310px;
}
.speedGame_correctChar_img.arm {
    top: 165px;
    width: 75px;
    height: 72px;
    z-index: 1;
}
/* 정, 오답 효과 */
.speedGame_correctEffect,
.speedGame_wrongEffect {
    position: absolute;
}
.speedGame_correctEffect > img,
.speedGame_wrongEffect > img {
    max-width: 100%;
    vertical-align: top;
}
.speedGame_correctEffect {
    width: 354px;
    -webkit-transform: translate(260px, 200px);
    -moz-transform: translate(260px, 200px);
    -ms-transform: translate(260px, 200px);
    -o-transform: translate(260px, 200px);
    transform: translate(260px, 200px);
}
.speedGame_wrongEffect {
    top: 220px;
    left: 350px;
    width: 550px;
}
/* transition 효과 */
.speedGame,
.speedGame_correctEffect,
.speedGame_wrongEffect {
    opacity: 0;
    visibility: hidden;
}
.speedGame,
.speedGame_correctEffect,
.speedGame_wrongEffect {
    -webkit-transition: opacity .4s, visibility .4s;
    -moz-transition: opacity .4s, visibility .4s;
    -ms-transition: opacity .4s, visibility .4s;
    -o-transition: opacity .4s, visibility .4s;
    transition: opacity .4s, visibility .4s;
}
.speedGame_choice {
    -webkit-transition: color .4s, background-color .4s;
    -moz-transition: color .4s, background-color .4s;
    -ms-transition: color .4s, background-color .4s;
    -o-transition: color .4s, background-color .4s;
    transition: color .4s, background-color .4s;
}
.speedGame_on,
.speedGame_correctEffect_on,
.speedGame_wrongEffect_on {
    opacity: 1;
    visibility: visible;
}

.speedGameBtn {
    position: absolute;
    top: 0;
    right: 20px;
    width: 91px;
    height: 98px;
    background: url('../images/kor/2019-1/kor_read_speedGame_btn.png') center / auto 98px no-repeat;
    color: transparent;
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    -webkit-transform: rotate(.1deg);
    -moz-transform: rotate(.1deg);
    -ms-transform: rotate(.1deg);
    -o-transform: rotate(.1deg);
    transform: rotate(.1deg);
}
.speedGameBtn.ani {
    animation: .6s steps(1) infinite speedGameBtn;
}
.speedGameBtn_off {
    display: none;
}

/* animation */
@keyframes speedGameBtn {
    0% { background-position-x: left; }
    25% { background-position-x: center; }
    50% { background-position-x: left; }
    75% { background-position-x: right; }
    100% { background-position-x: left; }
}