/* album.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    font-family: sans-serif;
    background-color: var(--color-bg);
    line-height: 1.6;
}

header {
    background-color: var(--color-header-footer);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    font-size: 2rem;
}

header .icon {
    width: 80px;
    border-radius: 50%;
}

nav {
    background-color: var(--color-nav);
    margin: 0;
    padding: 10px 0;
}

.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
}

.list li {
    margin: 0 15px;
}

.list a {
    color: var(--color-link-text);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px;
    transition: all 0.3s ease;
}

.list a:hover {
    color: white;
    border-radius: 5px;
    transform: scale(1.1);
}

/* Main Layout for Slideshow Pages */
main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin: 20px;
    flex: 1; /* Pushes footer to the bottom */
}

.slideshow {
    flex: 1;
}

.content {
    flex: 2;
    max-width: 600px;
}

.song-list {
    margin-top: 20px;
    padding: 0;
    list-style-type: none;
}

.song-list li {
    margin: 5px 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--color-header-footer);
    padding: 15px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: auto; /* Ensures footer stays at the bottom */
}

footer a {
    color: var(--color-link-text);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    main {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .slideshow img {
        max-width: 100%; /* Allow the image to scale within its container */
    }
}
