@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&family=Mozilla+Headline:wght@200..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
}
:root{
    --a:0;
}
.card:hover{
    background-color: rgb(105, 103, 103);
    cursor: pointer;
    --a: 1;
}
.abovebar {
  display: flex;
  justify-content: space-between;
  width: 98%;
  color: black;
  padding: 0px 12px;
  font-weight: bolder;
}
body {
  background-color: black;
  color: white;
}
.buttons button {
  font-weight: bolder;
  font-size: 14px;

  height: 40px;
  border-radius: 9px;
  padding: 10px;
  justify-content: space-between;
}
.buttons .sign {
  background-color: rgb(34 34 34);
  color: rgb(156, 148, 148);
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}
.button .log {
  background-color: white;
  border-radius: 21px;
  color: black;
  padding: 10px;
  width: 79px;
  cursor: pointer;
  font-size: 16px;
}
.circle {
  width: 15px;
  height: 15px;
  border-radius: 13px;
  background-color: black;
  position: relative;
  bottom: 7px;
  left: 0%;
  transition: left 0.5s;
}
.card {
  width: 200px;
  padding: 10px;
  background-color: #252525;
  border-radius: 5px;

  position: relative;
}

.card img {
  width: 100%;
  object-fit: contain;
}
.card > * {
  padding-top: 10px;
}
.card-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
justify-content: space-between;
  margin: 30px;
  overflow-y: auto;
  max-height: 70vh;
  
}
.close {
  display: none;
}
.close {
  position: absolute;
  height: 100px;
  left: 330px;
  top: 40px;
}
.footer {
  display: flex;
  font-size: 10px;
  width:25vw;
  justify-content: space-between;
  color: grey;
  gap: 13px;
  position: absolute;
  bottom: 0;
  padding: 10px 0;
  background-color: #252525;
}
.footer a {
  color: white;
}
.header {
  display: flex;
  justify-content: space-between;
  border-radius: 14px;
  padding: 12px;
  border: 2px solid transparent;
  background-clip: padding-box;
  /* Premium metallic gradient border */
  border-image: linear-gradient(
      135deg,
      #443a3a 0%,
      #f1ecec 25%,
      #222020 50%,
      #d9d9d9 75%,
      #ffffff 100%
    )
    1;

  /* Soft glass effect */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1),
    inset 0 0 8px rgba(255, 255, 255, 0.15);

  transition: all 0.3s ease-in-out;
}
.header > * {
  padding: 15px;
  background-color: rgb(19, 19, 19);
}
.home ul li {
  width: 14px;
  list-style: none;
  display: flex;
  gap: 14px;
  font-weight: bold;
  padding-top: 14px;
}
.home {
  padding: 10px;
}
.heading {
  align-items: center;
  list-style: none;
  display: flex;
  gap: 14px;
  font-weight: bold;
  padding: 23px 14px;
  font-size: 13px;
  padding-top: 14px;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.Hamburgercont {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.heading img {
  width: 25px;
}
.info div{
  word-break: break all;
}
.left {
  width: 25vw;
  padding: 10px;
}
.log:hover {
  font-weight: bold;
  font-size: 17px;
}
.library {
  min-height: 80vh;
  position: relative;
}
.right {
  width: 75vw;
  position: relative;
}
.right {
  margin-top: 15px;
}

.play {
  width: 28px;
  height: 23px;
  background-color: #1fdf64;
  border-radius: 50%;
  padding: 4px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 88px;
  right: 10px;
  opacity: var(--a);
   transition: all 0.5s ease-out; 
}
.playnow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 120px;
}
.play-list .info {
  font-size: 12px;
  width: 344px;
  flex: 1;
}
.playnow span {
  font-size: 15px;
  width: 64px;
  padding: 10px;
}
.playbar {
  position: fixed;

  bottom: 25px;
  background-color: #dad5d5;
  width: 90vw;
  padding: 12px;
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 70vw;
  filter: invert(1);
  border-radius: 10px;
  min-height: 40px;
  padding-left: 12px;
}
.range{
  
}
.song-list ul {
  padding: 0px 12px;
}
.song-list ul li {
  list-style-type: decimal;
  display: flex;
  gap: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: flex-start;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 12px;
  background-clip: padding-box;
  /* Premium metallic gradient border */
  border-image: linear-gradient(
      135deg,
      #443a3a 0%,
      #cac0c0 25%,
      #222020 50%,
      #d9d9d9 75%,
      #ffffff 100%
    )
    1;

  /* Soft glass effect */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1),
    inset 0 0 8px rgba(255, 255, 255, 0.15);

  transition: all 0.3s ease-in-out;
  margin: 12px 0px;
  padding: 20px;
  border-radius: 5px;
}
.sign:hover {
  font-size: 17px;
  color: white;
}
.song-list {
  height: 544px;
  overflow: auto;
  margin-bottom: 44px;
}
.spotify-playlist {
  padding: 16px;
}
.seekbar {
  height: 4px;
  width: 94%;
  border-radius: 10px;
  position: absolute;
  background-color: black;
  margin: 6px;
  left: 2px;
  cursor: pointer;
  bottom: 0;
}
.songsbuttons img {
  cursor: pointer;
}
.song-list .info {
  font-size: 13px;
  width: 344px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* keeps song name in one line neatly */
}
 .songtime {
    width: 125px;
  }
   .songinfo {
    width: auto;
    color: black;
    padding: 0 12px;
  }
.timevol{
  display: flex;
  justify-content:center;
  align-items: center;
  
}
.volume{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .left {
    position: absolute;
    left: -120%;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    width: 370px;
    padding: 0;
    background-color: black;
  }
  .right {
    width: 100vw;
    margin: 0;
  }
  .playbar {
    width: 97vw;
  }
  .songinfo {
    width: auto;
    color: black;
    padding: 0 12px;
  }
  .songtime {
    width: 125px;
  }
  .hamburger {
    display: block;
  }
  .playbar {
    width: calc(100vw-75px);
  }
  .seekbar {
    width: calc(100vw-120px);
  }
  .card {
    width: 44vw;
  }
  .card-container {
    margin: 0;
    padding-top: 10px;
    justify-content: center;
  }
  .timevol{
  display: flex;
  flex-direction:column;
  gap:14px;
  
}
.volume{
  flex-direction: row;
}
.volume img{
  width:30px;

}
  .close {
    display: block;
  }
  .songtime{
    text-align: center;
    
  }
  .abovebar {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    align-items: center;
    bottom: 0;
  }
}
@media (max-width:400px) {
.card{
  width: 80vw;
}
}