body {
  background-color: black;
  color: white;
}
* {
  margin: 0;
  padding: 0;
}
.root{
    --a: 0;
}

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

.home ul li {
  width: 15px;
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 10px;
  font-weight: bold;
}
.library {
  min-height: 80vh;
  position: relative;
}

.heading {
  width: 100%;
  display: flex;
  gap: 15px;
  padding-top: 14px;
  padding: 23px 14px;
  font-weight: normal;
  font-size: 13px;
  align-items: center;
}
.heading img {
  width: 25px;
}

.footer {
  display: flex;
  color: grey;
  font-size: 10px;
  gap: 13px;
  position: absolute;
  bottom: 0;
  padding: 10px;
}
.footer a {
  color: grey;
}
.right {
  margin: 16px 0px;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: rgb(34, 34, 34);
}
.header > * {
  padding: 20px;
}
.playlist {
  padding: 16px;
}
.cardcontainer {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
  margin: 30px;
  overflow-y: auto;
  max-height: 50vh;
}

.card {
  width: 226px;
  padding: 10px;
  border-radius: 5px;
  background-color: #252525;
  position: relative;
  transition: all 0.5s;
}
.card:hover{
  background-color: rgb(87, 84, 84);
  cursor: pointer;
  --a: 1;
}
 
.card > * {
  padding-top: 10px;
}
.card img {
  width: 100%;
  object-fit: contain;
}
.play {
  width: 28px;
  height: 28px;
  background-color: rgb(18, 148, 18);
  border-radius: 50%;
  opacity: var(--a);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 168px;
  right: 17px;

  transition: all 1s ease-out;
}
.buttons > * {
  margin: 0 14px;
}
.signup {
  background-color: rgb(34, 34, 34);
  color: rgb(120, 116, 116);
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}
.signup:hover {
  font-size: 17px;
  color: white;
}
.login {
  background-color: white;
  color: black;
  border-radius: 20px;
  font-weight: bold;
  padding: 10px;
  width: 79px;
  cursor: pointer;
  font-size: 16px;
}
.login:hover {
  font-weight: bold;
  font-size: 17px;
}

.right {
  position: relative;
}
.playbar {
  position: absolute;
  bottom: 30px;
  background-color: rgb(226, 229, 226);
  width: 90%;
  padding: 12px;
  position: fixed;
  width: 70vw;
  border-radius: 10px;
  filter: invert(1);
  background-color: #dad5d5;
  min-height: 40px;
}
.songbuttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.songlist {
  height: 544px;
  overflow: auto;
  margin-bottom: 44px;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburgercontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.songlist ul {
  padding: 0 12px;
}

.songlist ul li {
  list-style-type: decimal;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
  border: 1px solid white;
  margin: 12px 0;
  padding: 13px;
  border-radius: 5px;
}
.songlist.info {
  font-size: 13px;
  width: 344px;
}
.playnow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.playnow span {
  font-size: 15px;
  width: 64px;
  padding: 12px;
}

.seekbar {
  height: 4px;
  width: 98%;
  background-color: black;
  position: absolute;
  bottom: 2px;
  border-radius: 10px;
  margin: 4px;
  cursor: pointer;
}
.circle {
  height: 13px;
  width: 13px;
  border-radius: 12px;
  background-color: black;
  position: relative;
  bottom: 5px;
  left: 0px;
  transition: left 0.5s;
}
.timevol{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.songinfo
 {
  color: black;
  padding: 0 12px;
  width: 250px;
}
.songtime{
  width: 125px;
  color: black;
  padding: 0 12px;
}
.volume{
  display: flex;
   justify-content: center;
   align-items: center;
   gap: 10px;
   cursor: pointer;
}
 .range input{
  cursor: pointer;
 }
.songbuttons img {
  cursor: pointer;
}
.abovebar {
  display: flex;
  justify-content: space-between;
}
.close {
  display: none;
}
@media (max-width: 1400px) {
  .left {
    background-color: black;
    position: absolute;
    left: -120%;
    transition: all 0.3s;
    z-index: 1;
    width: 350px;
    padding: 0;
    height: 100vh;
    position: fixed;
    top: 0;
  }
  .left .close {
    position: absolute;
    right: 31px;
    top: 25px;
    width: 29px;
    display: block;
  }
  .songinfo,.songtime{
    width: auto;
  }
  .right {
    width: 100vw;
    margin: 0px;
  }
  .abovebar {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .playbar {
    width: 90vw;
  }
  
  .seekbar {
    width:  89vw;
  }
  .hamburger {
    display: block;
  }
  .card {
    width: 40vw;
  }
  .cardcontainer {
    margin: 0;
    justify-content: center;
  }
  .info{
    word-break: break-all;
  }
  .timevol{
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 500px) {
  .card{
    width: auto;
    
  }
  .header>*{
    padding: 2px;
  }
  .buttons>*{
    margin: 0 6px;
  }
  .header{
    padding: 7px;
  }
  .playlist h1{
    padding: 4px;
  }
  .library{
    height: 85vh;
  }
  .left{
    position: fixed;
    top: 0;
    width: 100vw;
  }
}