@charset "utf-8"; 

/* 자동차 조립 */

/* 별 */
.constelacao { position: absolute; left: 0; top: 0; width: 100%; height: 100% } 
.estrela { background-color: white; border-radius: 50%; position: absolute; animation-name: estrela; animation-timing-function: linear; animation-iteration-count: infinite } 
.estrela.style1 { animation-duration: 0.5s; animation-name: estrela } 
.estrela.style2 { animation-duration: 1s; animation-name: estrela } 
.estrela.style3 { animation-duration: 1.5s; animation-name: estrela } 
.estrela.style4 { animation-duration: 2s; animation-name: estrelaDestacada } 

.estrela.tam1 { width: 1px; height: 1px } 
.estrela.tam2 { width: 2px; height: 2px } 
.estrela.tam3 { width: 3px; height: 3px } 

.estrela.opacity1 { opacity: 1 } 
.estrela.opacity2 { opacity: .5 } 
.estrela.opacity3 { opacity: .1 } 



.game-wrp { background: linear-gradient(to bottom, #3d1c97,#6f1977) } 
.icon-close { background-color: #FFC700 } 
.icon-home { background-color: #FFC700; box-shadow: 2px 2px #E48C25 }; #life { background: #E6DBFF; box-shadow: 8px 8px #341490 } 
#life i { background-image: url(../img/game01/icon-star.png) } 
#life i.off { background-image: url(../img/game01/icon-star-off.png) } 

/* 버튼 */
.btn { background: #858AFF; border-color: #AFB2FF; box-shadow: 0px 8px #6267DB !important } 
.btn-start, .step-wrp .btn { background: #42C6FF; border-color: #79D7FF; box-shadow: 0px 8px #1E9FD7 !important } 
.btn-reset { background: #6BE2B7; border-color: #A4F0D5; box-shadow: 0px 8px #3FC092 !important } 
#modal-guide .btn-text { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: #AA8CFF; border: none; box-shadow: none!important; font-size: 22px; line-height: 1.3; color: #E1D7FF; cursor:default; } 

/* 팝업 */
.modal-title { color: #5E33D9 } 
.guide-item .num { background: #42C6FF } 
#modal-guide .modal-dialog { max-width: 967px } 
#modal-guide .icon-close { background-color: #5E33D9 } 


/* home */
#home .home-title { width: 879px; margin: -3px 2px; z-index: 0 !important; } 

/* help */
.guide-open #act .char-help { opacity: 0; transition: none } 
.game-wrp:not(.guide-open) .char-help { transition: .5s } 
#act .char-help { left: 26px; bottom: 10px; z-index: 10; opacity: 1; transform: none; transition: .5s .5s } 
#act .char-help .char-sub { transform: rotate(-45deg); animation: flying-ani02 3s linear 0s infinite alternate } 
.help-balloon { position: absolute; transform: translateX(-50%); left: 50%; bottom: 135%; display: inline-block; padding: 11px 21px; background: #2F2255; border-radius: 30px; font-size: 18px; line-height: 1.3; white-space: nowrap; color: #E1D7FF; transition: .5s } 
.help-balloon.off { opacity: 0 } 
.help-balloon::after { content: ''; transform: translateX(-50%); display: block; position: absolute; top: 90%; left: 50%; width: 28px; height: 20px; background: url(../img/game01/help-tail.svg)no-repeat center / 100% } 
.help-balloon i { position: absolute; left: 8px; bottom: 77%; display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; background: #AA8CFF; border-radius: 50% } 
.help img { position: absolute; top: 377px; left: 97px; } 
.help-open .help img { animation: twinkle .75s ease-in-out forwards; animation-iteration-count:3 } 
[data-page] .help img { display:none; width: 456px; opacity: 1 } 
[data-page="1"] .help .page01, [data-page="2"] .help .page02, [data-page="3"] .help .page03 { display: block } 
[data-page="2"] .help img { width: 222px; top: 379px; left: 249px; } 
[data-page="3"] .help img { width: 379px; left: 143px; top: 460px; } 
/* 배경오브제 */
.bg-obj01 { left: 123px; top: 87px; width: 142px; transition: .5s; opacity: .4; } 
.bg-obj02 { right: 105px; top: 312px; width: 130px; transition: .5s; opacity: 0 } 
.bg-obj03 { left: 0; top: -46px; width: 1280px; max-width: none; transition: .5s; } 
.bg-obj04 { bottom: 0px; margin-left: 74px; width: 1131px } 
.bg-obj05 { bottom: 0; left: 0; right: 0 } 
.begin-bg .bg-obj01 { top: 50px; width: 265px } 
.begin-bg .bg-obj02 { opacity:.4 } 
.begin-bg .bg-obj03 { top: 156px } 



/* intro */
#intro .step-wrp { top: 128px; left: 418px } 
#intro .step-wrp::before { top: 103%; left: 54%; width: 79.82%; height: 25px; background-color: #9051AE; opacity: 1; } 
#intro .step-index li { background-color: #7146EB; color: #A080FF } 
#intro .step-index li.active { background-color: #A485FF } 
#intro .step-bubble { left: 52px; background-image: url(../img/game01/step-bubble.png) } 
#intro .pages { z-index: 10; transform: none; left: 0; display: inline-block; width: 579px } 
#intro .pages .base { position: absolute; transform: none; top: 0; left: 0; padding-left: 47px; width: 579px; animation: fadeIn 1s .5s both } 
#intro .pages .base *:not(.intro-light) { position: absolute } 
#intro .intro-light { opacity: .5 } 
#intro .intro-car { left: -48px; top: 227px; max-width: 100%; transform: scale(1.6); } 
[class*=page0] { width: 286px; position: absolute; top: 187px; left: 171px } 
#intro .intro-obj { left: 28px; bottom: -12px; } 
#intro .star01 { left: 175px; top: 279px; animation: twinkle .5s .3s ease-in-out infinite alternate; } 
#intro .pages .base::before { content: ''; position: absolute; top: 91%; left: 24%; display: block; width: 60%; height: 11%; border-radius: 50%; background-color: #9051AE } 
#intro .char-sub-wrap { position: absolute; left: 185%; bottom: 13%; transform: none; animation: fadeIn 1s .5s both } 
#intro .char-sub-wrap *:not(.char-sub) { position: absolute } 
#intro .char-sub-wrap * { max-width: none } 
#intro .char-sub { animation: flying-ani01 3s linear 0s infinite alternate } 
#intro .char-sub-wrap .star01 { left: 4px; top: -13px } 
#intro .star02 { left: 23px; top: -36px; animation: twinkle .5s ease-in-out infinite alternate } 


/* act */
.guide-open .guide { transition: opacity .75s 1.25s } 
.guide-obj { left: 676px; top: 141px; width: 387px; height: 145px; background-image: url(../img/game01/body-on.png); background-size: 100% auto; background-repeat: no-repeat; } 
.guide-line { top: 228px; left: 384px; width: 283px; height: 213px; background-image: url(../img/game01/guide-line01.png); background-size: 100% auto; background-repeat: no-repeat; transform: rotate(12deg); } 
.guide-move { top: 231px; left: 655px; transition: transform 1.5s 2.25s } 
.guide-open .guide-move { transform: translate(-280px, 129px) } 
.guide-balloon { top: 178px; left: 336px; } 
.guide-balloon:after { background-image: url(../img/game01/guide-tail.svg); top: 103%; left: calc( 100% - 60px ); right: auto; width: 19px; height: 13px } 
.interaction { position: relative; left: auto; transform: none; height: 100% } 
.interaction::before { content: ""; position: absolute; top: 89%; left: 41%; width: 51.82%; height: 30px; border-radius: 50%; background-color: #9152AF; opacity: .6 } 
#act .bx { /*top:24px; */
 bottom: 74px; width: 575px; margin-left: 229px; padding: 2px 0 0 0px; border: 14px solid #B18CFF; border-radius: 48px; box-shadow: 4px 0 0 2px #D4C0FF, -4px 0 0 2px #D4C0FF, inset 8px 8px 0 0 #EBE8F6; } 
#act .base { position: absolute; display: inline-block; margin-left: 47px; top: 0; left: 0 } 
#act .base::before { content: ""; position: absolute; bottom: -12px; left: 89px; width: 360px; height: 64px; border-radius: 50%; background-color: #9051AE } 
.act-obj { position: absolute; left: 37px; bottom: 0 } 
.act-car { position: absolute; left: 100px; bottom: 55px; width: 448px; height: 413px; background: url(../img/game01/car-base.png) no-repeat center / 100%; } 
.drop-box { position: absolute; top: 376px; left: 95px; width: 459px; height: 169px; } 
.drag-area { position: absolute; top: 0; left: 0; width: 100%; height: 100% } 
.drag-item { position: absolute; z-index: 10 } 
.drag-item.on { pointer-events: none; z-index: 2 } 
.drag-item.dropped { opacity: 0; pointer-events: none } 
.drag-item i { display: inline-block; background-size: 100% auto; background-repeat: no-repeat } 
.body { top: 55px; left: 71px; width:404px; height:159px; } 
.body i { width: 372px; height: 158px; background-image: url(../img/game01/body-drag.png); top: 12px; left: 0px; position: relative; } 
.door { top: 253px; left: 141px; } 
.door i { width: 272px; height: 126px; background-image: url(../img/game01/door-off.png) } 
.wheel { top: 429px; left: 149px; } 
.wheel i { width: 315px; height: 76px; background-image: url(../img/game01/wheel-off.png); position: absolute; left: -32px; } 


/* page1 */
[data-page] .drop-area { display: none; opacity: 1 } 
[data-page="1"] .drop-area.page01, [data-page="2"] .drop-area.page02, [data-page="3"] .drop-area.page03 { display: block } 
[data-drop="1"]+.act-car { background-image: url(../img/game01/car-drop01.png) } 
/* page 2 */
[data-page="2"] .guide-obj { left: 734px; top: 332px; width: 283px; height: 135px; background-image: url(../img/game01/door-on.png); } 
[data-page="2"] .guide-line { top: 329px; left: 393px; width: 366px; height: 209px; background-image: url(../img/game01/guide-line02.png); transform: rotate(8deg) } 
[data-page="2"] .guide-move { top: 330px; left: 750px; } 
.guide-open [data-page="2"] .guide-move { transform: translate(-380px, 86px) } 
[data-page="2"] .guide-balloon { top: 268px; left: 542px; } 
[data-page="2"] .door i { background-image: url(../img/game01/door-drag.png) } 
[data-page="2"] .act-car { background-image: url(../img/game01/car-01.png) } 
[data-drop="2"]+.act-car { background-image: url(../img/game01/car-drop02.png) } /*drop*/


/* page 3 */
[data-page="3"] .guide-obj { left: 709px; top: 508px; width: 320px; height: 87px; background-image: url(../img/game01/wheel-on.png); } 
[data-page="3"] .guide-line { top: 425px; left: 478px; width: 233px; height: 209px; background-image: url(../img/game01/guide-line03.png); transform: rotate(-1deg); } 
[data-page="3"] .guide-move { top: 523px; left: 690px; } 
.guide-open [data-page="3"] .guide-move { transform: translate(-220px, -50px) } 
[data-page="3"] .guide-balloon { top: 444px; left: 520px; } 
[data-page="3"] .wheel i { background-image: url(../img/game01/wheel-drag.png) } 
[data-page="3"] .act-car { background-image: url(../img/game01/car-02.png) } 
[data-drop="3"]+.act-car { background-image: url(../img/game01/car-drop03.png) } 



/* ending */
#ending .bx { width: 600px; padding: 58px 40px; border-color: #FFC7CA; box-shadow: 8px 8px #EA7080 } 



/* ending */
.ending-bg .bg-obj01 { width: 265px; top: -44px } 
.ending-bg .bg-obj02 { opacity: 1; top: 183px; right: 158px } 
.ending-bg .bg-obj03 { opacity: 0 } 
.bg-ending { bottom: 0 } 
.ending-obj01 { bottom: 136px; z-index: 2; } 
.ped-shadow { display: block; position: absolute; bottom: 123px; left: 50%; transform: translateX(-50%); width: 360px; height: 64px; border-radius: 50%; background: #000; opacity: .5; z-index: 1; } 
#ending [class^=spotlight-wrap] { transform: none } 
#ending [class^=spotlight-wrap] .light { position: absolute; max-width: none; width: 409px; height: 370px; top: 21px; left: 31px } 
#ending .spotlight-wrap-1 { left: 135px; animation: ani-light01 2.5s linear .25s infinite alternate } 
#ending .spotlight-wrap-2 { left: 404px; animation: ani-light01 2.5s linear .25s infinite alternate } 
#ending .spotlight-wrap-2 .light { width: 223px; height: 427px; left: 17px; top: 35px } 
#ending .spotlight-wrap-3 { left: 50%; transform: translateX(-50%) } 
#ending .spotlight-wrap-4 { right: 404px; left: auto; transform: scale(-1,1); animation: ani-light02 2.5s linear .25s infinite alternate } 
#ending .spotlight-wrap-4 .light { width: 223px; height: 427px; left: 17px; top: 35px } 
#ending .spotlight-wrap-5 { right: 135px; left: auto; transform: scale(-1,1); animation: ani-light02 2.5s linear .25s infinite alternate } 
#ending [class*=star0] { animation: twinkle .5s ease-in-out infinite alternate } 
#ending .star01 { top: 119px; left: 464px; transform: none } 
#ending .star02 { top: 222px; left: 462px; transform: none; animation-delay: .3s } 
#ending .star03 { top: 190px; left: 400px; transform: none; animation-delay: .5s } 
#ending .star04 { top: 220px; left: 801px; transform: none; animation-delay: .5s } 
#ending .star05 { top: 186px; left: 800px; transform: none; animation-delay: .5s } 
.done-car { top: 330px; width: 566px; height: 169px; z-index: 3; } 
.done-car i { display: block; width: 100%; height: 100%; background: url(../img/game01/done-car.png) no-repeat center / auto 100%; top: -45px; position: absolute; } 
.dance-char-2 { top: 369px; left: 266px!important; transform: none!important; width: 131px; height: 210px } 
.dance-char-2 i { display: block; width: 100%; height: 100%; background: url(../img/game01/char-sub-2.svg) no-repeat center bottom / auto } 
.dance-char-2.on i { background-image: url(../img/game01/char-sub-3.svg) } 
.dance-char-2::before,
.dance-char-3::before { content: ''; display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 105px; height: 12px; border-radius: 50%; background: #000; opacity: .5; } 
.dance-char-3::before { width: 58px; } 
.dance-char-2.on::before { left: 60%; } 
.dance-char-3.on::before { left: 40%; } 
.dance-char-3 { top: 369px; right: 225px; left: auto!important; transform: none!important; width: 193px; height: 202px } 
.dance-char-3 i { display: block; width: 100%; height: 100%; background: url(../img/game01/char-sub02.svg) no-repeat center / auto 100% } 
.dance-char-3.on i { background-image: url(../img/game01/char-sub02-2.svg) } 

@keyframes flying-ani01 { 50% { transform: translateY(-20px) } 
 }
@keyframes flying-ani02 { 50% { transform: translateY(-20px) rotate(-45deg); } 
 }
.ai01, .ai03 { animation: rolling-ani01 2.5s linear .25s infinite alternate } 
.ai02, .ai04 { animation: rolling-ani02 2s linear .5s infinite alternate } 
.ai03, .ai04, .ai07 { z-index:2 } 
.ai03 { animation-delay: .5s } 
.ai04 { animation-delay: .75s } 
.ai01 { top: 44px; left: 132px } 
.ai02 { top: 53px; left: 89px } 
.ai03 { left: 185px; top: 175px } 
.ai04 { left: 135px; top: 188px } 
.ai05 { left: 41px; top: 68px } 
.ai06 { left: 0px; top: 159px } 
.ai07 { left: 344px; top: 175px } 
.intro-ai .ai03 { left: 239px; top: 219px } 
.intro-ai .ai04 { left: 195px; top: 229px } 
.intro-ai .ai06 { left: 37px; top: 182px } 
.intro-ai .ai07 { left: 365px; top: 222px } 

#ending .bg-obj01 { top: 323px; left: 226px } 
#ending .bg-obj02 { left: 135px; top: 388px } 
#ending .bg-obj03 { left: 984px; top: 289px } 
#ending .bg-obj04 { left: 1045px; top: 370px } 


.guide-list .guide-item:nth-child(5) { padding-right:50px; } 

@keyframes estrela { 
 0% { box-shadow: 0 0 10px 0px rgba(255, 255, 255, 0.05); } 
 50% { box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.4); } 
 100% { box-shadow: 0 0 10px 0px rgba(255, 255, 255, 0.05); } 
 }

@keyframes estrelaDestacada { 
 0% { background-color: #FFFFFF; box-shadow: 0 0 10px 0px rgba(255, 255, 255, 1); } 
 20% { background-color: #FFC4C4; box-shadow: 0 0 10px 0px rgb(255, 196, 196, 1); } 
 80% { background-color: #C4CFFF; box-shadow: 0 0 10px 0px rgb(196, 207, 255, 1); } 
 100% { background-color: #FFFFFF; box-shadow: 0 0 10px 0px rgba(255, 255, 255, 0.2); } 
 }
@keyframes twinkle { 
 0% { opacity: 0 } 
 100% { opacity: 1 } 
 }
@keyframes sad01 { 
 0% { transform: rotate(0) translate(0,0) } 
 100% { transform: rotate(-31deg) translate(-4px,5px) } 
 }
@keyframes sad02 { 
 0% { transform: rotate(0) translate(0,0) } 
 100% { transform: rotate(31deg) translate(4px,5px) } 
 }
@keyframes tear { 
 0% { opacity: 0; transform: translateY(0) } 
 100% { opacity: 1; transform: translateY(25%) } 
 }

@keyframes rolling-ani01 { 50% { transform: translate(-2px, 6px) rotate(-11deg); } 
 }
@keyframes rolling-ani02 { 50% { transform: translate(0, -4px) rotate(12deg) } 
 }
@keyframes ani-light01 { 
 0% { transform: rotate(0) } 
 100% { transform: rotate(-10deg) } 
 }
@keyframes ani-light02 { 
 0% { transform: rotate(0) scale(-1,1) } 
 100% { transform: rotate(-10deg) scale(-1,1) } 
 }


 .page01 .result-ai.wrong p, [data-page="1"] .result-ai.wrong p { bottom: 180px; left: 180px; transform: rotate(8deg); } 
 .page01 .result-ai.correct p, [data-page="1"] .result-ai.correct p { bottom: 197px; left: 195px; transform: rotate(9deg); } 
 .page02 .result-ai.correct p, [data-page="2"] .result-ai.correct p { bottom: 205px; left: 186px; } 
 .page02 .result-ai.wrong p, [data-page="2"] .result-ai.wrong p { bottom: 182px; left: 178px; } 
 .page03 .result-ai.wrong p, [data-page="3"] .result-ai.wrong p { bottom: 184px; left: 187px; } 
 .page03 .result-ai.correct p, [data-page="3"] .result-ai.correct p { bottom: 207px; left: 200px; }