@charset "utf-8";

#intro{background: url(../img/page009/intro.png) no-repeat center/cover}
#intro .txt{position: absolute;font-size: 40px;text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.10);font-weight: 800;line-height: 1.4;letter-spacing: -.02em;left: 1177px;top: 463px}
.bt.disabled{pointer-events: none;}


#main{background: url(../img/page009/main.png) no-repeat center/cover;}
.game-reset{width: 373px;height: 85px;background: url(../img/page009/bt-reset.png) no-repeat;}
.game-reset:hover{background-image: url(../img/page009/bt-reset-hover.png);}
.game-reset:active{background-image: url(../img/page009/bt-reset-active.png);}
.game-reset:not(.show){display: none;}

.hintbox{position: absolute;left: 0;right: 0;bottom: 35px;height: 241px;display: flex;justify-content: center;gap: 40px}
.hint-guide{position: absolute;width: 228px;text-align: right;right: 25px;bottom: -5px;display: none;}
.hint-guide .bt{width: 100%;padding: 0;margin-top: -20px;}
.btn-hint.show:nth-child(5)+.hint-guide{display: block;animation: fadeIn 1s both;}
.tab-pane.done .hint-guide{display: none !important}

.btn-hint{width: 234px;height: 241px;position: relative;background: url(../img/page009/1-bg.png) no-repeat;display: flex;align-items: center;justify-content: center;pointer-events: none;}
.btn-hint.show+.btn-hint, .btn-hint:first-child{pointer-events: auto;}
.btn-hint:nth-child(2){background-image: url(../img/page009/2-bg.png);}
.btn-hint:nth-child(3){background-image: url(../img/page009/3-bg.png);}
.btn-hint:nth-child(4){background-image: url(../img/page009/4-bg.png);}
.btn-hint:nth-child(5){background-image: url(../img/page009/5-bg.png);}


.light{width: 84px;height: 107px;background: url(../img/page009/1.png) no-repeat;position: relative;z-index: 1;}
.btn-hint:nth-child(2) .light{background-image: url(../img/page009/2.png);}
.btn-hint:nth-child(3) .light{background-image: url(../img/page009/3.png);}
.btn-hint:nth-child(4) .light{background-image: url(../img/page009/4.png);}
.btn-hint:nth-child(5) .light{background-image: url(../img/page009/5.png);}

.dim{position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: url(../img//page009/1-bg-on.png) no-repeat;display: flex;align-items: center;justify-content: center;padding-top: 27px}
.show>.dim{animation: fadeOut .5s both;}
.btn-hint:nth-child(2) .dim{background-image: url(../img/page009/2-bg-on.png);}
.btn-hint:nth-child(3) .dim{background-image: url(../img/page009/3-bg-on.png);}
.btn-hint:nth-child(4) .dim{background-image: url(../img/page009/4-bg-on.png);}
.btn-hint:nth-child(5) .dim{background-image: url(../img/page009/5-bg-on.png);}

.bubble-wrap{position: absolute;width: 420px;height: 280px;display: flex;align-items: center;justify-content: center;top: 134px;left: 359px;color: #03251E;line-height: 1.3;text-align: center;font-size: 42px;text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.10);font-weight: 800;letter-spacing: -.03em;padding-bottom: 5px;}
.bubble span{color: #1F8DF5;}

.dim:before, .dim:after{content: '';position: absolute;bottom: 50px;left: 50%;margin-left: -70px;width: 140px;height: 140px;background: rgba(246, 221, 75, .3);border-radius: 50%;animation: flash 2s linear 0.25s infinite alternate}
.dim:after{width: 110px;height: 110px;background: rgba(246, 221, 75, .5);animation: flash 2s linear 0s infinite alternate;margin-left: -55px;bottom: 65px}

.hint-txt{font-size: 45px;color: #675834;font-weight: 800;position: relative;text-align: center;line-height: 1.2;display: none;user-select: none;}
.show>.hint-txt{z-index: 5;animation: fadeIn .5s both;display: block;}
.hint-txt:before{content: attr(data-text);position: absolute;top: 0;left: 0;-webkit-text-stroke: 8px #fff;z-index: -1;text-shadow: 0px 4px 8px rgba(0, 0, 0, .5)}


.qbox{position: absolute;width: 1200px;height: 580px;top: 150px;right: 190px;padding: 35px 25px 25px;text-align: center;}
.qbox .nav{justify-content: flex-end;gap: 8px}
.nav>button{width: 50px;height: 50px;border-radius: 100%;display: flex;align-items: center;justify-content: center;border: 1px solid #fff;color: #fff;font-size: 20px;opacity: .6;font-weight: 800;}
.nav .on{opacity: 1;background: linear-gradient(180deg, #61DF53 0%, #4BCB3D 100%);box-shadow: 0px -2px 2px 0px rgba(0, 0, 0, 0.30) inset, 0px 2px 2px 0px rgba(255, 255, 255, 0.50) inset, 5px 5px 0px 0px rgba(0, 0, 0, 0.10);border: 0;}
.qbox-q{font-size: 60px;color: #fff;text-align: center;padding: 50px 0 35px;line-height: 90px;font-weight: 800;}
.qbox-word{display: flex;justify-content: center;align-items: center;gap: 20px;margin-bottom: 35px;}

.qbox-word>div{width: 417px;height: 170px;border: 4px solid #fff;border-radius: 40px;font-size: 60px;color: #fff;line-height: 162px;text-align: center;font-weight: 700;}
.qbox-word>.after{border: 0;}
.qbox-word input{width: 100%;height: 100%;line-height: 1.2;font-size: 60px;color: #000;font-weight: 700;text-align: center;border: 8px solid #D1D1D1;background: #fff;box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.20);border-radius: 40px;}
.qbox-word input:valid{border-color: #1F8DF5;}
.qbox-word input.show{border-color: #71E464;pointer-events: none;}


.modal-finish .modal-dialog{max-width: 880px;}
.modal-basic .modal-body{padding: 40px 0;text-align: center;font-weight: 800;font-size: 45px;color: #003171;}
.modal-basic .answer{display: flex;width: 364px;height: 124px;align-items: center;justify-content: center;background: #E6F4FF;border-radius: 40px;font-size: 60px;color: #1F8DF5;margin: 0 auto 20px;}
.answer-text>span{color: #1F8DF5;}
.modal-basic .img{height: 500px;display: flex;align-items: center;justify-content: center;margin-bottom: 30px;}
.modal-basic .img>img{max-width: 830px;max-height: 500px;object-fit: cover;}

.modal-finish .close{position: absolute;right: 0;top: 10px;padding: 0;margin: 0;}


@media (hover: hover) {
    .bt-blue:hover:not(.disabled) {
        background: linear-gradient(0deg, rgba(7, 11, 255, 0.50) 0%, rgba(7, 11, 255, 0.50) 100%), linear-gradient(180deg, #36B9FF 0%, #4B96FF 100%)
        /* 다른 hover 효과들 */
    }
}

.bt-blue:active:not(.disabled) {
    background: linear-gradient(180deg, #CCC 0%, #AAA 100%)
    /* 터치 시 적용할 스타일 */
}