* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #181818;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #202020;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

header h1 {
    font-size: 18px;
    color: #1DB954;
}

main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 140px;
    padding: 0 20px;
}

.download {
    background: #242424;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.download h2 {
    margin-bottom: 15px;
}

.download input,
.download select,
.download button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
}

.download input,
.download select {
    background: #333;
    color: white;
}

.download button {
    background: #1DB954;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: .25s;
}

.download button:hover {
    background: #18a34a;
}

#status {
    margin-top: 15px;
    color: #ccc;
    min-height: 20px;
}

.toolbar {
    margin-bottom: 20px;
}

.toolbar input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #333;
    color: white;
}

#songList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.song {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #242424;
    padding: 15px;
    border-radius: 12px;
    transition: .2s;
}

.song:hover {
    background: #2f2f2f;
}

.thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    background: #333;
}

.songInfo {
    flex: 1;
}

.songTitle {
    font-size: 20px;
    margin-bottom: 8px;
}

.songChannel,
.songCategory {
    color: #bbb;
    margin-top: 4px;
}

.buttons {
    display: flex;
    gap: 10px;
}

.buttons button {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: .2s;
}

.play {
    background: #1DB954;
    color: white;
}

.play:hover {
    transform: scale(1.08);
}

.edit {
    background: orange;
    color: white;
}

.edit:hover {
    transform: scale(1.08);
}

.delete {
    background: crimson;
    color: white;
}

.delete:hover {
    transform: scale(1.08);
}

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #202020;
    border-top: 1px solid #333;
    padding: 15px;
}

.player {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cover img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    background: #333;
}

.info {
    flex: 1;
}

  /* Container für die Buttons */
  .audioButton {
    display: flex;
    gap: 12px; /* Abstand zwischen den Buttons */
    margin-right: 10px; /* Ihr gewünschter Abstand nach rechts */
  }

  /* Schickes, modernes Button-Styling */
  .audioButton button {
    background-color: #2f3542; /* Dunkler, edler Hintergrund */
    color: #ffffff; /* Weiße Icon-Farbe */
    border: none;
    border-radius: 50%; /* Macht die Buttons perfekt kreisrund */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sanfter Schattenwurf */
    transition: all 0.2s ease-in-out; /* Flüssige Animation */
  }

  /* Hover-Effekt: Wenn man mit der Maus drüberfährt */
  .audioButton button:hover {
    background-color: #1e90ff; /* Ändert Farbe zu einem modernen Blau */
    transform: translateY(-2px); /* Lässt den Button leicht abheben */
    box-shadow: 0 6px 12px rgba(30, 144, 255, 0.3); /* Leuchtender Schatten */
  }

  /* Active-Effekt: Wenn man den Button anklickt */
  .audioButton button:active {
    transform: translateY(0); /* Drückt den Button optisch wieder nach unten */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

.info h3 {
    margin-bottom: 5px;
}

.info p {
    color: #bbb;
}

audio {
    width: 100%;
    margin-top: 15px;
}

.download-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.download-buttons button {
    flex: 1;
}

.toggle-player {
    display: none;
}

@media (max-width: 700px) {

    .song {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons {
        width: 100%;
        justify-content: space-between;
    }

    .thumb {
        width: 100%;
        height: auto;
        max-height: 220px;
    }

    footer {
           position: fixed;
		bottom: 0;
    }

    main {
    flex: 1;
    max-width: 1200px;
    width: 100%;

    margin: 20px auto;
    padding: 0 20px 150px;
}

    .player {
        flex-direction: column;
        align-items: flex-start;
    }
	
	.toggle-player {
    display: none;
}
    



    .toggle-player {

        display: block;

        position: absolute;

        top: -35px;

        left: 50%;

        transform: translateX(-50%);

        width: 70px;

        height: 35px;

        border-radius: 15px 15px 0 0;

        border: none;

        background: #202020;

        color: white;

        font-size: 20px;

        cursor: pointer;

    }


    #playerFooter {

        transition: transform 0.3s ease;

    }


    #playerFooter.hidden {

        transform: translateY(calc(100% - 20px));

    }
	
	  /* Der Container streckt sich über die gesamte Breite und platziert die Buttons außen */
  .audioButton {
    display: flex;
    justify-content: space-between; /* Schiebt Links nach links, Rechts nach rechts */
    align-items: center;
    width: 100%; /* Nutzt die volle verfügbare Breite aus */
    box-sizing: border-box;
  }

  /* Styling der Buttons bleibt modern und clean */
  .audioButton button {
    background-color: #2f3542;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
  }

  /* Abstand nach rechts nur für den Vorwärts-Button */
  .audioButton button.vorwaerts {
    margin-right: 10px; /* Ihr gewünschter rechter Abstand */
  }

  /* Hover- & Klick-Effekte */
  .audioButton button:hover {
    background-color: #1e90ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 144, 255, 0.3);
  }

  .audioButton button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
 
}
	


