@import url('https://fonts.googleapis.com/css2?family=Flow+Circular&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root{
     --a:0;
}
* {
    margin: 0;
    padding: 0;
    font-family: 'roboto','sans-serif';
}

body {
    background-color: black;
    color: white;
}

.left {
    width: 25vw;
    padding: 10px;
}

.right {
    width: 75vw;
    position: relative;
    margin: 16px;
}

.home ul li {
    width: 15px;
    display: flex;
    padding-top: 14px;
    font-weight: 700;
    gap: 15px;
    list-style-type: none;
}
.txt:hover{
    z-index: 40px;
}

.bg-grey {
    background-color: #121212;
    color: white;
}

.bg-black {
    background-color: black;
    color: white;
}
.heading{
    display: flex;
    padding-top: 14px;
    font-weight: 700;
    gap: 15px;
    padding: 23px 14px;
    font-size: 13px;
}
.library {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
}
.heading img{
    width: 30px;
}
.footer {
    padding: 7px;
    display: flex;
    flex-wrap: wrap; 
    gap: 8px;
    margin-top: auto;
    font-size: 10px;
}
.footer a{
    color: grey;
}
.header{
    display: flex;
    height: 59px;
    justify-content:space-between;
    background-color: rgb(34,34,34);

}
.header >*{
    padding: 11px;
}
.right{
    margin:16px 0;
}
.spotifyplaylist{
    padding: 16px;
}
.spotifyplaylist .card{
    width: 195px;
    padding: 10px;
    border-radius: 11px;
    background-color: #252525;
}
.card img{
    width: 100%;
    object-fit: contain;
}
.card >*{
    padding-top: 10px;
}
.cardcontainer{
    display: flex;
    margin: 30px;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 70vh;
    overflow-y: auto;
}
.img-container {
    position: relative;
}

.img-container img {
    display: block;
    width: 100%;
    border-radius: 8px;
}
.play-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
    opacity: 0;
}
.card:hover .play-button {
    opacity: 1;
}

.signupbtn{
    font-weight: bold;
    background-color: rgb(34,34,34);
    color: rgb(82, 81, 81);
    border: 2px solid rgb(34,34,34);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.signupbtn:hover{
    font-size: 17px;
    color: rgb(151, 149, 149);
}
.buttons > *{
    margin: 0 12px ;
}
.loginbtn:hover{
    font-size: 16px;
    cursor:pointer;
    font-weight: bold;
}
.loginbtn{
    background-color: white;
    color: black;
    border-radius: 24px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 79px;
}
.range input{
    cursor: pointer;
}

.songbtn{
     display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.songList ul{
    padding: 0 12px;
    margin: -12px;
    padding:10px;
    
}
.songList .info{
    width: 344px;
}
.songList ul li{
    list-style-type: number;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 9px;
    border-radius: 10px;
    border: 2px solid white;
    cursor: pointer;
    padding: 12px 7px;
}
.playnow{
    display: flex;
    justify-content: center;
    align-items: center;
}
.playnow span{
    padding: 12px;
    width: 44px;
    font-size: 10px;
}
.songList{
    height: 644px;
    overflow: auto;
}
 .playbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

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

.songinfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.song-title { font-weight: bold; }
.song-artist { font-size: 12px; color: #b3b3b3; }

.center-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 500px;
}

.songbtn img { width: 24px; cursor: pointer; }

.timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.seekbar {
  flex: 1;
  height: 5px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  width: 80%;
  cursor: pointer;
}
.circle {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 0;
}

.songtime {
  font-size: 13px;
  color: #ccc;
  min-width: 80px;
  text-align: center;
}
.vol {
  display: flex;
  align-items: center;
  flex-direction: row;   
  gap: 8px;              
  margin-right: 40px;    
}
.vol input[type="range"] {
  width: 100px;
  color: white;
  cursor: pointer;
}
#volume-icon {
  width: 24px;
  cursor: pointer;
  transition: transform 0.2s;
  color: white;
}
#volume-icon:hover { transform: scale(1.2); }
.hamburger{
    display: none;
}
.hamburgercont{
    justify-content: center;
    gap: 14px;
    align-items: center ;
}

.close{
    display: none;
} 
.vol img{
    width: 24px;
    z-index: 1;
}
.card:hover{
    background-color: #121212;
    cursor: pointer;
}
.card{
    transition: all 2s;
    --a:1;
}