body{
    font-family: "Montserrat", sans-serif;
    margin:0;
    background-color: black;
    color: white;
    overflow: hidden;
    font-weight: 500;
}
.main{
    display: flex;
    height: 100vh;
    padding: 0.5rem;
}
.sidebar{
    background-color: #000000;
    width: 340px;
    border-radius: 1rem;
}
.main-content{
    background-color: #121212;
    flex: 1;
    border-radius: 1rem;
    overflow:auto;
    padding: 0 1.5rem 0 1.5rem;
}
.music-player{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 72px;
}
a{
    text-decoration: none;
    color: white;
}
.nav {
  background-color: #121212;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 0.5rem 0.75rem;
}
.nav_option {
  line-height: 2.5rem;
  opacity: 0.7;
  padding: 0.5rem 0.75rem;
}
.nav_option:hover{
  opacity:1;
}
.nav_option i{
    font-size: 1.25rem;
}
.nav_option a{
    font-size: 1rem;
    margin-left: 1rem;
}
.library{
    background-color: #121212;
    border-radius: 1rem;
    justify-content: space-between;
    height: 100%;
    margin-top: 0.5rem;
    padding:0.5rem 0.75rem;
}
.options{
    display: flex;
    justify-content: space-between;
}
.lib_option img{
    height: 1.25rem;
    width: 1.25rem;
}
.icons {
    font-size: 1.25rem;
    display: flex;
    margin-top: 17px;
}
.icons i{
    opacity: 0.7;
    margin-right: 1rem;
}
.icons i:hover {
    opacity: 1;
}
.box {
    background-color: #232323;
    height: 8rem;
    border-radius: 0.75rem;
    margin: 0.75rem 0 0.5rem 0;
    padding: 0.75rem 1rem
}
.box-p1{
    font-size: 1rem;
    font-weight: 700;
    background-color: #232323;
}
.box-p2{
    font-size: 0.75rem;
}
.badge {
    background-color: white;
    color: black;
    border: none;
    border-radius: 100px;
    padding:0.25rem 1rem;
    font-weight: 700;
    margin: 0.5rem;
    font-size: 0.85rem;
    height: 2rem;
    width: fit-content;
}
.sticky-nav {
    position: sticky;
    top: 0;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1rem 0;
    z-index: 10;
}
.sticky-nav-icons {
    margin-left: 0.75rem;
}
.sticky-nav-options{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2rem;  
}
.nav-item {
    margin-right: 1.5rem;
}
.dark-badge {
    background-color: #000000;
    color: white;
}
@media (max-width: 1000px){
    .hide{
        display: none;
    }
}

.cards-conatainer {
    display: flex;
    flex-wrap:wrap ;
    
}

.card {
    background-color: #232323;
    width: 150px;
    border-radius: 0.5rem;
    margin-left: 1.5rem;
    margin-top: 1rem;
   cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
   .card:hover{
    background-color: #282828;
    transform: translateY(-4px);
}          

.card-img {
    width: 100%;
    border-radius: 0.5rem;
}
.card-title {
    font-weight: 600;
}
.card-info {
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer{
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.line {
    width:90%;
    height:50%;
    border-top: 1px solid white;
    opacity: 0.4;
}
.music-player{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.album {
    width: 25%;
}
.player{
    width: 50%;
}
.controls{
    width: 25%;
}
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;

}
.player-control-icon {
    height: 1rem;
    margin-right: 1.75rem;
    opacity: 0.7;
}
.player-control-icon:hover{
    opacity: 1;
}
.playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
}
.progress-bar{
    width: 60%;
    appearance: none;
    background-color: transparent;
    cursor:pointer
}
.progress-bar::-webkit-slider-runnable-track {
background-color: #ddd;
border-radius: 100px;
height: 0.2rem;
}
.progress-bar::-webkit-slider-thumb{
appearance: none;
height: 1rem;
width: 1rem;
background-color: #1bd760;
border-radius: 50%;
margin-top: -6px;
}

.controls{
    width:25%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding-right:1rem;
}

.control-icon{
    color:#b3b3b3;
    margin:0 0.5rem;
    cursor:pointer;
}

.control-icon:hover{
    color:white;
}

.volume-bar{
    width:90px;
    margin-left:0.5rem;
}
.volume-bar::-webkit-slider-runnable-track {
background-color: #ddd;
border-radius: 100px;
height: 0.2rem;
}
.volume-bar::-webkit-slider-thumb{
appearance: none;
height: 1rem;
width: 1rem;
background-color: #1bd760;
border-radius: 50%;
margin-top: -6px;
}
.album{
    width:25%;
    display:flex;
    align-items:center;
    padding:0 1rem;
}

.album-img{
    width:56px;
    height:56px;
    border-radius:4px;
    object-fit:cover;
}

.song-info{
    margin-left:0.75rem;
    width: 140px;
}

.song-name{
    margin:0;
    font-size:0.9rem;
    font-weight:600;
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.artist-name{
    margin-top:0.25rem;
    font-size:0.60rem;
    color:#b3b3b3;
    white-space: nowrap;
   
}

.album-icon{
    margin-left:1rem;
    color:#b3b3b3;
    cursor:pointer;
}

.album-icon:hover{
    color:white;
}
.artist-container{
    display: flex;
    flex-wrap: wrap;
}

.artist-card{
    width: 170px;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.artist-card:hover{
    background-color: #232323;
}

.artist-img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.artist-title{
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
}

.artist-type{
    font-size: 0.85rem;
    color: #b3b3b3;
    margin: 0;
}