* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  /* overflow-x: hidden; */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  background-color: rgba(#060506,
  #150356);
  
 
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(
      to right,
      #060506,
      #150356
    ); 
    background: linear-gradient(
      to right,
      #060506,
      #150356
    ); 
 /* Adjust opacity as needed */
  z-index: -1; /* Ensure the overlay is behind the content */
}
 
  
  


/* navigation bar */
::selection {
    color: #fff;
    background: #11101d;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 95px;
    background: #11101d;
    padding: 6px 14px;
    z-index: 99;
    transition: all 0.5s ease;
}

.sidebar.active {
    width: 270px;
}

.sidebar .logo_content .logo {
    color: #fff;
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.sidebar.active .logo_content .logo {
    opacity: 1;
    pointer-events: none;
}

.logo_content .logo i {
    font-size: 28px;
    margin-right: 5px;
}

.logo_content .logo .logo_name {
    font-size: 20px;
    font-weight: 400;
}

.sidebar #btn {
    position: absolute;
    color: #fff;
    top: 6px;
    left: 50%;
    font-size: 22px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateX(-50%);
}

.sidebar.active #btn {
    left: 90%;
}

.sidebar ul {
    margin-top: 20px;
    padding-left: 28%;
    /* padding-right: 50%; */
}

.nav_list ul {
    margin-right: 20%;
}

.sidebar ul li {
    position: relative;
    height: 50px;
    width: 100%;
    margin: 0 5px;
    list-style: none;
    line-height: 50px;
    margin: 5px 0;

}


.sidebar ul li .tooltip {
    position: absolute;
    left: 125px;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    height: 35px;
    width: 130px;
    background: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;

}

.sidebar.active ul li .tooltip {
    display: none;
}

.sidebar ul li:hover .tooltip {
    transition: all 0.5s ease;
    opacity: 1;
    top: 50%
}

.sidebar ul li input {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 12px;
    outline: none;
    border: none;
    background: #1d1b3100;
    padding-left: 50px;
    font-size: 18px;
    color: #fff;
}

.sidebar ul li .bx-search {
    position: absolute;
    z-index: 99;
    color: #fff;
    font-size: 22px;
    transition: all 0.5s ease;
}

.sidebar ul li .bx-search:hover {
    background: #fff;
    color: #1d1b31;
}

.sidebar ul li a {
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.sidebar ul li a:hover {
    color: #11101d;
    background: #fff;
}

.sidebar ul li i {
    font-size: 18px;
    font-weight: 400;
    height: 50px;
    min-width: 30px;
    border-radius: 12px;
    line-height: 50px;
    text-align: center;
}

.sidebar .links_name {
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.sidebar.active .links_name {
    transition: 0s;
    opacity: 1;
    pointer-events: auto
}





.sidebar.active~.home_content {
    width: calc(100% - 240px);
    left: 240px;
}















#main-container {
    display: flex;
    margin: auto;
    justify-content: space-between;
    width: 70%;
    height: 80vh;
    margin-top: 5%;
    /* position: absolute; */
    /* margin-right: 40%; */
    
    
    right: 0;
    background: #fbd3e9; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to right,
      #060506,
      #150356
    ); 
    background: linear-gradient(
      to right,
      #060506,
      #150356
    ); 
  
    border-radius: 10px;
    box-shadow: 2px 8px 8px lightgray;
    overflow: hidden;
  }
  #music-player {
    display: flex;
    justify-content: center;
    width: 70%;
    height: 300px;
    border-radius: 10px;
  }
  .music-card {
    width: 80%;
    height: auto;
    text-align: center;
    display: block;
    padding: 20px;
  }
  .song-name {
    margin: 0;
    text-align: center;
    color: whitesmoke;
  }
  .player-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
  }
  .music-resume {
    width: 100%;
    height: 5px;
    margin-top: 15px;
    background-color: blue;
    border-radius: 5px;
    cursor: pointer;
  }
  #progress-wrapper {
    width: 100%;
    height: 5px;
    background-color: rgb(168, 168, 207);
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
  }
  #progress {
    width: 0%;
    height: 5px;
    background-color: rgb(15, 77, 116);
  }
  .play-btn {
    display: flex;
    justify-content: center;
    padding: 20px;
    align-items: center;
  }
  .player-icon {
    color: violet;
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px 0 10px;
  }
  .player-icon:hover {
    color: darkorchid;
  }
  .play-icon-btn {
    font-size: 30px;
  }
  #music-playlist {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid lightgray;
    overflow-y: scroll;
    margin-top: 15px;
  }
  .music-card-list {
    border-bottom: 1px solid lightgray;
    margin: 10px;
    cursor: pointer;
    display: flex;
    color: whitesmoke;
    align-items: center;
    padding-bottom: 10px;
  }
  .music-card-list:hover {
    color: #9b9797;
  }
  .music-image {
    text-align: center;
    width: 65px;
    height: 65px;
    border-radius: 10px;
  }
  .singer-name {
    font-size: 15px;
    margin: 0 0 0 10px;
  }
  .music-name {
    font-size: 16px;
    margin: 0 0 10px 10px;
  }
  .music-details {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  #music-playlist::-webkit-scrollbar-track {
    background-color: lightgray;
  }
  
  #music-playlist::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5;
  }
  
  #music-playlist::-webkit-scrollbar-thumb {
    background-color: #2e2b2b;
    border: 2px solid #555555;
  }