@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

body {
    background-color: antiquewhite;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    font-family: 'Ubuntu', sans-serif;
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    height: 65px;
    background-color: #301934; /* Dark Purple */
    color: white;
    justify-content: center;
}

nav ul li {
    padding: 0 12px;
    font-size: 1rem;
}

.brand img {
    width: 44px;
    padding: 0 8px;
}

.brand {
    display: flex;
    align-items: center;
    font-weight: bolder;
    font-size: 1.3rem;
}

.container {
    min-height: 72vh;
    background-color: black;
    color: white;
    font-family: 'Varela Round', sans-serif;
    display: flex;
    margin: 23px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    padding: 24px;
    background-image: url('bg4.jpg');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    align-items: center;
}

.bottom {
    position: sticky;
    bottom: 0;
    background-color: #301934; /* Dark Purple */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    padding: 20px;
    width: 100%;
}

.icons {
    margin-top: 14px; 
    display: flex;
    gap: 10px;
}

.icons i {
    cursor: pointer;
    font-size: 1.2rem;
}

#myProgressBar {
    width: 80vw; 
    max-width: 600px;
    cursor: pointer;
}

.songItemContainer {
    margin-top: 50px;
    width: 100%;
}

.songItem {
    height: 50px;
    display: flex;
    background-color: white;
    color: black;
    margin: 12px 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 34px;
    padding: 0 10px;
    width: 100%;
    max-width: 700px;
}

.songItem img {
    width: 43px;
    margin: 0 16px;
    border-radius: 50%;
}

.timestamp {
    margin: 0 16px;
}

.timestamp i {
    cursor: pointer;
}

.songInfo {
    font-family: 'Varela Round', sans-serif;
    text-align: left;
}

.songInfo img {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

/* Responsive Design */
@media (max-width: 1100px) {
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .container {
        width: 95%;
        padding: 20px;
    }

    .brand img {
        width: 35px;
    }

    nav ul li {
        padding: 8px;
        font-size: 0.9rem;
    }

    .bottom {
        padding: 15px;
    }

    .icons i {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 15px;
    }

    nav ul {
        font-size: 0.9rem;
    }

    .songItem {
        padding: 0 8px;
    }

    .timestamp {
        margin: 0 8px;
    }

    #myProgressBar {
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 1.1rem;
    }

    nav ul li {
        padding: 6px;
    }

    .container {
        font-size: 0.9rem;
        padding: 10px;
    }

    .icons i {
        font-size: 0.8rem;
    }

    .songItem img {
        width: 35px;
        margin: 0 10px;
    }
}
