@import url(./font.css);


.msg_wrap{
    width: 100%;
    height: 100%;
    /* display: none; */
}
.msg_wrap[data-state="on"]{
    cursor: pointer;
    z-index: 15;
}
.narration_layer_wrap{
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
}
.msg {
    cursor: pointer;
    z-index: 11;
    display: none;
    left: 4%;
    top: 43%;
    width: 946px;
    /* transform: scale(0.8); */
    transform-origin: 0 0;
}
.msg[data-state="blocked"], 
.msg[data-state="blocked"] * {
    pointer-events: none;
}

.msg[data-state="off"] > .bubble_top,
.msg[data-state="off"] > .bubble_middle,
.msg[data-state="off"] > .bubble_bottom {
    pointer-events: none !important;
    visibility: 0 !important;
    opacity: 0 !important;
}
#kiosk_wrap[data-state="screen"] > .msg_wrap > .msg{
    transform: scale(0.8);
}
#kiosk_wrap[data-state="full"] > .msg_wrap > .msg{
    transform: scale(0.8);
}
.arrow_cursor{
    position: absolute;
    width: 271px;
    height: 356px;
    background: url(../img/cursor/arrow.png);
    z-index: 2;
}

.direction_cursor_1 {
    width: 89px;
    height: 198px;
    z-index: 20;
    margin-bottom: 0;
    bottom: -160px;
    right: -25px;
    opacity: 0.8;
    background: url(../img/cursor/cursor1.png) no-repeat;
    animation: direction_1 1.2s ease infinite normal;
    transform-origin: bottom right;
}
@keyframes direction_1 {
    to {
        margin-bottom: 20px;
        margin-top: -20px;
    }
}
.direction_cursor_1[data-state="right"]{
    animation: direction_3 1.2s ease infinite normal;
    transform-origin: bottom right;
}
@keyframes direction_3 {
    to {
        margin-left: 110px;
    }
}

.dot{
    /* display: none; */
    z-index: 10;
    opacity: 1;
    animation: dot_flash 0.9s ease infinite;
    pointer-events: none;
}
@keyframes dot_flash {
    to {
        opacity: 0;
    }
}

.button_flash{
    transform: scale(1);
    transform-origin: center;
    animation: button_flash 0.9s ease infinite;
}
@keyframes button_flash {
    to {
        transform: scale(1.2);
    }
}

.narration_layer_wrap > .narration_layer_dim{
    background-color: #0000005e;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.narration_layer_wrap > .narration_layer{
    background: url(../img/msg/narration_layer.png);
    width: 526px;
    height: 350px;
    z-index: 6;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    display: block;
    transform-origin: center top;
}

.narration_layer > .button:active{
    margin-top: 2px;
}
.narration_layer > .narration_y_button{
    border: 3px solid #0276fe;
    background-color: #0276fe;
    color: #fff;
    left: 13%;
}
.narration_layer > .narration_n_button{  
    border: 3px solid #2f2f2f;
    color: #2f2f2f;
    left: 51%;
}

.narration_layer > .button{
    font-size: 30px;
    top: 220px;
    width: 32%;
    height: 46px;
    line-height: 51px;
    padding: 1% 1%;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    border-bottom-width: 5px !important;
}


.exit_layer_wrap{
    width: 100%;
    height: 100%;
    z-index: 15;
    display: none;
}
.exit_layer_wrap > .exit_layer_dim{
    background-color: #000000cc;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.exit_layer_wrap > .exit_layer{
    background: url(../img/msg/exit_layer.png);
    width: 1014px;
    height: 1452px;
    top: 6%;
    z-index: 6;
    cursor: auto;
    left: 50%;
    transform: translateX(-50%) scale(0.35);
    transform-origin: center top;
    display: block;
}
.exit_layer > .ex_button{
    font-size: 30px;
    top: 220px;
    width: 32%;
    height: 46px;
    line-height: 51px;
    padding: 1% 1%;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    border-bottom-width: 5px !important;
}
.exit_layer > .ex_button:active{
    margin-top: 2px;
}
.exit_layer > .exit_confirm_button{
    left: 94px;
    top: 1230px;
    text-indent: -9999px;
    width: 400px;
    height: 120px;
}
.exit_layer > .exit_cancel_button{  
    left: 516px;
    top: 1230px;
    text-indent: -9999px;
    width: 400px;
    height: 120px;
}
.exit_layer > .button{
    pointer-events: auto !important;
}

.msg_done { top: 29%; }
.msg_done > .button{
    pointer-events: auto !important;
    height: 55px;
    line-height: 62px;
    padding: 1% 1%;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    border-bottom-width: 5px !important;
    font-size: 38px;
    cursor: pointer;
    z-index: 3;
}
.msg_done > .retry_button{
    top: 440px;
    left: 8%;
    width: 82%;
    border: 3px solid #0276fe;
    background-color: #0276fe;
    color: #fff;
}
.msg_done > .learning_button{
    top: 540px;
    width: 37%;
    left: 8%;
    border: 3px solid #0276fe;
    color: #0276fe;
}
.msg_done > .practice_button{
    top: 540px;
    width: 37%;
    left: 52%;
    border: 3px solid #0276fe;
    color: #0276fe;
}
.msg_done > .home_button{
    top: 640px;
    width: 37%;
    left: 30%;
    border: 3px solid #2f2f2f;
    color: #2f2f2f;
}


st{
    position: relative;
    color: #0276fe;
    font-size: 60px;
    font-family: 'GmarketSansBold';
}
.bubble_wrap > .bubble_top{
    position: relative;
    background: url(../img/msg/bubble_top.png);
    width: 946px;
    height: 14px;
}
.bubble_wrap > .bubble_middle{
    position: relative;
    border: 6px solid #0276fe;
    border-bottom: 0;
    border-top: 0;
    height: auto;
    width: calc(100% - 12px);
    background: #fff;
    margin: -3px 0;
}
.bubble_wrap > .bubble_middle > .bubble_text{
    position: relative;
    font-size: 55px;
    padding: 30px 10px 10px 10px;
    word-break: keep-all;
    text-align: center;
    line-height: 130%;
}
.bubble_wrap > .bubble_bottom{
    position: relative;
    width: 946px;
    height: 93px;
}
.bubble_wrap > .bubble_bottom[data-state="1"]{
    background: url(../img/msg/bubble_bottom_1.png);
}
.bubble_wrap > .bubble_bottom[data-state="2"]{
    background: url(../img/msg/bubble_bottom_2.png);
}
.bubble_top[data-state="hide"],
.bubble_middle[data-state="hide"],
.bubble_bottom[data-state="hide"]{
    visibility: hidden;
}

.msg_1{
    top: 378px;
}
.msg_1 > .arrow_cursor_1{
    top: -310px;
    left: 140px;
    transform: rotate(-55deg);
}
.msg_1 > .dot_1{
    top: -397px;
    left: 8px;
    background: url(../img/effect/dot_1.png);
    background-size: 100% 100%;
    width: 233px;
    height: 75px;
}


.msg_2{
    top: 360px;
}
.msg_2 > .arrow_cursor_1{
    top: -310px;
    left: 420px;
    transform: rotate(-4deg);
}
.msg_2 > .dot_1{
    top: -377px;
    left: 548px;
    background: url(../img/effect/dot_1.png);
    background-size: 100% 100%;
    width: 233px;
    height: 75px;
}
.msg_3{
    top: 460px;
}
.msg_wrong{
    top: 376px;
}
.msg_wrong > .arrow_cursor_1{
    top: -310px;
    left: 420px;
    transform: rotate(-4deg);
}
.msg_wrong > .dot_1{
    top: -397px;
    left: 548px;
    background: url(../img/effect/dot_1.png);
    background-size: 100% 100%;
    width: 233px;
    height: 75px;
}


.msg_done{
    top: 520px;
    pointer-events: none;
}
.msg_done > .direction_cursor_1{
    display: none;
}
.msg_done > .button{
    pointer-events: auto !important;
    height: 55px;
    line-height: 62px;
    padding: 20px 4px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    border-bottom-width: 5px !important;
    font-size: 48px;
    cursor: pointer;
    z-index: 3;
}
.msg > .retry_button{
    top: 660px;
    left: 11%;
    width: 78%;
    border: 3px solid #0276fe;
    background-color: #0276fe;
    color: #fff;
}
.msg > .learning_button{
    top: 790px;
    width: 37%;
    left: 11%;
    border: 3px solid #0276fe;
    color: #0276fe;
}
.msg > .home_button{
    top: 790px;
    width: 37%;
    left: 51%;
    border: 3px solid #2f2f2f;
    color: #2f2f2f;
}


