@charset "utf-8";

/* 시작 화면 */

/* 배경음 버튼 */
.btn_sound {
    width: 80px;
    height: 88px;
    background: url(../img/btn_sound.png) no-repeat center / 100%;
    position: absolute;
    top: 59px;
    right: 66px;
    z-index: 11;
    display: none;
}
.btn_sound.active {
    display: block;
}
.btn_sound.off {
    background-image: url(../img/btn_sound_off.png);
}

.screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}
.screen.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
}
.intro-screen {
    background: url(../img/intro.png) no-repeat center / 100%;
}

.intro-screen .btn-wrap {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    top: 42%;
    display: flex;
    gap: 100px;
}
.intro-screen .btn-wrap .btn {
    width: 437px;
    height: 581px;
    background: url(../img/intro-card1.png) no-repeat center / 100%;
    cursor: pointer;
}
.intro-screen .btn-wrap .btn.btn2 {
    background: url(../img/intro-card2.png) no-repeat center / 100%;
}
.intro-screen .btn-wrap .btn.btn3 {
    background: url(../img/intro-card3.png) no-repeat center / 100%;
}

.screen-step1 {
    background: #fffbed url(../img/bg-bottom.png) no-repeat left bottom;
}
.screen-step2 {
    background: #fffbed url(../img/bg-bottom2.png) no-repeat left bottom;
}
.screen-step3 {
    background: #fffbed url(../img/bg-bottom3.png) no-repeat left bottom;
}
.content-left {
    position: absolute;
    left: 113px;
    top: 147px;
}
.content-left .top-btn {
    position: relative;
    width: 327px;
    height: 116px;
    background: url(../img/btn1.png) no-repeat center / 100%;
    text-indent: -9999px;
    margin-bottom: 57px;
    text-align: left;
    cursor: pointer;
}
.content-left .top-btn.active {
    background: url(../img/btn1-active.png) no-repeat center / 100%;
    pointer-events: none;
}
.screen-step2 .content-left .top-btn {
    background: url(../img/btn2.png) no-repeat center / 100%;
}
.screen-step2 .content-left .top-btn.active {
    background: url(../img/btn2-active.png) no-repeat center / 100%;
}
.screen-step3 .content-left .top-btn {
    background: url(../img/btn3.png) no-repeat center / 100%;
}
.screen-step3 .content-left .top-btn.active {
    background: url(../img/btn3-active.png) no-repeat center / 100%;
}
.content-left .top-btn:before {
    content: '';
    display: block;
    width: 122px;
    height: 99px;
    background: url(../img/click.png) no-repeat center / 100%;
    position: absolute;
    left: 265px;
    top: 64px;
    opacity: 0;
    pointer-events: none;
}
.content-left .top-btn.on:before {
    opacity: 1;
    animation: magnifire_ani 1s linear infinite;
}
.content-left .top-btn.on.active:before {
    opacity: 0;
    animation: none;
    pointer-events: none;
}

.code {
    position: relative;
    text-align: left;
    font-family: Pretendard;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -1%;
    vertical-align: middle;
    color: #fff;
    display: none;
    text-indent: -9999px;
}
.code.active {
    display: block;
}

.code:not(.code-start) {
    margin-top: -16px;
    margin-left: 26px;

    padding: 10px 0 0 33px;
}
.code:nth-child(2) {
    margin-top: -17px;
}
.code .code-text {
    display: flex;
    height: 48px;
    align-items: center;
    gap: 10px;
}
.code .num {
    background: #ffeb82;
    border: 3px solid #ff9f1a;
    font-family: Pretendard;
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: -1%;
    vertical-align: middle;
    height: 48px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    color: #000;
    padding: 0 10px;
}
.code-list .code .icon {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
}
.code-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.code-list .code.code-start {
    width: 447px;
    height: 92px;
    background: url(../img/code1-1.png) no-repeat center;
    padding: 29px 0 0 81px;
}

.code-list .code.code-move {
    width: 521px;
    height: 82px;
    background: url(../img/code1-2.png) no-repeat center;
}
.code-list .code.code-move .icon {
    background: url(../img/code2-icon3.png) no-repeat center / 100%;
}
.code-list .code.code-rotate {
    width: 443px;
    height: 82px;
    background: url(../img/code1-4.png) no-repeat center;
}
.code-list .code.code-rotate .icon {
    background: url(../img/code2-icon3.png) no-repeat center / 100%;
}
.code-list .code.code-wait {
    width: 309px;
    height: 82px;
    background: url(../img/code1-3.png) no-repeat center;
}
.code-list .code.code-wait .icon {
    background: url(../img/code2-icon2.png) no-repeat center / 100%;
}

.screen-step1 .code-list .code.code-start.active2 {
    background: url(../img/code1-1-op.png) no-repeat center;
}

.code-list .code.code-move.active2 {
    background: url(../img/code1-2-op.png) no-repeat center;
}
.code-list .code.code-wait.active2 {
    background: url(../img/code1-3-op.png) no-repeat center;
}
.code-list .code.code-rotate.active2 {
    background: url(../img/code1-4-op.png) no-repeat center;
}
.screen-step1 .code8.code-rotate {
    width: 455px;
    height: 82px;
    background: url(../img/code1-4-2.png) no-repeat center;
}
.screen-step1 .code8.active2 {
    background: url(../img/code1-4-2-op.png) no-repeat center;
}
.screen-step1 .code9 {
    margin-top: -17px;
}
.screen-step2 .code:nth-child(2),
.screen-step2 .code:nth-child(3),
.screen-step2 .code:nth-child(4) {
    margin-left: 15px;
}

.screen-step2 .code-list .code.code-start {
    background: url(../img/code2-1.png) no-repeat center;
    width: 303px;
    height: 62px;
}
.screen-step2 .code-list .code.code-start.code1.active2 {
    background: url(../img/code2-1-op.png) no-repeat center;
}
.screen-step2 .code2 {
    width: 517px;
    height: 56px;
    margin-top: -12px;
    background: url(../img/code2-2.png) no-repeat center;
}
.screen-step2 .code2.active2 {
    background: url(../img/code2-2-op.png) no-repeat center;
}
.screen-step2 .code3 {
    width: 358px;
    height: 57px;
    background: url(../img/code2-3.png) no-repeat center;
}
.screen-step2 .code3.active2 {
    background: url(../img/code2-3-op.png) no-repeat center;
}
.screen-step2 .code4 {
    width: 500px;
    height: 505px;
    background: url(../img/code2-4.png) no-repeat center;
}
.screen-step2 .code4.active2 {
    background: url(../img/code2-4-op.png) no-repeat left top, url(../img/code2-4.png) no-repeat center;
}
.screen-step2 .code4.active3 {
    background: url(../img/code2-4-2-op.png) no-repeat left 386px, url(../img/code2-4.png) no-repeat center;
}
.screen-step2 .code5 {
    width: 354px;
    height: 56px;
    background: url(../img/code2-5.png) no-repeat center;
    margin: -464px 0 0 35px;
}
.screen-step2 .code5.active2 {
    background: url(../img/code2-5-op.png) no-repeat center;
}

.screen-step2 .code6 {
    width: 210px;
    height: 57px;
    background: url(../img/code2-6.png) no-repeat center;
}
.screen-step2 .code6.active2 {
    background: url(../img/code2-6-op.png) no-repeat center;
}
.screen-step2 .code7 {
    width: 300px;
    height: 56px;
    background: url(../img/code2-7.png) no-repeat center;
}
.screen-step2 .code7.active2 {
    background: url(../img/code2-7-op.png) no-repeat center;
}
.screen-step2 .code8 {
    width: 210px;
    height: 57px;
    background: url(../img/code2-6.png) no-repeat center;
}
.screen-step2 .code8.active2 {
    background: url(../img/code2-6-op.png) no-repeat center;
}
.screen-step2 .code9 {
    width: 354px;
    height: 56px;
    background: url(../img/code2-5.png) no-repeat center;
}
.screen-step2 .code9.active2 {
    background: url(../img/code2-5-op.png) no-repeat center;
}
.screen-step2 .code10 {
    width: 210px;
    height: 57px;
    background: url(../img/code2-6.png) no-repeat center;
}
.screen-step2 .code10.active2 {
    background: url(../img/code2-6-op.png) no-repeat center;
}
.screen-step2 .code11 {
    width: 309px;
    height: 56px;
    background: url(../img/code2-7-2.png) no-repeat center;
}
.screen-step2 .code11.active2 {
    background: url(../img/code2-7-2-op.png) no-repeat center;
}
.screen-step2 .code12 {
    width: 210px;
    height: 57px;
    background: url(../img/code2-6.png) no-repeat center;
}
.screen-step2 .code12.active2 {
    background: url(../img/code2-6-op.png) no-repeat center;
}
.screen-step2 .code13 {
    width: 485px;
    height: 57px;
    background: url(../img/code2-8.png) no-repeat center;
}
.screen-step2 .code13.active2 {
    background: url(../img/code2-8-op.png) no-repeat center;
}

.screen-step2 .code6,
.screen-step2 .code7,
.screen-step2 .code8,
.screen-step2 .code9,
.screen-step2 .code10,
.screen-step2 .code11,
.screen-step2 .code12,
.screen-step2 .code13 {
    margin-left: 35px;
    margin-top: -13px;
}
.screen-step2 .code13 {
    margin-top: 24px;
}

.screen-step3 .code:not(.code-start):not(.code2):not(.code3) {
    margin-left: 52px;
}

.screen-step3 .code-list .code.code-start {
    background: url(../img/code3-1.png) no-repeat center;
    width: 401px;
    height: 83px;
}
.screen-step3 .code-list .code.code-start.code1.active2 {
    background: url(../img/code3-1-op.png) no-repeat center;
}
.screen-step3 .code2 {
    width: 307px;
    height: 566px;
    margin-top: -17px;
    margin-left: 21px;
    background: url(../img/code3-2.png) no-repeat center;
}
.screen-step3 .code2.active2 {
    background: url(../img/code3-2-op.png) no-repeat center;
}
.screen-step3 .code3 {
    width: 469px;
    height: 75px;
    background: url(../img/code3-3.png) no-repeat center;
    margin: -507px 0 0 52px;
}
.screen-step3 .code3.active2 {
    background: url(../img/code3-3-op.png) no-repeat center;
}
.screen-step3 .code4 {
    width: 278px;
    height: 74px;
    background: url(../img/code3-4.png) no-repeat center;
}
.screen-step3 .code4.active2 {
    background: url(../img/code3-4-op.png) no-repeat left top;
}

.screen-step3 .code5 {
    width: 398px;
    height: 75px;
    background: url(../img/code3-5.png) no-repeat center;
}
.screen-step3 .code5.active2 {
    background: url(../img/code3-5-op.png) no-repeat center;
}

.screen-step3 .code6 {
    width: 278px;
    height: 74px;
    background: url(../img/code3-4.png) no-repeat center;
}
.screen-step3 .code6.active2 {
    background: url(../img/code3-4-op.png) no-repeat center;
}
.screen-step3 .code7 {
    width: 469px;
    height: 75px;
    background: url(../img/code3-3.png) no-repeat center;
}
.screen-step3 .code7.active2 {
    background: url(../img/code3-3-op.png) no-repeat center;
}
.screen-step3 .code8 {
    width: 278px;
    height: 74px;
    background: url(../img/code3-4.png) no-repeat center;
}
.screen-step3 .code8.active2 {
    background: url(../img/code3-4-op.png) no-repeat center;
}
.screen-step3 .code9 {
    width: 409px;
    height: 75px;
    background: url(../img/code3-5-2.png) no-repeat center;
}
.screen-step3 .code9.active2 {
    background: url(../img/code3-5-2-op.png) no-repeat center;
}
.screen-step3 .code10 {
    width: 278px;
    height: 74px;
    background: url(../img/code3-4.png) no-repeat center;
}
.screen-step3 .code10.active2 {
    background: url(../img/code3-4-op.png) no-repeat center;
}
.screen-step3 .code6,
.screen-step3 .code7,
.screen-step3 .code8,
.screen-step3 .code9,
.screen-step3 .code10 {
    margin-top: -18px;
}

.content-right {
}
.view-wrap {
    position: relative;
    width: 1060px;
    height: 805px;
    position: absolute;
    right: 139px;
    bottom: 130px;
    background: url(../img/bg-view.png) no-repeat center / 100%;
}
.screen-step2 .view-wrap {
    background: url(../img/bg-view2.png) no-repeat center / 100%;
}
.screen-step3 .view-wrap {
    background: url(../img/bg-view3.png) no-repeat center / 100%;
}
.view-inner {
    width: 1024px;
    height: 769px;
    position: absolute;
    left: 18px;
    top: 18px;
    background: url(../img/view-bg.png) no-repeat center;
    border-radius: 15px;
    overflow: hidden;
}
.screen-step2 .view-inner {
    background: url(../img/view-bg2.png) no-repeat 46px 65px;
}
.screen-step3 .view-inner {
    background: url(../img/view-bg3.png) no-repeat center;
}
.view-wrap .click {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8) url(../img/btn-play.png) no-repeat center;
    z-index: 11;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 15px;
    pointer-events: none;
    cursor: default;
}
.view-wrap .click.active {
    cursor: pointer;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.8) url(../img/btn-play-active.png) no-repeat center;
}
.view-wrap .click.hide {
    display: none;
}
.view-wrap .click.active:before {
    content: '';
    display: block;
    width: 122px;
    height: 99px;
    background: url(../img/click.png) no-repeat center / 100%;
    position: absolute;
    left: 531px;
    top: 398px;
    opacity: 0;
    pointer-events: none;
}
.view-wrap .click.active:before {
    opacity: 1;
    animation: magnifire_ani 1s linear infinite;
}

.view-wrap .ch {
    position: relative;
    position: absolute;
    width: 104px;
    height: 114px;
    background: url(../img/ch1.png) no-repeat center / 100%;
    z-index: 10;
}
.screen-step1 .view-wrap .ch {
    top: 453px;
    left: 493px;
}
.screen-step2 .view-wrap .ch {
    width: 101px;
    height: 110px;
    background: url(../img/ch2.png) no-repeat center / 100%;
    top: 183px;
    left: 413px;
}
.screen-step3 .view-wrap .ch {
    top: 159px;
    left: 44px;
}
.screen-step2 .view-wrap .ch .bubble {
    position: absolute;
    left: -135px;
    top: 112px;
    width: 242px;
    height: 170px;
    background: url(../img/bubble.png) no-repeat center / 100%;
    font-family: 'Hakgyoansim Allimjang';
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    text-align: center;
    color: #000;
    padding-top: 62px;
    display: none;
}
.screen-step2 .view-wrap .ch.no .bubble {
    display: block;
}
.view-wrap .ch.turn1:before {
    content: '';
    display: block;
    width: 39px;
    height: 39px;
    background: url(../img/arrow1.png) no-repeat center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}
.view-wrap .ch.turn2:before {
    content: '';
    display: block;
    width: 39px;
    height: 56px;
    background: url(../img/arrow2.png) no-repeat center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
}

.pop-wrap {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 12;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
.pop-wrap .pop {
    width: 550px;
    height: 190px;
    background: #01adc5;
    border: 4px solid #026d7f;
    border-radius: 23px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 35px 28px 0;
}
.pop-wrap .pop .title {
    font-family: 'Hakgyoansim Allimjang';
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    text-align: center;
    color: #fff;
}
.pop-wrap .pop .pop-con {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.pop-wrap .pop .pop-con input {
    width: 393px;
    height: 62px;
    border-radius: 15px;
    padding-top: 9px;
    padding-right: 9px;
    padding-bottom: 9px;
    padding-left: 30px;
    border: none;
    outline: none;
    background: #026d7f;
    font-family: 'Hakgyoansim Allimjang';
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    color: #fff;
}
.pop-wrap .pop .pop-con input::placeholder {
    color: #fff;
}
.pop-wrap .pop .pop-con button {
    width: 85px;
    height: 58px;
    font-family: 'Hakgyoansim Allimjang';
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    text-align: center;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px #00000026, 0px 0px 10px 0px #00000040 inset, 0px 0px 4px 0px #ffffff40 inset;
    flex-wrap: nowrap;
}

@supports (-webkit-appearance: none) {
    .pop-wrap .pop .pop-con button {
        font-size: 23px;
        letter-spacing: -1px;
    }
}

.btn-back {
    opacity: 0;
    pointer-events: none;
    background: url(../img/btnBack.png) no-repeat center / 100%;
    width: 300px;
    height: 88px;
    position: absolute;
    bottom: 33px;
    left: 50px;
    font-size: 36px;
    color: #fff;
    font-family: 'Hakgyoansim Allimjang';
    cursor: pointer;
    z-index: 100;
    padding-top: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.4);
}
.btn-back.active {
    opacity: 1;
    pointer-events: all;
}

@keyframes scissors2-ani {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-50deg);
    }
}

@keyframes blink-effect {
    50% {
        opacity: 0.3;
    }
}

/* 도장 애니메이션 */
@keyframes stampani {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 돋보기 반짝이 애니메이션 */
@keyframes magnifire_ani {
    50% {
        opacity: 0.3;
    }
}

@keyframes circle_ani {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* pc에서 */
@media (min-width: 1240px) {
    .pop_slide_wrap .pop_slide ul li::before {
        top: 8px;
    }
}

/* @media screen and (max-width: 375px) {
  .pop_slide_wrap .pop_slide ul li span.answer {
    font-size: 48px;
  }
} */
.intro-screen-0 {
    background: url(../img/intro-0-bg2.png) no-repeat center / 100%;
}
.intro-screen-0 .intro-inner {
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease-in-out;
}
.intro-title {
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 715px;
    height: 253px;
    background: url(../img/intro-0-bg.png) no-repeat center / 100%;
    opacity: 0;
}
.intro-title.active {
    opacity: 1;
    transition: opacity 1s ease-in-out 1.8s;
}
.btn-start {
    position: absolute;
    bottom: 233px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 310px;
    height: 131px;
    background: url(../img/btn-start.png) no-repeat center / 100%;
    text-indent: -9999px;
    opacity: 0;
}
.btn-start.active {
    opacity: 1;
    transition: opacity 1s ease-in-out 2.2s;
}
