* {
  margin: 0px;
  padding: 0px;
}

:root {
  --opct: 0;
}

body {
  background-color: rgb(29, 29, 29);
  color: whitesmoke;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.left {
    width: 30vw;
    position: relative;
    height: 100vh;
}

.close {
  width: 50px;
  position: absolute;
  right: 15px;
  top: 15px;
  display: none;
}

.right {
  width: 70vw;
}

.logo {
  width: 80%;
}

.searchResult {
  display: none;
  position: absolute;
  background: #000000;
  width: 25vw;
  max-height: 300px;
  overflow: auto;
  border: 1px solid #ccc;
  z-index: 100;
  padding: 10px;
}

.homebox{
    height: auto;
}

.homebox .searchResult li {
  padding: 4px 0px;
  width: fit-content;
  cursor: pointer;
}

.searchResult li:hover {
  color: rgb(224, 224, 224);
  font-size: 17px;
}

.hamburger {
  display: none;
}

.homebox ul li {
  display: flex;
  width: 26px;
  list-style: none;
  gap: 8px;
  padding-top: 20px;
  font-weight: bold;
  font-size: 16px;
  place-items: center;
}

.heading {
  display: flex;
  width: 100%;
  list-style: none;
  gap: 15px;
  align-items: center;
  padding: 10px;
  font-size: 10px;
}

.songsList ul {
    padding: 10px;
    list-style: none;
    height: 55vh;
    overflow-y: scroll;
}

.songsList ul li {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 8px;
  font-size: 20px;
  list-style-type: decimal;
  list-style-position: inside;
  justify-content: space-between;
  margin: 10px;
  text-align: center;
}

.songsList ul li {
  cursor: pointer;
}

.songList{
    height: 65vh;
}

.librarybox {
    /* min-height: 80vh; */
    /* position: relative; */
    text-transform: capitalize;
    height: auto;
    height: 69vh;
}

.heading img {
  width: 25px;
}

.footer {
    display: flex;
    font-size: small;
    gap: 10px;
    padding: 10px;
    position: absolute;
    bottom: 5px;
    /* justify-self: center; */
    width: 90%;
    justify-content: center;
    background-color: black;
}

.footer a {
  color: rgb(146, 146, 146);
  text-decoration-line: none;
}

.nav img {
  width: 25px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cardContainer {
    display: flex;
    padding-top: 10px;
    gap: 20px;
    flex-wrap: wrap;
    max-height: 70vh;
    overflow-y: auto;
}

.signupbtn {
  background-color: black;
  color: rgb(160, 160, 160);
  font-weight: bold;
  border: none;
  font-size: 15px;
  padding: 10px;
}

.signupbtn:hover {
  cursor: pointer;
  color: white;
}

.loginbtn {
  background-color: #1e90ff;
  color: black;
  border: 1px solid;
  border-radius: 35px;
  font-weight: bold;
  font-size: 15px;
  padding: 15px 25px 15px 25px;
}

.loginbtn:hover {
  cursor: pointer;
  background-color: #97cbff;
}

.spotifyPlaylists {
  height: 87.5vh;
  position: relative;
}

.spotifyPlaylists h1 {
  padding: 10px;
}

.spotifyPlaylists .card {
  border: 2px solid;
  width: 21.8%;
  overflow: hidden;
  padding: 10px;
  background-color: #74747438;
  border-radius: 10px;
  position: relative;
  height: 400px;
}

.play {
  width: 45px;
  padding: 5px;
  position: absolute;
  bottom: 80px;
  right: 15px;
  opacity: var(--opct);
  transition: all 0.6s ease-out;
}

.card:hover {
  --opct: 1;
  background-color: rgba(148, 148, 148, 0.267);
  cursor: pointer;
}

.card > * {
  padding-top: 10px;
}

.card img {
  width: 100%;
  height: 75%;
  object-fit: cover;
}

.playbar {
  position: fixed;
  bottom: 20px;
  width: 68%;
  background-color: rgb(80, 80, 80);
  height: auto;
  border-radius: 10px;
}

.songbuttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

.songbuttons img {
  cursor: pointer;
}

.seekbar {
  height: 1px;
  width: 93%;
  border: 1px solid rgb(255, 255, 255);
  position: absolute;
  bottom: 1px;
  left: 30px;
  border-radius: 300px;
  cursor: pointer;
}

.circle {
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 60px;
  position: relative;
  bottom: 9px;
  left: 0%;
  transition: left 0.5s ease;
}

.currentSongDetails {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.songinfo,
.songtime {
  font-size: large;
  font-weight: bold;
  padding: 20px 35px;
  font-family: cursive;
  width: 200px;
  text-transform: capitalize;
}

.timenvol {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 390px;
}

.volumebtn {
  display: flex;
  align-items: center;
  gap: 3px;
}

.volumebtn img {
  width: 35px;
}

.volumebtn img:hover {
  cursor: pointer;
}

.range input:hover {
  cursor: pointer;
}

@media (max-width: 1000px) {
  .left {
    position: fixed;
    left: -200%;
    transition: all 0.5s ease;
    z-index: 1;
    width: 100%;
    background-color: black;
    height: 100%;
  }

  .footer {
    position: fixed;
    width: 85%;
  }

  .header {
    position: fixed;
    width: 90vw;
    z-index: 0;
    top: 0px;
  }

  .close {
    display: block;
    width: 30px;
  }

  .right {
    width: 100%;
  }

  .songinfo,
  .songtime {
    padding: 10px 10px;
  }

  .playbar {
    width: 90%;
    background-color: rgb(0,0,0);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .seekbar {
    width: 75vw;
  }

  .cardContainer {
    justify-content: center;
    padding-bottom: 20px;
    height: 50vh;
  }

  .spotifyPlaylists{ 
      position: absolute;
    top: 10vh;
  }
  .spotifyPlaylists .card {
    width: 80vw;
  }

  .currentSongDetails {
    flex-direction: column;
  }

  .hamburger {
    display: inline-flex;
    padding-right: 10px;
  }

  .timenvol {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
