@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --a: 0;
}

body {
  background-color: black;
  color: white;
}

* {
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

.close {
  display: none;
}

.left {
  width: 25vw;
  padding: 10px;
}

.right {
  width: 75vw;
  margin: 16px 0;
  position: relative;
}

.home ul li {
  width: 14px;
  list-style: none;
  display: flex;
  gap: 15px;
  padding-top: 14px;
  font-weight: bold;
  overflow: visible;
}

.ov {
  overflow: visible;
}

.heading {
  display: flex;
  gap: 15px;
  width: 100%;
  padding: 23px 14px;
  padding-top: 14px;
  font-weight: bold;
  align-items: center;
  font-size: 13px;
}

.heading img {
  width: 25px;
}

.library {
  min-height: 80vh;
  position: relative;
}

.footer {
  display: flex;
  font-size: 10px;
  color: grey;
  gap: 13px;
  position: absolute;
  bottom: 0;
  padding: 10px;
}

.footer a {
  color: grey;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: rgb(34, 34, 34);
  height: 75px;
}

.header>* {
  padding: 20px;
}

.spotifyPlaylist {
  padding: 16px;
}

.spotifyPlaylist h1 {
  padding: 16px;
}

.cardContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px;
  overflow-y: auto;
  max-height: 70vh;
}

.card:hover {
  background-color: rgb(72, 72, 72);
  cursor: pointer;
  --a: 1;
}

.card {
  width: 200px;
  padding: 10px;
  border-radius: 5px;
  background-color: #252525;
  position: relative;
  transition: all 0.2s;
}

.card>* {
  padding-top: 10px;
}

.card img {
  width: 100%;
  object-fit: contain;
}

.songList ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #2a2a2a;
}

.songleft {
  display: flex;
  align-items: center;
  gap: 12px;
}

.musicicon {
  width: 20px;
}

.info {
  display: flex;
  flex-direction: column;
}

.songname {
  font-size: 14px;
}

.artist {
  font-size: 12px;
  color: gray;
}

.songright {
  width: 25px;
}

.playicon {
  width: 18px;
}

.play {
  width: 28px;
  height: 28px;
  background-color: #1fdf64;
  border-radius: 50%;
  /* border: 2px solid #000; */
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 168px;
  right: 17px;
  opacity: var(--a);
  transition: all 0.2s ease-out;
}

.buttons>* {
  margin: 0 12px;
}

.signupbtn {
  background-color: rgb(34, 34, 34);
  color: rgb(156, 148, 148);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}

.signupbtn:hover {
  font-size: 17px;
  font-weight: bold;
  color: white;
}

.loginbtn {
  background-color: white;
  border-radius: 21px;
  color: black;
  padding: 10px;
  width: 79px;
  cursor: pointer;
  font-size: 16px;
}

.loginbtn:hover {
  font-weight: bold;
  font-size: 17px;
}

.playbar {
   position: fixed;
  bottom: 30px;
  filter: invert(1);
  background: #dad5d5;
  border-radius: 10px;
  width: 70vw;
  min-height: 40px;
  padding: 12px 12px 12px 4px;
}

.hamburger {
  display: none;
}

.hamburgerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.songbuttons {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  margin-left:0;
}

.songList {
  height: 544px;
  overflow: auto;
  margin-bottom: 44px;
}

.songList ul {
  padding: 0 ;
}

.songList ul li {
  list-style-type: decimal;
  display: flex;
  justify-content: space-between;
  list-style-position: inside;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
  border: 1px solid white;
  margin: 12px 0;
  padding: 13px;
  border-radius: 5px;
}

.songList info {
  font-style: 13px;
  width: 344px;
}

.info div {
  word-break: break-all;
}

.playnow {
  display: flex;
}

.playnow span {
  font-size: 15px;
  width: 64px;
  justify-content: center;
  align-items: center;
}

.seekbar {
  height: 4px;
  width: 98%;
  background: black;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  overflow: visible;
  margin: 6px;
  cursor: pointer;
  ;
}

.circle {
  width: 13px;
  height: 13px;
  border-radius: 13px;
  background-color: black;
  position: relative;
  bottom: 5px;
  left: 0%;
  transition: left 0.5s;
}

.songbuttons img {
  cursor: pointer;
}

.timevol {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}


.songinfo{
  width:200px;
  padding:0;
  margin-left:0;
  color:black;
  text-align:left;
}


.songtime{
  width:125px;
  padding:0 12px;
  color:black;
}

.volume{
  display:flex;
  align-items:center;
  gap:22px;
}

.abovebar{
     display:flex;
  align-items:center;
  justify-content:space-between;
  margin:10px 0;
  padding-left:0;
}


.col {
  accent-color: orange;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .left {
    background-color: black;
    position: absolute;
    left: -120%;
    transition: all .3s;
    z-index: 1;
    width: 373px;
    padding: 0;
  }

  .songinfo,
  .songtime {
    width: auto;
  }

  .left .close {
    position: absolute;
    right: 31px;
    top: 25px;
    width: 29px;
  }

  .timevol {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    gap: 13px;
  }

  .right {
    width: 100vw;
  }

  .playbar {
    width: calc(100vw - 108px);
  }

  .seekbar {
    width: calc(100vw - 120px);
  }

  .hamburger {
    display: block;
  }

  .card {
    width: 44vw;
  }

  .cardContainer {
    margin: 0;
    justify-content: center;
  }

  .right {
    margin: 0;
  }

  .close {
    display: block;
  }

  .abovebar {
    flex-direction: column;
    gap: 23px;
    align-items: center;
  }
}

@media (max-width: 400px) {
  .card {
    width: 80vw;
  }
}