@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: #0d101c;
  overflow-x: hidden;
}

/* NAVIGATION */
nav {
  font-family: "Ubuntu", sans-serif;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  height: 65px;
  background-color: #3f4459;
  color: whitesmoke;
  padding: 0 20px;
}

nav li {
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}
nav li:hover {
  color: #00adb5;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: bolder;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}
.brand img {
  width: 45px;
  margin-right: 8px;
}

/* MAIN CONTAINER */
.container {
  min-height: 72vh;
  background-color: black;
  color: white;
  font-family: 'Varela Round', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 70%;
  margin: 30px auto;
  border-radius: 12px;
  padding: 40px;
  background-image: url(hero-img.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0.9; */
}

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

.icons {
  margin-top: 14px;
}
.icons i {
  cursor: pointer;
  font-size: 1.4rem;
  transition: transform 0.2s;
}
.icons i:hover {
  transform: scale(1.2);
}

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

/* SONG ITEMS */
.songitemcontainer {
  margin-top: 70px;
  width: 100%;
}

.songitem {
  height: 80px;
  display: flex;
  background-color: white;
  width: 80%;
  color: black;
  margin: 12px auto;
  justify-content: space-between;
  align-items: center;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.songitem img {
  width: 45px;
  margin: 0 20px;
  border-radius: 10px;
}

.timestamp {
  margin: 0 2px;
}
.timestamp i {
  cursor: pointer;
}

.songinfo {
  position: absolute;
  left: 10vw;
  font-family: 'Varela Round', sans-serif;
}
.songinfo img {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}





/* ===========================
   🌐 RESPONSIVE MEDIA QUERIES
   =========================== */

/* 🖥 Laptops & Tablets (<=1200px) */
@media (max-width: 1200px) {
  .container {
    width: 80%;
    padding: 30px;
  }
  .songitem {
    width: 90%;
  }
}

/* 💻 Tablets (<=992px) */
@media (max-width: 992px) {
  nav ul {
    font-size: 0.95rem;
    padding: 0 15px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 85%;
    padding: 25px;
  }
  .songitem {
    width: 95%;
    height: auto;
    flex-wrap: wrap;
  }
  .songitem img {
    width: 80px;
    margin: 0;
  }
  .timestamp {
    margin: 10px 0;
  }
  #myprogressbar {
    width: 85vw;
  }
}

/* 📱 Mobile Landscape & Large Phones (<=768px) */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 12px 0;
  }
  nav li {
    padding: 6px 0;
  }
  .brand img {
    width: 38px;
  }
  .container {
    width: 90%;
    padding: 20px;
  }
  .songitem {
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }
  .songitem img {
    width: 60px;
    margin-bottom: 8px;
  }
  .songinfo {
    position: static;
    margin-top: 10px;
    text-align: center;
  }
  #myprogressbar {
    width: 90vw;
  }
}

/* 📱 Small Phones (<=480px) */
@media (max-width: 480px) {
  .brand {
    font-size: 1rem;
  }
  .brand img {
    width: 34px;
  }
  nav ul {
    font-size: 0.9rem;
  }
  .container {
    width: 95%;
    padding: 15px;
  }
  .songitem {
    font-size: 0.85rem;
    border-radius: 20px;
  }
  .songitem img {
    width: 50px;
  }
  .icons i {
    font-size: 1.1rem;
  }
  #myprogressbar {
    width: 95vw;
  }
}
