/* Grundlegendes Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.playlist-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #ff6f61;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

/* Playlist Styling */
.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin-bottom: 5px;
    background: #282828;
    border-radius: 5px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.song-item:hover {
    background: #ff6f61;
    color: #121212;
}

.song-number {
    font-weight: bold;
    color: #ff6f61;
}

.song-name {
    flex-grow: 1;
    text-align: left;
    margin-left: 10px;
}

/* Audio Player */
audio {
    margin-top: 20px;
    width: 100%;
    border: none;
    background: transparent;
    color: #ff6f61;
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 10px;
    }

    .playlist-container {
        max-width: 100%;
        padding: 15px;
    }

    .song-item {
        flex-direction: column; /* Stapelt Text und Play-Button */
        align-items: flex-start;
    }

    .song-number {
        margin-bottom: 5px;
    }

    .song-name {
        margin-left: 0;
    }

    audio {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    .song-item {
        padding: 10px;
    }

    audio {
        width: 100%;
    }
}
