* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Montserrat;
  
}
.left {
  width: 30%;
  padding: 5px;
}
body {
  background: black;
  color: white;
  overflow:hidden;
}
.right {
  width: 70%;
  margin: 10px 0;
  position: relative;
}
.spotifyLogo li {
  list-style: none;
  font-weight: 700;
  gap: 3px;
}
.home_styling li img {
  width: 15px;
}
.home_styling li {
  gap: 20px;
  padding-top: 20px;
  font-weight: 700;
}
.sidebar {
  padding: 5px;
}
.library ul li img {
  width: 14px;
}
.library_adjustment {
  padding: 5px;
}
.library_adjustment li {
  gap: 15px;
}
.footer a {
  color: grey;
  text-decoration: none;
}
.footer {
  position: absolute;
  bottom: 5px;
  flex-direction: column;
  gap: 20px;
  font-size: 11px;
}
.library {
  min-height: 75vh;
  position: relative;
}
.upperLinks,
.lowerLinks {
  gap: 10px;
}
.header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  background-color: rgb(34 34 34);
}
.spotifyPlaylist h1 {
  padding: 16px;
}
.card {
  width: 200px;
  padding: 0 10px 10px;
  border-radius: 5px;
  background-color: #121212;
  position: relative;
  transition: all 0.9s;
}
.card > * {
  padding-top: 10px;
}
.card img {
  object-fit: contain;
  width: 100%;
}
.cardContainer {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  max-height: 60vh;
  overflow: auto;
  
}
.play_btn {
  width: 48px;
  height: 48px;
  background-color: #1fdf64;
  border-radius: 50%;
  border: 2px solid #000;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  position: absolute;
  right: 17px;
  opacity: 0;
  top: 180px;
  transition: all 0.15s ease-out;
}
/* Style .play_btn inside a hovered .card */
.card:hover .play_btn {
  opacity: 1;
  top: 125px;
}

/* Change background of the hovered .card itself */
.card:hover {
  background-color: #1e1e1e;
  cursor: pointer;
}
.play_btn:hover {
  width: 50px;
  height: 50px;
  background-color: #4ee98a;
  transition: all 0.3s;
}
.signupbtn {
  font-weight: 700;
  background-color: rgb(34 34 34);
  color: rgb(156 148 148);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}
.signupbtn:hover {
  font-size: 1.01rem;
  color: white;
}
.buttons > * {
  margin: 0 12px;
}
.loginbtn {
  background-color: white;
  border-radius: 21px;
  color: black;
  font-weight: bold;
  padding: 10px;
  width: 79px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  outline: none;
}
.loginbtn:hover {
  background-color: rgb(179, 179, 179);
  font-size: 16px;
}
.songList {
  height: 56vh;
  overflow: auto;
  margin-top: 10px;
}
.songList ul {
  font-size: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.songList ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: 1px solid white;
  margin: 12px 0;
  padding: 10px 16px;
  border-radius: 6px;
  background: #111;
  color: #fff;
}
.songList ul li i.fa-music {
  font-size: 18px;
  margin-right: 12px;
}
.info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info div:first-child {
  font-size: 0.95rem;
}
.info div:last-child {
  font-size: 0.8rem;
  color: #bbb;
}
.playnow {
  margin-left: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #1db954;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}
.hamburger {
  display: none;
}

.hamburgerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.close {
  display: none;
}

/* playbar section css */

.playbar {
  position: fixed;
  bottom: 15px;
  width: 68.7vw;
  right: 17px;
  padding: 12px;
  filter: invert(1);
  background: #dad5d5;
  border-radius: 10px;
  height: 70px;
}

.seekbar {
  height: 4px;
  width: 97%;
  border-radius: 10px;
  background: black;
  position: absolute;
  bottom: 0;
  margin: 9px 0;
  cursor: pointer;
}

.circle {
  width: 13px;
  height: 13px;
  border-radius: 13px;
  background-color: black;
  position: relative;
  bottom: 6px;
  left: 0%;
  transition: left 0.5s;
}

.abovebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.songbuttons i {
  cursor: pointer;
}

.songtime {
  color: black;
  padding: 0 45px;
}

.songinfo {
  color: black;
  padding: 0 2px;
  width: 420px; /* specific width for consistency */
  font-size: 15px;
  white-space: normal; /* allows wrapping */
  word-break: break-word; /* breaks long words if needed */
}

.songbuttons {
  display: flex;
  justify-content: center; /* keeps buttons centered horizontally */
  align-items: center;
  gap: 16px;
  margin: 0 auto; /* ensures horizontal centering */
}

.songtime {
  width: 125px;
  white-space: nowrap; /* prevents bending */
  font-size: 14px;
}

#play {
  width: 10px;
  margin-right: 2px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-left: 45px;
}

.range input {
  cursor: pointer;
}