@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz@6..12&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

body {
  background-color: #212121;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

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

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

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

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

.container {
  min-height: 65vh;
  background-color: rgba(0, 0, 0, 0.397);
  display: flex;
  margin: 19px auto;
  width: 80%;
  border-radius: 20px;
  padding: 34px;
  background-image: url(bg.jpg);
  background-blend-mode: lighten;
  background-size: cover;
}

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

.icons {
  margin-top: 10px;
}

.icons i {
  cursor: pointer;
  padding: 0 5px;
}

.icons i {
  transition: transform 0.3s ease;
}

#previous:hover {
  transform: scale(1.2); /* Increases size by 20% */
}

#masterPlay:hover {
  transform: scale(1.2); /* Increases size by 20% */
}

#next:hover {
  transform: scale(1.2); /* Increases size by 20% */
}


#myProgressbar {
  width: 80vw;
  cursor: pointer;
  accent-color: rgb(19, 206, 19);
}

.songList {
  width: 100%;
}

.songitemContainer {
  margin-top: 40px;
}

.songItem {
  height: 50px;
  display: flex;
  background-color: #fff;
  width: 40%; /* Preserve original width */
  color: black;
  margin: 12px 0;
  justify-content: space-between;
  align-items: center;
  padding: 2px;
  border-radius: 34px;
  box-shadow: 5px 3px 5px 0px rgb(134, 235, 208);
}

.songItem img {
  width: 50px;
  height: 50px;
  margin: 0 5px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgb(134, 235, 208);
}

.timeStamp {
  margin: 0 23px;
  font-size: medium;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeStamp i {
  margin-left: 10px;
  font-size: 36px;
  cursor: pointer;
}

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

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

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .container {
    width: 90%; /* Adjust container width for smaller screens */
    padding: 20px;
  }

  .brand {
    font-size: 1rem; /* Decrease font size for smaller screens */
  }

  .songItem {
    width: 80%; /* Adjust width for smaller screens */
  }
}
