/* body{
    background-color: black;
    color: white;
} */

html{
  height: 109%;
}
html, body {
  overflow: hidden; }
* {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container{
  height: 100vh;
}
.left {
  width: 30vw;
  padding: 7px 0px 7px 7px;
}

.right {
  width: 75vw;
  padding: 7px;
}

.logo {
  width: 100px;
  height: 25px;
  margin-top: 8px;
  margin-right: 10px;
}

.Home ul li {
  display: flex;
  width: 54px;
  list-style: none;
  margin-top: 10px;
  font-weight: 600;
}


.search-img {
  width: 30px;
  height: 25px;
  position: relative;
  top: -3px;
}
.home-img {
  width: 30px;
  height: 25px;
  position: relative;
  top: -4px;
}

.Home {
  height: 120px;
  padding: 10px;
}

.library {
  margin-top: 7px;
  height: 80.3vh;
}
.library-logo {
  display: flex;
  align-items: center;
}

.library-logo h4 {
  margin-top: 12px;
  margin-left: -5px;
  font-size: 14px;
  width: 100%;
}

.Home ul {
  margin-top: 20px;
  margin-left: -4px;
}

.playlist-logo {
  width: 36px;
  height: 22px;
  margin-top: 7px;
  margin-left: 6px;
  font-weight: 700;
}

.plus{
    width: 16px;
    height: 18px;
    margin-top: 5px;
    margin-left: 5px;
    position: relative;
    top: 4px;
    left: -11px;
}

.songList ul{
max-height: 300px; /* Set your preferred height */
overflow-y: auto;  /* Enable vertical scrolling */
list-style-type: none; /* Optional: remove list bullets */
}

.songList ul li {
  list-style: none;
  font-size: 10px;
  color: gray;
  margin: 12px;
  padding: 4px;
  border: 1px solid #303030;
  border-radius: 4px;

}
.songList ul li:hover {
  list-style: none;
  font-size: 10px;
  color: rgb(170, 170, 170);
  margin: 12px;
  padding: 4px;
  border: 1px solid #636363;
  border-radius: 4px; 

 } 



.footer {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px; 
    color: gray;
    font-size: 10px;

  }
  
  .footer-item {
    margin: 3px;
    flex: 1 1 auto; 
    text-align: center;
  }
  

  @media screen and (max-width: 768px) {
    .footer {
      flex-direction: column; 
      align-items: flex-start; 
    }
  
    .footer-item {
      text-align: left;
    }
  }

  .header{
    display: flex;
    justify-content:  space-between;
    align-items: center;
height: 40px;
background-color: rgba(0, 0, 0, 0.5);
  }

  .header div{
    margin: 0px 7px;
  }

  .song-list{
    height: 100.56%;
  }

 .login{
  padding: 8px 15px;
  background-color: white;
  color: black;
  font-size: 10px;
  font-weight: 700;
  border-radius: 23px;
  border:none;
}

.login:hover{
background-color: rgba(255, 255, 255, 0.781);



}

.Signup{
  background-color: transparent;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.534);
  border: none;
  margin-right: 12px;

}

.Signup:hover{
color: white;
font-size: 10.2px;
}

.spotify-playlist{
  padding: 9px;
  overflow-y: scroll;
  height: 87%;
  position: relative;

}
.spotify-playlist p{
 font-size: 12px;

}

.Card{
  width: 160px;
  height: 195px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  margin-top: 10px;
  border-radius: 5px;

}

.Card img{
  width: 130px;
  border-radius: 5px;
}

.Card:hover{
  background-color:rgba(128, 128, 128, 0.13);
}

.cardContainer{
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  top: 8px;
}



.play {
  position: absolute;
  top: 82%;
  left: 78%;
  transform: translate(-50%, -50%) scale(0);
  background-color:rgb(60, 250, 250);
  border-radius: 50%;
  padding: 0px 13px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.play svg {
  fill: rgb(0, 0, 0); /* Ensure the play icon is visible on green background */
  width: 13px;
  position: relative;
  top: 2px;
  left: 1px;
}

.Card:hover .play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.card-desc p{
  margin-top: 2px;
  font-size: 10px;
  color: grey;

}

.card-desc{
  margin-left: 16px;
}
/* Remove the top and bottom scrollbar buttons */
::-webkit-scrollbar-button {
  display: none; /* Hides the scroll arrows */
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #1e1e1e; /* Background color of the scrollbar track */
  border-radius: 10px; /* Rounded corners for the track */
}

::-webkit-scrollbar-thumb {
  background: #444; /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded corners for the thumb */
  border: 2px solid #1e1e1e; /* Blend with the track */
}

::-webkit-scrollbar-thumb:hover {
  background: #666; /* Lighter color on hover for the thumb */
}

/* For Firefox */
html {
  scrollbar-width: thin; /* Makes the scrollbar thinner */
  scrollbar-color: #444 #1e1e1e; /* Thumb color and track color */
}

/* editing the functional part */

.player{
  display: flex;
  gap: 6px;
  height: 60px;
      justify-content: space-around;
      align-items: center;
      border: 1px solid transparent;
      position: fixed;
      bottom: 10px;
      width: 68%;
      border-radius: 7px;
      background: #161616;
      box-shadow: rgba(0, 0, 0, 0.3) 0px 13px 30px 0px, rgba(0, 0, 0, 0.22) 0px -18px 12px;
  }

  .player-info{
    display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 30%;
  }

  .track-art{
    height: 50px;
    width: 50px;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

  .player .buttons{
    display: flex ;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-left: 35px;
  }


.song-range{
  width: 180%;
}

.player-controler{
  display: flex;
  width: 38%;
  gap: 5px;
}

.randomActive{
  color:rgb(60, 250, 250);
}

.rotate{
    animation: rotation 8s infinite linear;
}
@keyframes rotation{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(359deg);
    }
}

.rangerange {
  -webkit-appearance: none;
  appearance: none;
  width: 80%;
  height: 4px; /* Ultra-thin slider */
  background: linear-gradient(90deg, #007bff, #00d4ff); /* Gradient from blue to cyan */
  border-radius: 5px;
  outline: none;
  transition: 0.3s ease-in-out;
  position: relative;
    top: 7px;
}

.close{
  display: none;
}

/* Styling the thumb (slider handle) */
.rangerange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #ffffff; /* Simple white thumb */
  border: 2px solid #007bff; /* Blue border */
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.rangerange::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid #007bff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.player-volume{
  display: flex;
    gap: 4px;
    width: 13%;
    margin: 0px 16px;
}

.vertical-range{
  width: 50%;
  position: relative;
  top: 7px;
  background:#007bff;
}

.track-name{
  font-size: 12px;
}

.track-artist{
  font-size: 9px;
  color: gray;
}

.songList{
  height: 74%;
  margin: 18px 0px;
}

.hamberger{
  display: none;
}



@media (max-width: 1150px) {
  .left{
    position: absolute;
    left: -100%;
    transition: all .3s;
    z-index: 1;
    width: 360px;
    background-color: black;
  }
    .library {
      margin-top: 7px;
      height: 80.3vh;
      width: 99%;
  }

  .close{
    display: block;
  }

  .Home {
    height: 120px;
    width: 92%;
    padding: 12px;

  }

  .right{
    width: 100vw;
  }

.player{
  width: 97%;
}


.hamberger{
  display: inline;
}
}

.close{
  position: absolute;
  right: 5px;
}


@media (max-width: 800px){

  .left {
    width: 365px;
  }

  .Card {
    width: 142px;
    height: 191px;}

    .spotify-playlist {
      padding: 9px;
      overflow-y: scroll;
      height: 90%;
      position: relative;
  }

  .track-art {
    height: 60px;
    width: 60px;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.track-artist {
  font-size: 11px;
  color: gray;
}

.player-controler {
  display: flex
;
  position: relative;
  width: 95%;
  gap: 5px;
  bottom: -40px;
}

.track-name {
  font-size: 14px;
}

.player-volume {
  display: flex;
  visibility: hidden;
  gap: 4px;
  width: 40%;
  position: relative;
  margin: 0px 16px;
  top: -22px;
  left: 134px;
}

  .footer {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    bottom: 30px;
    justify-content: space-between;
   align-content: flex-start;
    padding: 10px;
    color: gray;
    font-size: 10px;
}
.player-info {
  display: flex
;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 73%;
}

.player {
  flex-direction: column;
  left: 4.47px;
  height: 174px;
  position: fixed;
  bottom: 3px;
  width: 97.3%;
}

.player .buttons {
  display: flex
;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-left: -4px;
  position: absolute;
  top: 81px;
}

}