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

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

body{
    background-color: antiquewhite;
}

/* NAVBAR */
nav{
    font-family: 'Ubuntu', sans-serif;
}

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

nav ul li{
    padding: 0 12px;
    cursor: pointer;
}

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

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

/* MAIN CONTAINER */
.container{
    min-height: 70vh;                /* FIXED */
    background-color: black;
    color: white;
    font-family: 'Varela Round', sans-serif;
    display: flex;
    margin: 20px auto;
    width: 80%;
    border-radius: 30px;             /* FIXED */
    padding: 34px;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
}

/* SONG LIST */
.songItemContainer{
    margin-top: 24px;
    width: 100%;
}

.songItem{
    height: 50px;
    display: flex;
    background-color: white;
    color: black;
    margin: 12px 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    padding-right: 20px;             /* FIXED */
    transition: background-color 0.2s ease;
}

.songItem:hover{
    background-color: #f0f0f0;       /* UX FIX */
}

.songItem img{
    width: 45px;
    margin: 0 20px;
    border-radius: 50%;
}

.songName{
    flex: 1;
}

/* TIMESTAMP + PLAY ICON */
.timestamp{
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;                       /* FIXED */
}

.songItemPlay{
    cursor: pointer;
    font-size: 18px;
}

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

#myProgressBar{
    width: 80vw;
    cursor: pointer;
}

.icons{
    margin-top: 16px;
}

.icons i{
    cursor: pointer;
    margin: 0 10px;
}

/* SONG INFO */
.songInfo{
    position: absolute;
    left: 10vw;
    font-family: 'Varela Round', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* RESPONSIVE */
@media only screen and (max-width: 1100px){
    .container{
        width: 95%;
        border-radius: 20px;
    }
}
