* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Navigation styles */

nav {
  width: 100%;
  height: 60px;
  background-color: rgb(17, 17, 28);
}

nav ul {
  background-color: rgb(17, 17, 28);
  display: flex;
  align-items: center;
  list-style: none;
  height: 60px;
  color: white;
}

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

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

.brand img {
  height: 45px;
  width: 45px;
  margin:0 8px;
}

@media (max-width: 480px)
{
  nav {
    width: 150%;
  }
}
/* Main content styles */

.container {
  background: transparent;
  color: white;
  width: 50%;
}

.container h1 {
  font-size: 2.5rem;
  margin: 30px;
}

.songList {
  height: 400px;
  overflow-y: auto;
  background-color: rgba(17, 17, 28, 0.8);
  border-radius: 10px;
}

.songList::-webkit-scrollbar {
  width: 8px;
}
.songList::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.songList::-webkit-scrollbar-track {
  background-color: rgba(17, 17, 28, 0.8);
}

.song {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.song img {
  height: 50px;
  width: 50px;
  border-radius: 5px;
}

.songControls {
  display: flex;
  align-items: center;
}

@media (max-width: 768px){
  .container {
    width: 100%;
  }

  .container h1 {
    font-size: 1.3rem;
    margin: 10px;
  }

  .songList {
    height: 200px;
  }

  .song {
    height: 40px;
  }

  .song img {
    height: 30px;
    width: 30px;
  }

  .song span {
    font-size: 0.9rem;
  }
  
  .song div {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px){
  .container {
    width: 150%;
  }

  .container h1 {
    font-size: 1.2rem;
    margin: 30px;
  }

  .songList {
    height: 700px;
  }
  
  .song {
    height: 60px;
  }

  .song img {
    height: 50px;
    width: 50px;
  }

  .song span {
    font-size: 1rem;
  }
  
  .song div {
    font-size: 1rem;
  }
}
 
/* Action bar styles */

.actionBar {
  background-color: rgb(21, 21, 28);
  color: white;
  height: 150px;
  width: 80%;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 80px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}


.songInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75%;
}

.songInfoDetails {
  display: flex;
  align-items: center;
}

#playingGif {
  width: 40px;
  height: 20px;
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.songInfo h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.songInfo i {
  cursor: pointer;
}

.songSlider {
  width: 80%;
  height: 10px;
  background-color: rgb(17, 17, 28);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.actionButtons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 75%;
}
.actionButtons i {
  cursor: pointer;
}

.actionButtons i.active {
  color: #1ed760; /* Spotify green */
}

@media (max-width: 768px) {
  .actionBar {
    width: 90%;
    height: 90px;
  }

  .songInfo h2 {
    font-size: 1.2rem;
  }

  .actionButtons i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .actionBar {
    height: 100px;
  }

  .songInfo h2 {
    font-size: 1rem;
  }

  .actionButtons i {
    font-size: 1.2rem;
  }
}