@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Varela+Round&display=swap');

body {
    background-color: antiquewhite;
    font-family: "Varela Round", sans-serif;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}


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

nav ul li {
    padding-left: 20px;;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;}

  nav ul li a:hover {
  color: #00bcd4;
  font-size: 1.01rem;
}

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

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


.container {
    min-height: 72vh;
    background-color: black;
    color: white;
    display: flex;
    margin: 23px auto;
    width: 70%;
    border-radius: 12px;
    padding: 34px;
    
    background-size: cover;
    gap: 20px;
    flex-wrap: wrap; /* responsive ke liye */
}


.songlist {
    flex: 2;
    min-width: 250px;
}

.songItemContainer {
    margin-top: 20px;
}

.songItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    margin: 10px 0;
    border-radius: 34px;
    padding: 8px 12px;
    gap: 10px;
    flex-wrap: wrap;
}

.songItem img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
}

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

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

.controls {
  margin-top: 10px;
  width: 80%;
  display: flex;
  justify-content: space-between; /* left, center, right */
  align-items: center;
}

.songInfo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icons i {
  cursor: pointer;
}

.volumeControl {
  display: flex;
  align-items: center;
  cursor: pointer;
  
}

#volumeBar {
  width: 120px;
  cursor: pointer;
}






.songBanner {
    flex: 1;
    min-width: 400px;

    border-radius: 12px;
    min-height: 400px;
}
.songBanner img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}
 
/* RESPONSIVE FOR MOBILE */

@media (max-width: 600px) {

       body {
        background-color: antiquewhite;
        font-family: "Varela Round", sans-serif;
        width: 100%; /* full width */
        min-width: 100vw;
        width: max-content;
    }
    nav ul {
        flex-direction: column;
        height: auto;
        width:auto;
        padding: 10px 0;
        gap: 10px;
    }

    .container {
    width: 95%;
    margin: 10px auto;
    padding: 15px;
    border-radius: 8px;
    background-size: cover; /* banner fit hoga */
    background-position: center;
  }

  .songItemContainer {
    margin-top: 20px;
  }

  .songItem {
    flex-direction: row; /* same row me rahe */
    justify-content: flex-start;
    gap: 10px;
        padding: 6px 8px;
    font-size: 0.85rem;
    
  }

  .songItem img {
    width: 35px;
    height: 35px;
  }
   

  .timeStamp {
    margin: 0;
    font-size: 0.8rem;
  }


    #myProgressBar {
        width: 90%;
    }

    .icons i {
        font-size: 1.5rem;
        gap: 15px;
    }

    .songInfo {
        font-size: 0.8rem;
    }

    .songBanner {
        width: 100%;
        min-height: 150px;
    }
     .songBanner img {
    object-fit: contain; /* cut na ho */
  }
     .controls {
    flex-direction: column;
    gap: 12px;
  }
  #volumeBar {
    width: 80px;
  }

    .bottom {
    padding: 10px;
    font-size: 0.9rem;
  }
}

