/* =============================================
   Marty Sings Broadway - styles.css
   ============================================= */

body { 
    font-family: Arial, sans-serif; 
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.5;
}

audio { 
    width: 50%; 
    max-width: 700px; 
    display: block; 
}

#banner {
    width: 100%;
    max-width: 700px;   
    height: auto;
    display: block;
}

.song-cover {
    max-width: 300px; 
    height: auto; 
    display: block;
    margin: 10px 0;
}

.song-link {
    font-size: 18px;
    text-decoration: none;
    color: blue;
    display: inline-block;
}

.song-link:hover {
    text-decoration: underline;
}

#nowPlaying {
    font-size: 18px;
    font-weight: bold;
}

/* ==================== LINK STYLES ==================== */

a {
    color: blue; 
    text-decoration: none;
}

a:visited {
    color: purple;
}

a:hover {
    color: red;
    text-decoration: underline;
}

a:active {
    color: darkred;
}

.song-link.visited,
a.visited {
    color: purple !important;
}

/* =============================================
   LINER NOTES 
   ============================================= */

details.liner-notes {
    margin-top: 4px;
    margin-bottom: 20px;
}

.liner-notes-label {
    font-weight: bold;
    color: #444;
    margin: 6px 0 3px 0;
    display: block;
}

details.liner-notes summary {
    list-style: none;
    display: block;
    cursor: pointer;
    padding: 0 0 0 30px;     /* space for the + sign */
    font-weight: bold;
    color: #c0392b;
    position: relative;
    margin-top: 0;
}

details.liner-notes summary::-webkit-details-marker {
    display: none;
}

/* + and - symbol on the left */
details.liner-notes summary::before {
    content: "+";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1;
    color: #c0392b;
}

details.liner-notes[open] summary::before {
    content: "−";
}

/* Hover effect */
details.liner-notes summary:hover {
    color: #a22a22;
}