@font-face {
    font-family: 'Wonderful Wilderness';
    src: url('../fonts/wonderul-wilderness.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #635b59;
    color: #f8f5f0;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.hide {
    display: none;
}
.content {
    max-width: 650px;
    margin: 0 auto;
    padding:20px;
}

h1, h2, h3 {
    font-family: 'Wonderful Wilderness', sans-serif;
    font-weight: normal;
    color: #f8f5f0;
}

a {
    color: #f8f5f0;;
    text-decoration: none;
}
a:hover {
    color: #ffd27f;
}

h1 {
    margin: 30px 0 20px 0;
    font-size: 4em;
}
h2 {
    margin: 30px 0 20px 0;
    font-size: 2em;
}



img.album-cover {
    display: block;
    border-radius: 10px;
    margin: 20px auto;
    width: 100%;
}

.tracklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    /*max-width: 700px;*/
    margin: auto;
}

.track {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.track.active {
    background: rgba(255,255,255,0.15);
}

.track-info {
    flex: 1 1 auto;
    text-align: left;
}

.track-title {
    font-weight: 500;
}

.track-duration {
    font-size: 0.9em;
    opacity: 0.8;
}

.track-actions {
    display: flex;
    gap: 12px;
    font-size: 1.2em;
}

.track-actions i {
    cursor: pointer;
    transition: transform 0.2s;
    padding: 5px;
}

.track-actions i:hover {
    transform: scale(1.2);
    color: #ffd27f;
}

/* Popup paroles */
.lyrics-popup {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    /*padding: 20px;*/
    animation: fadeIn 0.3s ease-out;
}

.lyrics-content {
    background-color: #3a261d;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    text-align: left;
    position: relative;
    font-weight: 300;
    margin:20px;
}

.close-lyrics {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.4em;
    cursor: pointer;
    color: #fff;
}

/* Remerciements */
.thanks {
    margin: 30px auto;
    max-width: 700px;
    padding: 0 15px;
    font-weight: 300;
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
