@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Autour+One&display=swap');

body {
    background-color: antiquewhite;
}

* {
    margin: 0;
    padding: 0;
}

nav {
    font-family: 'Young Serif', serif;
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    height: 66px;
    background-color: black;
    color: white;
}

nav ul li {
    padding: 0 12px;
}

.brand img {
    width: 44px;
    padding: 0 8px;
}

.brand {
    display: flex;
    align-items: center;
    font-weight: bolder;
}

.songItemContainer {
    margin-top: 74px;
}

.container {
    min-height: 72vh;
    background-color: black;
    color: white;
    font-family: 'Autour', 'One';
    display: flex;
    width: 70%;
    margin: 23px auto;
    border-radius: 12px;
    padding: 34px;
    background: url("bg.jpg");
}

.bottom {
    position: sticky;
    bottom: 0;
    height: 130px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.icons {
    margin-top: 14px;
}

.icons i {
    cursor: pointer;
}

#myProgressBar {
    width: 100vh;
    cursor: pointer;
}

.songItem {
    height: 70px;
    display: flex;
    background-color: white;
    color: black;
    margin: 15px 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    font-size: xx-large;
}

.songItem img {
    width: 40px;
    margin: 0 23px;
    border-radius: 34px;
}

.timestamp {
    margin: 0 23px;
}

.timestamp i {
    cursor: pointer;
}

.songInfo {
    position: absolute;
    left: 24.5vw;
}

.songInfo img {
    opacity: 0;
    transition: opacity 1s ease in;
}

/* Media queries for mobile devices */

/* For screens with a maximum width of 1200px (e.g. large desktops) */
@media only screen and (max-width: 1200px) {
    .container {
        width: 80%;
        margin: 20px auto;
    }
    .songItem {
        font-size: x-large;
    }
    .songItem img {
        width: 35px;
        margin: 0 18px;
    }
    .timestamp {
        margin: 0 18px;
    }
}

/* For screens with a maximum width of 992px (e.g. medium desktops) */
@media only screen and (max-width: 992px) {
    .container {
        width: 85%;
        margin: 15px auto;
    }
    .songItem {
        font-size: large;
    }
    .songItem img {
        width: 30px;
        margin: 0 15px;
    }
    .timestamp {
        margin: 0 15px;
    }
}

/* For screens with a maximum width of 768px (e.g. iPads) */
@media only screen and (max-width: 768px) {
    .container {
        width: 90%;
        margin: 10px auto;
    }
    .songItem {
        font-size: medium;
    }
    .songItem img {
        width: 25px;
        margin: 0 12px;
    }
    .timestamp {
        margin: 0 12px;
    }
    .songInfo {
        left: 20vw;
    }
}

/* For screens with a maximum width of 480px (e.g. smartphones) */
@media only screen and (max-width: 480px) {
    .container {
        width: 95%;
        margin: 5px auto;
    }
    .songItem {
        font-size: small;
    }
    .songItem img {
        width: 20px;
        margin: 0 10px;
    }
    .timestamp {
        margin: 0 10px;
    }
    .songInfo {
        left: 15vw;
    }
    nav ul {
flex-direction: column;
    }
    nav ul li {
        padding: 10px;
    }
}

/* For screens with a maximum width of 320px (e.g. small smartphones) */
@media only screen and (max-width: 320px) {
   .container {
        width: 98%;
        margin: 2px auto;
    }
   .songItem {
        font-size: x-small;
    }
   .songItem img {
        width: 15px;
        margin: 0 8px;
    }
   .timestamp {
        margin: 0 8px;
    }
   .songInfo {
        left: 10vw;
    }
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        padding: 5px;
    }
}