@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;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

.border {
  border: 2px solid red;
  margin: 3px;
}

.left {
  width: 25vw;
  padding: 10px;
}
.right {
  width: 75vw;
}

.home ul li {
  list-style: none;
  display: flex;
  width: 14px;
  gap: 15px;
  padding-top: 14px;
  font-weight: bold;
}

.heading {
  display: flex;
  gap: 15px;
  font-weight: bold;
  width: 100%;
  align-items: center;
  padding: 23px 14px;
  font-size: 13px;
}

.heading img {
  width: 20px;
}

.footer {
  display: flex;
  font-size: 10px;
  gap: 13px;
  position: absolute;
  bottom: 0px;
  padding: 10px 0px;
}

.footer a {
  color: grey;
}

.library {
  min-height: 80vh;
  position: relative;
}

body {
  background-color: black;
  color: white;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: rgb(34, 34, 34);
}

.header > * {
  padding: 20px;
}

.right {
  margin: 16px 0px;
}

.playlists {
  padding: 16px;
}

.playlists h1{
  padding: 13px;
}

.playlists .card {
  width: 200px;
  background-color: #252525;
  padding: 10px;
  border-radius: 5px;
  position: relative;
  transition: all .9s;
}

.card > * {
  padding-top: 10px;
}

.card img {
  width: 100%;
  object-fit: contain;
}

.cardContainer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px;
  overflow-y: auto;
  max-height: 60vh;
}

.play-button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(58, 225, 118);
  display: flex;
  align-items: center;
  justify-content: center;
  position:absolute;
  top:170px;
  right:16px;
}

.play-button svg{
  width: 28px;
}

.play{
  opacity: var(--a);
  transition: all 1s;
  top: 168px;
}

.card:hover{
  cursor: pointer;
  background-color: rgb(113, 113, 113);
  --a:1;
}

.signupbtn{
  font-weight: bold;
  background-color: rgb(34, 34, 34);
  color: rgb(118, 118, 118);
  border:none;
  outline:none;
  cursor: pointer;
  font-size: 16px;
}

.signupbtn:hover{
  font-size: 17px;
  color: white;
}

.buttons > *{
  margin: 0px 12px;
}

.loginbtn{
  background-color: white;
  color: black;
  border-radius: 20px;
  font-weight: bold;
  padding: 10px;
  border:none;
  outline:none;
  cursor: pointer;
  width: 80px;
  font-size: 16px;
}

.loginbtn:hover{
  font-weight: bold;
  font-size: 17px;
}

.right {
  position: relative;
}

.playbar {
  position: fixed;
  bottom: 30px;
  background-color: #e2d9d9;
  filter: invert(1);
  border-radius: 10px;
  width: 70vw;
  padding: 12px;
  min-height: 40px;
}

.playbuttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

.songlist ul {
  padding: 0px 12px;
}

.songlist ul li {
  list-style-type: decimal;
  display: flex;
  gap: 12px;
  cursor: pointer;
  padding: 13px;
  border: 1px solid white;
  border-radius: 5px;
  margin: 12px 0px;
  justify-content: space-between;
}

.playnow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.playnow span {
  font-size: 16px;
  width: 64px;
  padding: 12px;
}

.songlist .info {
  font-size: 13px;
  width: 344px;
}

.info div {
  word-break: break-all;
}

.songlist {
  height: 550px;
  overflow: auto;
  margin-bottom: 44px;
}

.seekbar {
  height: 4px;
  width: 98%;
  position: absolute;
  bottom: 8px;
  border-radius: 10px;
  margin: 6px;
  background: black;
  cursor: pointer;
}

.circle {
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background-color: black;
  position: relative;
  bottom: 6px;
  left: 0%;
  transition: left 0.5s;
}

.playbuttons img {
  cursor: pointer;
}

.abovebar {
  display: flex;
  justify-content: space-between;
  margin: 20px 0px;
}

.songinfo {
  color: black;
  padding: 0px 12px;
  width: 250px;
}

.songtime {
  color: black;
  padding: 0px 12px;
  width: 125px;
}

.timevol {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.hamburger {
  display: none;
}

.hamburgercontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.close {
  display: none;
}

input[type="range"] {
  accent-color: rgb(0, 90, 255);
}

.volume {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.volume input {
  cursor: pointer;
}

@media (max-width: 1500px) {
  .left {
    position: fixed;
    left: -120%;
    transition: all 0.3s;
    z-index: 1;
    width: 373px;
    background-color: black;
    padding: 0px;
    height: 100vh;
    top: 0;
  }

  .left .close {
    position: absolute;
    right: 24px;
    top: 24px;
    display: block;
  }

  .right {
    width: 100vw;
    margin: 0;
  }

  .playbar {
    width: calc(100vw - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hamburger {
    display: block;
  }

  .seekbar {
    width: calc(100vw - 70px);
  }

  .card {
    width: 55vw;
  }

  .cardContainer {
    margin: 0;
    justify-content: center;
    max-height: 50vh;
  }

  .abovebar {
    flex-direction: column;
    gap: 23px;
    align-items: center;
  }

  .songinfo {
    width: auto;
  }

  .timevol {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13px;
  }

  .cardContainer {
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 30vh;
  }

  .header {
    padding: 7px;
  }
}

@media (max-width: 500px) {
  .card {
    width: 100%;
  }

  .cardContainer {
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 30vh;
  }

  .spotifyplaylist h1 {
    padding: 4px;
  }
}

@media (max-width: 387px) {
  .card {
    width: 100%;
  }

  .header > * {
    padding: 12px;
  }

  .buttons > * {
    margin: 0px 6px;
  }

  .left {
    left: -133%;
    width: 348px;
  }

  .cardContainer {
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 30vh;
  }

  .spotifyplaylist h1 {
    padding: 4px;
  }
}

@media (max-width: 337px) {
  .card {
    width: 100%;
  }

  .header > * {
    padding: 4px;
  }

  .buttons > * {
    margin: 0px 6px;
  }

  .left {
    left: -133%;
    width: 348px;
  }

  .cardContainer {
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 30vh;
  }

  .spotifyplaylist h1 {
    padding: 4px;
  }
}

@media (max-width: 300px) {
  .card {
    width: 100%;
  }

  .header > * {
    padding: 0px;
  }

  .buttons > * {
    margin: 0px 6px;
  }

  .left {
    left: -133%;
    width: 300px;
  }

  .cardContainer {
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 30vh;
  }
.spotifyplaylist h1 {
  padding: 4px;
}

.library {
  height: 85vh;
}

.left {
  width: 100vw;
}
}

@media (max-width: 247px) {
  .play-button {
    top: 160px;
  }
}

