/* CSS for music */

body {
    background-image: url(../images/cardboards/velvettexture.jpg);
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background-size: contain;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Music title */

#music-title {
    background-image: url(../images/cardboards/04.png);
    background-size: contain;
    display: inline-flex;
    text-align: center;
    font-size: em;
    margin-bottom: 10px;
    padding: 10px;
    background-size: cover; 
    background-position: center;
}

/* Music entry */

.music-entry {
    background-image: url(../images/cardboards/95.jpg);
    padding: 5px;
    background-size: cover;
    margin-bottom: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 3px dashed white; 
    border-radius: 20px; 
    max-width: 450px; /* Reduced width for music entries */
    margin-left: auto;
    margin-right: auto;
}

.music-entry .title-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.music-entry .title {
    font-size: 0.9em;
    color: #fff;
    align-items: center;
}

/* Layout for image + text inside music entry */

.music-entry-content {
    display: flex;
    align-items: flex-start;   /* align text to top of image */
    gap: 10px;                 /* space between image and text */
}

/* Image styling */

.music-entry img.album-art {
    width: 80px;               /* fixed width */
    height: 80px;              /* fixed height (square) */
    object-fit: cover;         /* crop/fit image nicely */
    border-radius: 8px;
    flex-shrink: 0;            /* don't let image shrink */
}

/* Audio + description layout */

.music-entry .audio-description {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

/* Tag filter buttons container */

#filter-container {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* spacing between buttons */
}

/* Individual tag buttons */

#filter-container button {
    background-image: url("../images/cardboard.jpg"); /* cardboard look */
    background-size: cover;
    background-position: center;
    border: 2px dashed white;
    border-radius: 8px;
    color: #fff;
    padding: 5px 12px; /* vertical + horizontal padding */
    cursor: pointer;
    font-size: 0.85em;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover effect for buttons */

#filter-container button:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Optional: active button style */

#filter-container button.active {
    border-color: yellow;
    color: yellow;
}
