/* 카테고리 메뉴 스타일 */
.category-menu {
    margin-top: 10px;
}

.category-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 15px;
    font-weight: bold;
    flex-wrap: wrap; /* 작은 화면에서 자동 줄바꿈 */
}

/* 개별 카테고리 스타일 */
.category-menu li {
    display: inline;
    position: relative;
}

/* 카테고리 메뉴 링크 스타일 */
.category-menu a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    transition: color 0.3s ease;
    white-space: nowrap; /* 글자 줄바꿈 방지 */
}

/* 호버 효과 */
.category-menu a:hover {
    color: #e27777; /* 호버 시 코랄색으로 변경 */
}

/* 카테고리 사이 구분선 ( | ) */
.category-menu li:not(:last-child)::after {
    content: "|";
    color: rgb(0, 0, 0);
    padding-left: 15px;
}

/* 반응형 스타일 (모바일 최적화) */
@media (max-width: 480px) {
    .category-menu ul {
        flex-direction: column; /* 세로 정렬 */
        align-items: center;
        gap: 8px;
    }

    .category-menu a {
        font-size: 14px; /* 글자 크기 조정 */
        padding: 8px 12px; /* 패딩 줄이기 */
    }

    /* 모바일에서 구분선 제거 */
    .category-menu li:not(:last-child)::after {
        content: none;
    }
}




/* 홈 화면 배너 스타일 */
.home-banner {
    text-align: center;
    margin-top: 120px;
}

.home-banner img {
    width: 50%;  /* 이미지 크기 조정 */
    max-width: 800px; /* 최대 크기 설정 */
    border-radius: 15px; /* 모서리 둥글게 */
    
}




/* 기본 오디오 태그 숨기기 */
.audioPlayer {
    display: none;
}

/* 커스텀 오디오 플레이어 스타일 */
.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    background: rgb(236, 236, 236);
    padding: 10px;
    border-radius: 10px;
}

/* 재생 버튼 */
.playPauseBtn {
    background: none;
    border: none;
    font-size: 15px;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

/* 진행 바 */
.seekBar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* 부모 요소 기준으로 가득 차게 */
    margin-top: 20px; /* 위쪽 여백 조정 */
}

.seekBar {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%; /* 바 길이 조정 */
    max-width: 1000px; /* 너무 길어지지 않도록 */
    height: 6px; /* 바 두께 */
    background: linear-gradient(to right, #ddd 0%, #ddd 100%);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 1; /* 부모 요소 내에서 유연하게 확장 */
}

/* 진행 바 슬라이더 버튼 제거 */
.seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    border: none;
}

.seekBar::-moz-range-thumb {
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    border: none;
}

/* 부모 요소 크기 조정 */
.custom-audio-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px; /* 필요 시 조정 */
    padding: 10px;
    border-radius: 10px;
    
}

/* 현재 시간 표시 */
.currentTime {
    color: rgb(0, 0, 0);
    font-size: 14px;
}






@font-face {
    font-family: 'Freesentation-5Medium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}


/* 전체 페이지 스타일 */
body {
    font-family: 'Freesentation-5Medium', sans-serif;
    background: linear-gradient(to bottom, #ffffff, #ffffff);
    text-align: center;
    color: rgb(0, 0, 0); 
    margin: 0;
    padding: 0;
}

/* 헤더 스타일 */
header {
    background: rgba(255, 255, 255, 0);
    padding: 50px;
    color: rgb(0, 0, 0);
    font-size: 20px; 
    font-weight: bold;
}

/* 노래 리스트를 가로로 정렬 */
.music-list-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 80%;
    margin: auto;
}

/* 완성된 음악 스타일 */
.completed-music {
    flex: 1;
    padding: 20px;
    background: rgb(236, 236, 236);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(77, 77, 77, 0.2);
}

/* 미완성된 음악 스타일 */
.incomplete-music {
    flex: 1;
    padding: 20px;
    background: rgb(236, 236, 236);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(77, 77, 77, 0.2);
}

/* 섹션 제목 스타일 */
h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #000000;
}

/* 각 노래 스타일 */
.song {
    margin-bottom: 20px;
    padding: 15px;
    background: rgb(236, 236, 236);
    border-radius: 10px;

}

/* 오디오 플레이어 스타일 */
audio {
    width: 100%;
    margin-top: 10px;
}

/* 푸터 스타일 */
footer {
    margin-top: 10px;
    padding: 110px;
    font-weight: 100px;
    font-size: 14px;
}

/* 기본 오디오 플레이어 스타일 변경 */
audio {
    width: 100%;
    
}

/* 크롬 & 사파리에서 재생 바 색상 변경 */
audio::-webkit-media-controls-panel {
    background-color: #ffffff; /* 컨트롤 바 배경 */
}

audio::-webkit-media-controls-timeline {
    background-color: #ffffff; /* 진행 바 배경 */
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: rgb(0, 0, 0); /* 시간 표시 텍스트 색상 */
}

/* 반응형 (모바일에서 세로 정렬) */
@media (max-width: 768px) {
    .music-list-container {
        flex-direction: column;
    }
}

