:root{
    --a:0;
}

body{
    background-color:  rgb(223, 100, 120);
    color: white
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0px;
  padding: 0px;
  font-family: 'Roboto';
}

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

.right {
  width: 75vw;
  position: relative;
}


.home ul li {
  display: flex;
  gap: 15px;
  width: 15px;
  list-style: none;
  padding-top: 14px;
  font-weight: bold;
}
.heading{
     display: flex;
  gap: 15px;
  width:100%;
align-items: center;
  padding-top: 14px;
  font-weight: bold;
  font-size: 13px;
  padding: 23px 14px;
}

.heading img{
    width: 30px;
}

.footer{
    position:absolute;
    bottom: 0;
    display: flex;
    font-size: 10px;
    color: lightpink;
    padding: 10px 0px;
 
}
.footer a{
    color: grey;
}
.library{
    position: relative;
    min-height: 80vh;
    font-size: 13px;
}
.header{
    display: flex;
    justify-content: space-between;
     padding: 16px;
}
header *{
    padding: 20px;
}
.spotifyPlaylist{
    
    padding:16px;
}

.spotifyPlaylist h1{
    padding: 16px;
}
.card-container{
    margin: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 100vh;
    
   
}
.card{
    position: relative;
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    background-color:rgb(223, 100, 120);
    transition: all 1s;
}
.card > *{
    padding-top: 10px ;
}

.card img{
    width: 100%;
    object-fit: contain;
    overflow: hidden;
}
.play{
    opacity: var(--a);
    position: absolute;
    top: 146px;
    right: 0px;
    transition: all 1s ease-out;
}
.card:hover{
    background-color: rgb(72, 71, 71);
    cursor: pointer ;
    --a:1;
}

.signupbtn{
    margin: 0 12px;
    font-size: 16px;
    background-color: black;
    color: grey;
    font-weight: bold;
    border: none;
    outline: none;
    background-color: rgb(197, 152, 160);
   cursor: pointer;
}
.signupbtn:hover{
    color: white;
    font-size: 17px;
}

.loginbtn{

    margin: 0 12px;
    border: 0px;
    background-color: white;
    border-radius: 21px;
    color: black;
    font-size: 16px;
    padding: 10px;
    width: 79px;
    cursor: pointer;
}
.loginbtn:hover{
    cursor: pointer ;
    width: 80px;
     font-weight: bold;
     font-size: 17px;
}
.playbar{
   min-height: 39px;
    position: fixed;
    bottom: 20px;
    background-color:rgb(223, 100, 120) ;
    width: 70%;
    padding: 12px;
    border-radius: 15px;
}

.songbuttons{
    display: flex;
    justify-content: center;
    gap: 16px; 
}     

.songList ul{
    padding: 0 12px;
    list-style: none;
}

.songList ul li{
    list-style: none;
    display: flex;
    gap: 10px;
    cursor: pointer;
    padding: 12px 0px;
    border: 1px solid white;
    margin: 12px 0px;
    padding: 13px;
    border-radius: 5px;
    justify-content: space-between;
    
}

.playnow{
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span{
    font-size: 15px;
    width: 65px;
    padding: 12px;
    
}
.songlist .info{
    font-size: 13px;
}
.songList{
    list-style-type: none;
    padding: 0px;
    height: 544px;
    overflow: scroll;
    margin-bottom: 44px ;
}

.seekbar{
    height: 3px;
    width: 97%;
    background-color: white;
    position: absolute;
    bottom: 0px;
    border-radius: 10px;
    margin: 6px;
    cursor: pointer;
}

.circle{
    height: 13px;
    width: 13px;
    border-radius:13px;
    background-color: white;
    position: relative;
    bottom: 6px;
    left: 0%;
    transition: left 0.5s;
}
.songbuttons img{
    cursor: pointer;
}
.abovebar{
    display: flex;
    justify-content: space-between;

} 

.hamburger{
    height: 35px;
    visibility: hidden;
}

.left .close{
    position: absolute;
    right: 31px;
    top: 25px;
    width: 29px;
}
.songinfo{
    width: 250px;
}


.songtime{
    width: 125px;
    
    
}
.volume{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.timevol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}
@media (max-width: 1200px) {
  .left{
    padding: 0;
    position: absolute;
    left: -120%;
    transition: all 1s;
    z-index: 1;
    width: 373px;
  }
  .songtime{
    width: auto;
  }
  .songinfo{
    width: auto;
  }

  .right{
    margin: 0;
    width: 100vw;
  }
  .seekbar{
    width: 90%;
  }
  .card{
    width: 44vw;
  }
  
  
  .card-container{
    margin: 0;
    justify-content: center;
  }
.timevol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    gap: 13px;
}
  .playbar{
    width: 88vw;
  }
  .abovebar{
    flex-direction: column;
    gap: 23px;
    align-items: center;
  }
  .hamburger{
    visibility: visible;
  }
  
}


@media (max-width: 1200px){
.card{
    width: 84vw;
  }

}