* {
  margin: 0;
  padding: 0;
  font-family: "MyCustomFont";
}
@font-face {
  font-family: "MyCustomFont";
  src: url("../MyCustomFont/CircularSpotifyText-Book.otf");
}
:root{
  --a: 0;
}
.close{
  display: none;
}
body {
  background-color: black;
  color: white;
}
.left {
  width: 25vw;
  padding: 10px;
}
.right {
  width: 75vw;
}
.home {
  padding: 10px;
}
.home ul li {
  display: flex;
  gap: 15px;
  list-style: none;
  width: 24px;
  padding-top: 14px;
  font-weight: bold;
}
.heading {
  display: flex;
  gap: 15px;
  list-style: none;
  width: 100%;
  padding-top: 14px;
  padding: 23px 14px;
  font-weight: bold;
  align-items: center;
  font-size: 13px;
}
.heading img {
  width: 30px;
}
.library {
  min-height: 80vh;
  position: relative;
}
.footer {
  display: flex;
  font-size: 10px;
  gap: 13px;
  position: absolute;
  bottom: 0;
  padding: 10px 0;
}
.footer a {
  color: grey;
}
.right {
  margin: 16px 0;
  position: relative;
}
.header {
  display: flex;
  justify-content: space-between;
  background-color: rgb(33, 33, 33);
}
.header > * {
  padding: 20px;
}
.spotifyPlaylists {
  padding: 16px;
}
.spotifyPlaylists h1{
  padding: 16px;
}
.cardContainer {
  margin: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  overflow-y: auto;
  max-height: 60vh;
}
.card {
  width: 200px;
  padding: 10px;
  border-radius: 5px;
  background-color: #252525;
  position: relative;
  transition: all .9s;
}
.card > * {
  padding-top: 10px;
}
.card:hover{
  background-color: black;
  cursor: pointer;
  --a: 1;
}

.card img {
  width: 100%;
  object-fit: contain;
}
.play svg {
  background-color: #1db954;
  border-radius: 50%;
  padding: 16px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: absolute;
  top: 168px;
  right: 17px;
  fill: black;
  opacity: 1;
  transition: all 1s ease-out;
}
/* .play{ */
  /* width: 28px;
  height: 28px;
  background-color: #1db954;
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 168px;
  right: 17px;
  opacity: 1;
  transition: all 1s ease-out; */
  /* box-sizing: border-box;
  cursor: pointer; */
  /* transition: background-color 0.2s ease; */
  /* fill: black; */
/* } */
.buttons {
  display: flex;
  flex-direction: row;
}
.buttons > * {
  margin: 0 12px;
}
.signupbtn {
  background-color: rgb(33, 33, 33);
  color: rgb(156, 148, 148);
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: small;
}
.signupbtn:hover {
  font-size: smaller;
  color: white;
}
.loginbtn {
  background-color: white;
  border-radius: 21px;
  color: black;
  font-size: smaller;
  padding: 10px;
  width: 79px;
  cursor: pointer;
}
.loginbtn:hover {
  font-weight: bold;
  width: 80px;
  font-size: small;
}
.playbar {
  position: fixed;
  bottom: 30px;
  background-color: #252525;
  border-radius: 10px;
  width: 90%;
  padding: 12px;
  margin: 12px;
  width: 70vw;
  min-height: 40px;
}
.songbuttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.songbuttons img{
  cursor: pointer;
}
.songList{
  height: 344px;
  overflow: auto;
  margin-bottom: 44px;
}
.hamburger{
  display: none;
  cursor: pointer;
}
.hamburgerContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.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;
}
.info div{
  word-break: break-all;
}
.playnow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.playnow span {
  font-size: 15px;
  width: 65px;
  padding: 12px;
}
.seekbar{
  height: 4px;
  width: 98%;
  background-color:  white;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  margin: 6px;
  cursor: pointer;
}
.circle{
  width: 13px;
  height: 13px;
  border-radius: 13px;
  background-color: white;
  position: relative;
  bottom: 6px;
  left: 0%;
  transition: left 0.5s;
}
.timevol{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.songinfo{
  color: white;
  padding: 0 12px;
  width: 250px;
}
.songtime{
  color: white;
  padding: 0 12px;
  width: 125px;
}

.volume{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.range input{
  cursor: pointer;
}
.abovebar{
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

@media (max-width: 1200px){
  .left{
    position: absolute;
    left: -120%;
    transition: all .3s;
    z-index: 1;
    width: 333px;
    background-color: black;
    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;
    margin: 0;
  }
  .playbar{
    width: calc(100vw - 75px);
  }
  .seekbar{
    width: calc(100vw - 120px);
  }
  .hamburger{
    display: block;
  }
  .card{
    width: 55vw;
    justify-content: center;
  }
  .close{
    display: block;
  }
  .abovebar{
    flex-direction: column;
    gap: 23px;
    align-items: center;
  }
  .cardContainer{
    max-height: 50vh;
  }
}
@media (max-width: 500px) {
  .card{
    width: auto;
  }
}