@charset "utf-8";

@font-face {
    font-family: 'DungGeunMo';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/DungGeunMo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 공통 */
*{box-sizing : border-box;}
html {
    background: #FDFDFD;
}

html,
body {
    height: 100%;
    overflow: auto;/* 스크롤 가능 */
    -ms-overflow-style: none;/* IE/Edge */
    scrollbar-width: none;/* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;/* Chrome/Safari */
}

body {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, #6A94FF 19%, #CDE1FF 67%, #FFFFFF 92%);
    /* overflow: hidden; */
    font-family: 'DungGeunMo';
}

.cont {
    aspect-ratio: 1300 / 953;
    max-width: 1300px;
    /*     width: 100%;
    height: 953px; */
    margin: 0 auto;
    background: url(../img/img_music_main_bg.png) no-repeat center/contain;
    position: relative;
}

a:hover {
    cursor: pointer;
}

.prev {
    width: 40px;
    height: 40px;
    background: url(../img/icon/ico_prev.png) no-repeat center/cover;
}

.play {
    width: 30px;
    height: 30px;
    background: url(../img/icon/ico_play.png) no-repeat center/cover;
    margin-left: 5px;
}
.nowplay.playing{
    width: 30px;
    height:30px;
    background: url(../img/icon/ico_pause.png) no-repeat center/cover;
    margin-left:5px;
}

.next {
    width: 40px;
    height: 40px;
    background: url(../img/icon/ico_next.png) no-repeat center/cover;
}

button:hover {
    scale: 1.2;
}

/* player area */
main .player .player-screen {
    width: 16%;
    height: 30%;
    /*     background: gray; */
    position: absolute;
    top: 29%;
    left: 13%;
    display: grid;
    grid-template-rows: 17% 70% 3% 5%;/* 노래 인포, 노래 앨범, 바, 시간 */
    gap: 8px;
    padding: 10px;
    font-family: 'DungGeunMo';
}

main .player .player-screen .music-info {
    text-align: center;
    color: #fff;
    font-size: 16px;
}

main .player .player-screen .music-info h3 {
    margin-bottom: 8px;
    letter-spacing : -1px;
}

main .player .player-screen .music-info p {
    letter-spacing: -1px;
}

main .player .player-screen .cover {
    background: no-repeat center/contain;
}

main .player .player-screen .cover img {
    width: 100%;
    height: 100%;
    display: block;
}

main .player .player-screen .bar {
    /* background: yellow; */
    height: 8px;
    background: #233a72;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35);
}

main .player .player-screen .bar>span {
    display: block;
    height: 100%;
    width: 0%;/* 노래가 진행되면서 차오름 */
    background: #6993fe;
    transition: width 0.15s linear;
}

main .player .player-screen .music-time {
    font-size: 18px;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

main .player .player-button {
    position: absolute;
    bottom: 23.5%;
    left: 14.8%;
    display: flex;
    gap: 23px;
    align-items: center;
}

/* list area */
main .list .list-header {
    width: 55%;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    position: absolute;
    right: 10%;
    top: 21.2%;
}

main .list .list-header li {
    width: 20%;

    background: #fff;
    outline: 3px solid #5476CB;
    border-radius: 8px 8px 0 0;
    text-align: center;
    line-height: 45px;
}

main .list .list-header li a {
    width: 100%;
    display: block;
    font-size: 23px;
}

main .list .list-header li a:hover {
    background: #6993fe;
    color: #fff;
}

main .list .list-header li.on a {
    background: #42578D;
    color: #fff;
}

.rank::-webkit-scrollbar {
    display: none;
}

main .list .rank li {
    width: 100%;
    height: 8.5%;
    margin-bottom: 8px;
    border: 1px solid black;
    border-radius: 10px;
    background: #6993fe;
    box-shadow: inset 0px -1px 0px rgba(255, 255, 255, 0.4),
        inset 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

main .list .rank li a {
    width: 100%;
    display: flex;
    padding: 5px 30px;
    align-items: center;
    font-size: 20px;
    color: #fff;
}

main .list .rank li a button{
    width: 20px; height: 20px;
}

main .list .rank li a:hover,
main .list .rank li a.on {
    background-color: #42578D;
    font-weight: 700;
    border-radius: 10px;
    overflow: hidden;
    white-space: nowrap;
}

main .list .rank li a p {
    margin-right: 30px;
    font-size: 20px;
}

main .list .rank li a figure {
    width: 35px;
    height: 35px;
    margin-right: 30px;
}

main .list .rank li a figure img {
    width: 100%;
    height: 100%;
    background: center/contain;
    border-radius: 8px;
}

main .list .rank li a .play {
    margin-right: 30px;
}

main .list .rank li a strong {
    width: 240px;
    letter-spacing: -1px;
    font-family: "Pretendard Variable";
}

main .list .rank li a span {
    font-size: 16px;
    letter-spacing: -1.5px;
    font-family: "Pretendard Variable";
}

main .list .rank {
    display: none;
}

main .list .rank.on {
    display: block;
}

/* 세부페이지 버튼 */
main .list .goto {
    display: flex;
    width: 30%;
    height: 5%;
    background: #6993FE;
    border-radius: 10px;
    border: 1px solid #000;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: inset 2px 2px 5px 3px rgba(255, 255, 255, 0.25);
    position: absolute;
    bottom: 13%;
    right: 23%;
}

main .list .goto p {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
}

main .list .goto i {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../img/icon/ico_goto.png) no-repeat center/cover;
}

/* footer */
footer {
    width: 100vw;
    position: absolute;
    top: 98%;
    background: #Fff;
}

/* 사운드클라우드 위젯 */
#scwig {
    display: none;

}


