@charset "UTF-8";

@import url(reset.css);
@import url(theme.css);
@import url(fonts.css);
@import url(common.css);

@import url(player.css);
@import url(singing.css);

html{
    background-color: #e1e8e9;
}
body{
    width: var(--main-width);
    height: var(--main-height);
}
main{
    width: var(--main-width);
    height: var(--main-height);
}
section{
    width: var(--main-width);
    height: var(--main-height);
    position: relative;
}

.content{
    width: var(--main-width);
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}
.kick{
    position: absolute;
    left: 63px;
    top: 43px;
    width: 170px;
    height: 65px;
    background: url(../images/tambang.svg) left top/contain no-repeat;
}

.kick > p{
    position: relative;
    top: 16px;
    font: normal normal bold 30px 'Sandoll MiSaeng';
    line-height: 1;
    margin-inline: auto;
    width: 100%;
    text-align: center;
}

.kick > p:before,
.kick > p:after{
    content: attr(data-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    speak: none;
    color:#3B7C9D;
    text-align: center;
    width: 100%;
}
.kick > p:before{
    -webkit-text-stroke-color: white;
    -webkit-text-stroke-width: 4px;
}

dl{
    position: absolute;
    left:50%;
    top: 72px;
    transform: translateX(-50%);
    height: 104px;
    height: 104px;
}

main.mobile dt{
    height: 52px;
}
main.mobile dd{
    height: 61px;
}
main.mobile dd:after{
    bottom: 0px;
}
main.mobile .pop_title:before{
    bottom: -6px;
}

dt{
    height: 48px;
    font: normal normal bold 32px '12LotteMartHappyBold';
    text-align: center;
}
dd{
    width: max-content;
    height: 60px;
    z-index: 1;
    position: relative;
    font: normal normal bold 52px 'S-Core Dream 9';
    color: #0C2259;
    text-align: center;
    margin-inline: auto;
}
dd:after{
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #D9D9D9;
    border-radius: 12px;
    padding-inline: 40px;
    margin-inline: -40px;
}
dd > p{
    position: relative;
    z-index: 1;
    line-height: 1;
}
.content_inner{
    --radius:26px;
    width: 1100px;
    min-height: 358px;
    position: absolute;
    left: 70px;
    top: 207px;
    border-radius: var(--radius);
    background: linear-gradient( #E5ECF5 , #DAE7F5);
    display: grid;
    grid-template-columns: 499px auto;
    grid-template-rows: 77px;
    padding-block: 46px;
    padding-left: 40px;
    filter: drop-shadow(0 7px 0 #5177A4);
    box-shadow: 0 0 13.1px rgba(0,0,0,0.25);
}
/* 
.content_inner:before{
    content: "";
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    background-color: red;
} */

.content_inner > p{
    font:var(--copy-t);
    color: #3459B7;
}
.content_inner > div{
    width: 574px;
    height: 338px;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 24px;
    grid-row: 1/3;
    grid-column: 2;
}
[class^="item_"]{
    width: 277px;
    height: 278px;
    background: var(--sprite);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
[class^="item_"] button{
    --w: 46px;
    position: absolute;
    right: -6px;
    top: 0;
    width: var(--w);
    height: var(--w);
    border-radius: 50%;
    background: var(--sprite);
    background-position: -228px -346px;
}
[class^="item_"] img{
    transition:scale var(--ani);
}
[class^="item_"]:hover img{
    scale: 1.1;
}

[class^="item_"] > p{
    position: absolute;
    bottom: -12px;
    right: 20px;
    height: 48px;
    padding-inline: 14px;
    filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.25));
    font:normal normal bold 24px 'GangwonEduAll';
    display: flex;
    align-items: center;
}

[class^="item_"] > p:after,
[class^="item_"] > p:before{
    content: "";
    position: absolute;
    width: 51%;
    height: 100%;
    background: var(--sprite);
    background-position-y: -283px;
}

[class^="item_"] > p:before{
    left:0;
}
[class^="item_"] > p:after{
    background-position-x: right;
    right: 0;
}

[class^="item_"] > p > span{
    position: relative;
    z-index: 1;
    color:#6D3131;
    text-align: center;
}

[class^="item_"] > p > span > span{
    color:#333333;
    font-size: 16px;
}
.singbutton{
    position: absolute;
    top: 124px;
    right: 70px;
    width: 174px;
    height: 60px;
    border-radius: 30px;
    background-color: transparent;
    background: var(--sprite);
    background-position: left bottom;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    color:#000000 !important;
}
.singbutton:hover:before{
    animation: tada calc(var(--ani)*2) ease-in-out forwards;
}

@keyframes tada {
    0% {
        transform: scaleX(1)
    }
    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate(-3deg)
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate(3deg)
    }
    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg)
    }
    to {
        transform: scaleX(1)
    }
}
.singbutton:before{
    content: "";
    position: absolute;
    left: 25px;
    top: 6px;
    width: 30px;
    height: 48px;
    background: var(--sprite);
    background-position: -188px bottom;
}

.singbutton > span{
    position: absolute;
    top: 0px;
    left: 56px;
    width: 101px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
    font-size: 16px;
    letter-spacing: -1px;
    flex-direction: column;
    font: var(--text-add);
    font-size: 20px;
    line-height: 1.1;
    color:#000000 !important;
}
.singbutton.sm > span{
    font-size: 16px;
    line-height: 1.2;
}
.singbutton > span i{
    font-style: normal;
    font: normal normal normal 19px 'ONE Mobile Title';
}
.singbutton > span > span{
    display: block;
}

.items_wrap > p{
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--item-color);
    font: var(--copy);
}
.items_wrap > p:before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 18px;
    background-color: var(--item-color);
    vertical-align: baseline;
    margin-right: 15px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.list{
    font: var(--text-add);
    padding-left: 47px;
    width: 414px;
}
.list > li{
    position: relative;
    text-align: justify;
}
.list > li:before{
    --w: 9px;
    content: "";
    position: absolute;
    left: -29px;
    top: 23px;
    width: var(--w);
    height: var(--w);
    border-radius: 50%;
    background-color: #000;
}
.list > li + li{
    margin-top: 12px;
}


[class^="check_"],
[class^="check_"]:after{
    background: var(--sprite) left -98px/ 204px no-repeat;
}

[class^="popup"]{
    display: none;
    position: absolute;
    inset: 0;
    user-select: none;
    pointer-events: none;
    background-color: #8E8E8E;
}

[class^="popup"] > div{
    position: absolute;
    inset: 40px 27px;
    margin-top: 5px;
    border-radius: 44px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 506px auto;
    grid-template-rows: 164px;
}

.pop_img{
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1/3;
    padding-left: 14px;
}
.pop_title{
    padding-top: 80px;
    margin-left: 26px;
    font: normal normal 700 47px/1 'S-Core Dream 9';
    position: relative;
    width: max-content;
    height: 55px;
}
.pop_title:before{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    background-color: #FFDFDF;
    padding-inline: 25px;
    border-radius: 16px;
}
.pop_title > span{
    color:#3459B7;
    z-index: 1;
    position: relative;
}
.pop_title > span > span{
    margin-left: 3px;
    color:#000;
}
.pop_title + div{
    padding-inline: 28px 82px;
    font: var(--copy-pop);
    text-indent: 31px;
    text-align: justify;
    z-index: 1;
}
[class^="popup"].on{
    display: block;
    user-select: auto;
    pointer-events: auto;
}
.pop_close{
    --w: 50px;
    width: var(--w);
    height: var(--w);
    position: absolute;
    right: 16px;
    top: 16px;
    border-radius: 50%;
    background: var(--sprite);
    background-position: right bottom;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

/* 악보 */
.popkara{
    position: absolute;
    inset:0;
    display: none;
    background: #fff;
}

.popkara.on{
    display: block;
}

header{
    font: var(--nav-font-app);
    height: var(--nav-height);
    position: relative;
    z-index: 2;
}

section{
    width: 100%;
    height: calc( var(--main-height) - var(--nav-height) );
    position: relative;
    /* background: url(../images/temp.png) center 44px/1060px no-repeat; */
}

nav{
    width: 100%;
    height: var(--nav-height);
    display: flex;
    gap: 27px;
    background-color: var(--nav-bg);
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0px 4px 1px rgba(80, 78, 78, 0.27);
    mix-blend-mode: multiply;
}
nav > .flexd:has(.nav_obj.on) p,
nav > div.on p{
    color:var(--point-color);
}
nav > div > p{
    padding-inline: 9px;
    height: 100%;
    border-bottom: 0px solid transparent;
    position: relative;
    color: #737372;
    color: #000;
}

nav > div > p::before{
    content: "";
    width: 100%;
    height: 3px;
    transition: var(--ani);
    position: absolute;
    left:0;
    bottom: -15px;
    background:linear-gradient( transparent 0% , transparent 50% , var(--point-color) 50%, var(--point-color) 100% );
    background-size: auto 7px;
    background-position-y: 0;
    background-repeat: no-repeat;
}

nav > div > p:has(
    + .listening_wrap .nav_obj:where(.on,.cur) ,
    ~ .listening_wrap .nav_obj:where(.on,.cur)
)::before,
nav > div.on > p::before{
    background-position-y: -3px;
}
.flexd {
    display: flex;
    align-items: center;
    color: #737372;
}
.text_center{
    text-align: center;
    width: 100%;
    /* color: #a4a4a4; */
}

header:has(nav > div:nth-child(n+2).on) + .play_area,
header:has(nav li.on) + .play_area {
    display: flex;
}

.listening_wrap{
    --h: 32px;
    width: max-content;
    height: var(--h);
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.listening_wrap:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/fix.png) left top / 100% 100%;
    border-radius: calc(var(--h) / 2);
    box-shadow: inset 0px 2px 5px 2px rgba(0, 0, 0, 0.1);
}
.listening_wrap > span{
    position: absolute;
    display: block;
    left: 0;
    width: 50px;
    transform: translateX(-100%);
    text-align: right;
    color: #ffffff;
    font-size: 13px;
    padding-right: 12px;
}
.listening > ul {
    display: flex;
    gap: 3px;
    padding-inline: 3px;
}
.listening > ul > li{
    position: relative;
    font-size: 13px;
    height: 26px;
    line-height: 26px;
    padding-inline: 15px;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    color: #737372;
}

.listening > ul > li:where(.active,.on) {
    color: var(--point-color);
    font-weight: 800;
    background-color: #fff;
    border-radius: 13px;
    box-shadow: inset 0 -2px 3px -1px rgba(80, 78, 78, 0.2);
    filter: drop-shadow(0 0 3px rgba(80, 78, 78, 0.33));
}
.listening > ul > li.active .listening_inner{
    display: block;
}

.listening_inner{
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 30px;
    z-index: 2;
    width: 140px;
    height: 25px;
    padding-top: 20px;
    background: red;
    padding-inline: 10px;
}

.listening_inner ul{
    display: flex;
    gap:20px;
    width: 100%;
}

.section_dot{
    display: flex;
    gap:8px;
}

.listening_speed{
    display: flex;
    gap: 8px;
    position: relative;
}
.speed_wrap{
    width: 60px;
    height: 22px;
    background: linear-gradient(#ffffff , #e8e8e8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    box-shadow: var(--shadow);
    border-radius: 11px;
    position: relative;
    transition: var(--ani);
    user-select: none;
    /* filter: var(--drop); */
}
.speed_menu{
    position: absolute;
    left: 0px;
    top: 33px;
    width: 100%;
    background: #f4f5f4;
    font-size: 13px;
    box-shadow: 0 2px 5px 1px rgba(80, 78, 78, 0.57);
    z-index: 1;
    display: none;
    border-radius: 0 0 17px 17px;
    overflow: hidden;
    background: url(../images/speed.png) left top/100% 100% no-repeat;
    /* transform: translateZ(0px); */
}
.speed_wrap.on .speed_menu{
    display: block;
}
.speed_menu button.text_center{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #a4a4a4;
    z-index: 1;
    position: relative;
}
.speed_menu li.on button.text_center{
    color:#fff;
}

.speed_wrap ul{
    width: calc(100% - 4px);
    margin-inline: 2px;
    height: 100%;
    /* padding-block: 6px 0px; */
}
.speed_wrap ul li{
    position: relative;
    height: 28px;
    line-height: 19px;
}

.speed_wrap ul li.on:before{
    content: "";
    position: absolute;
    left:0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    background-color: var(--point-color);
    display: block !important;
}
.speed_wrap ul li:nth-child(3):before{
    --r:16px;
    display: none;
    border-radius: 0 0 var(--r) var(--r);
    margin-bottom: 2px;
    height: calc(100% - 2px);
}
.speed_wrap ul li:has( + li.on ):before{
    display: none !important;
}

.speed_wrap ul li:before{
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0px;
    width: calc(100% - 20px);
    height: 2px;
    background: #e7e7e7;
}

li > button.text_center{
    color: #fff;
}
.speed_wrap p{
    margin-top: 1px;
    color: #a4a4a4;
    cursor: pointer;
    position: relative;
    z-index: 2;
    width: calc(100% - 20px);
    white-space: nowrap;
    text-align: center;
    padding-right: 6px;
}
.speed_wrap p:after{
    content: "";
    width: 6px;
    height: 5px;
    position: absolute;
    right: 0px;
    top:50%;
    transform: translateY(-50%);
    background: var(--player-sprite);
    background-position: -65px -74px;
    transition: var(--ani);
}

.speed_wrap.on p:after{
    background-position-y: -88px;
}
.speed_wrap.long{
    width: 60px;
}
.nav_obj{
    cursor: pointer;
    color: #000000;
}

header:has(nav > div:nth-child(n+2).on) + section > .play_area,
header:has(nav li.on) + section > .play_area{
    display: flex;
}


#alert_mode{
    width: 100%;
    height: 100%; 
    background-color: #00000038;
    position: absolute; 
    top: 0px;z-index: 5; 
    text-align: center;
    display: none;
}
#alert_mode.on{
    display: block;
}

#alert_mode span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 76px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    font-weight: bold;
    font-family: 'NPS font';
    line-height: 72px;
    color: #43577d;
    width: 763px;
    height: 379px;
    background-color: white;
    border: 6px #55647e solid;
    box-shadow: 2px #000;
    -webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 19px 38px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 19px 38px rgba(0, 0, 0, 0.30);
    -ms-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 19px 38px rgba(0, 0, 0, 0.30);
    -o-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 19px 38px rgba(0, 0, 0, 0.30);
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 19px 38px rgba(0, 0, 0, 0.30);
}

.section_dot{
    display: flex;
    gap:8px;
}

.section_dot li{
    --w: 22px;
    width: var(--w);
    height: var(--w);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: var(--player-sprite);
    background-position: -39px 0;
    filter: var(--drop);
}

.section_dot li.off{
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
}

.section_dot li button{
    color:#a4a4a4;
    font-size: 13px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    font: inherit;
}

.section_dot li.on button,
.section_dot li:has(button.on) button{
    color:#fff;
}

.section_dot li.on,
.section_dot li:has(button.on){
    background-position-y: -24px;
}

.kara_close{
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--player-sprite);
    background-position: bottom right;
    width: 15px;
    height: 15px;
}

@media (pointer: fine) {
    :is(.repetition,.karaoke,.tempo_down,.tempo_up):hover:after{
        background-position-y: -88px;
    }

    .section_dot li:hover,
    .section_dot li:has(button:hover),
    .audio_area > button:hover{
        background-position-y: -24px;
    }

    .section_dot li:hover,
    .section_dot li button:hover{
        color:#fff;
    }

    nav > div > p:has( + .listening_wrap .nav_obj:hover )::before,
    nav > div:hover > p::before{
        background-position-y: -3px;
    }

    nav > .flexd:has(.nav_obj:hover),
    nav > div:hover {
        color: var(--point-color);
    }

    .listening > ul > li:hover{
        color: var(--point-color);
        font-weight: 800;
        background-color: #fff;
        border-radius: 13px;
        box-shadow: inset 0 -2px 3px -1px rgba(80, 78, 78, 0.2);
        filter: drop-shadow(0 0 3px rgba(80, 78, 78, 0.33));
    }
    nav > div:hover > p{
        color: var(--point-color);
    }
}




.score_items{
    display: none;
}
.score_items.onShow{
    display: block;
}

.score_annotations{
    display: none;
}

.score_annotations.onShow{
    display: block;
}


g :where(line,path,polygon,rect,polyline).hide{
    display: none;
}

g.on :where(line,path,polygon,rect,polyline).hide{
    display: block;
}




/* :where(.note,.score_annotations) g.on :where(line,path,polygon,rect,polyline){
    --point:#ff3300;
    fill :#ff3300;
}
:where(.note,.score_annotations) g.on line{
    stroke:#ff3300;
}

g.on :where(.hh, .hj, .hk ,.cls-1, .cls-3,.cls-5,.cls-6,.cls-7){
    stroke:#ff3300;
} */

.score:not(.karaokeOff) .score_items.onShow g g.on .on_type1 {
    fill: #ff3300;
}

.score:not(.karaokeOff) .score_items.onShow g g.on .on_type2 {
    stroke: #ff3300;
}

.score:not(.karaokeOff) .score_items.onShow g g.on .on_type3 {
    fill: #ff3300;
    stroke: #ff3300;
}

.score.annotationsOff .score_annotations{
    display: none;
}

g[id*="space"] > *{
    stroke: transparent !important;
    fill: transparent !important;
}
g > rect[id*="space"]{
    stroke: transparent !important;
    fill: transparent !important;
}
/* :is(.lyrics , .syllable_names, .original_language ) g rect{
    stroke: transparent !important;
    fill: transparent !important;
} */

/**악보 교체하면서 클래스 바뀌지 않도록 .cls-8*/

.guide_btn{
    --w: 22px;
    width: var(--w);
    height: var(--w);
    background: transparent var(--player-sprite);
    background-position: -39px -24px;
    position: absolute;
    color: white;
    font: var(--nav-font-app);
    font-size: 14px;
    text-align: center;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    display: none;
}
.guide_btn.onShow{
    display: flex;
}


.guide_btn.on{
    background: yellow;
    color: blue;
}
.scores{
    display: none;
}
.scores.onShow{
    display: block;
}


.testItems{
    position: absolute;
    font-size: 8px;
    color: red;
    font-weight: bold;
    
}
.testItemsIdx{
    position: absolute;
    font-size: 8px;
    color: blue;
    font-weight: bold; 
}
.reteTestBox{
    position: absolute;
    right: 500px;
    top: 50px;
    display: flex;
}
.rateTestBtns {
    position: relative;
    background-color: #ff3300;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    width: 30px;
    cursor: pointer;
}
.rateTestBtns.on{
    background-color:yellow;
    color: blue;
}
.currentTimeBox{
    position: absolute;
    width: 200px;
    height: 30px;
    background: red;
    top: 0px;
    right: 200px;
    color: white;
    border-radius: 15px;
    text-align: center;
    font-size: 30px;
}

.scoreNumBox{
    position: absolute;
    width: 100px;
    height: 30px;
    background: red;
    border-radius: 15px;
    text-align: center;
    font-size: 30px;
    color: white;
    top: 0px;
    left: 400px;
}
.indexNumBox{
    position: absolute;
    width: 200px;
    height: 30px;
    background: red;
    border-radius: 15px;
    text-align: center;
    font-size: 30px;
    color: white;
    top: 50px;
    right:200px;
}


