body{
    background: #000;
    font-family: "Poppins", sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
.main{
    display: flex;
    height: 100vh;
    flex-wrap : wrap;
} 
.main_nav{  
    background: black;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 30px;
}
.sidebar{
    /* max-width: 50px; */
    max-width: 350px;
    background: #121212;
    /* max-width: 350px; */
    /* min-width: 350px; */
    height: 73.3%;
    margin:0px 10px;
    border-radius: 8px;
    padding: 12px 16px 8px 16px;
} 
 .main-container{
    width: 100%;
    background: #1C1C1C;
    /* flex-direction: row; */
    margin: 0px 10px 0px 0px;
    border-radius: 10px;
    flex: 1;
    height: 76.5%;
    overflow: hidden;
} 
.main-container:hover{
    overflow: auto;
}
::-webkit-scrollbar{
    width: 8px;
    background: transparent;
}
::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background: #888;
}
.music-player{
    background: black;
    width: 100%;
    height: 72px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    width: 2rem;
    padding: 0px 27px;
}
.home{
    width: 25px;
    border-radius: 30px;
    padding:10px;
    background: #292929;
    cursor:pointer;
}
.home i{
    font-size: 1.2rem;
    padding-left: 2px;
    color: #FFFFFF;
}
.home:hover{
    background: #4e4c4c;
}
.search{
    width: 22rem;
    height: 2.3rem;
    color: #ABABAB;
    background: #1F1F1F;
    border: 2px solid white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-self: space-between;
    margin: 0px 20px;
    padding: 0px 15px;
    font-size: 22px;
    font-weight: 100;
    opacity: 0.5;
}
.search:hover{
    opacity: 1;
}
.search input{
    width: 300px;
    margin-left: 0.7rem;
    border: none;
    padding: 2px;
    font-size:large;
    font-weight: 100;
    background: none;
    outline: none;    
    color: white;
}
#button2{
    padding-left: 1rem;
    border-left: 1px solid #B3B3B3;
    color: #B3B3B3;
    cursor: pointer;
    transition: transform .2s;
}
#button2:hover{
    color: white;
    border-left: 1px solid white;
    transform: scale(1.2);
}
.mainadd{
    width: 15rem;
}
.add-more {
    width: 1.5em;
    height: 1.4rem;
    padding: 7px;
    margin-left:2px ;
    color: #B3B3B3;
    background: #1F1F1F;
    border: 1px solid black;
    display: flex;
    align-items: center;
    border-radius: 50px;
    transition: background 10s ease;

}
 .add-more:hover{
    width: 100px;
    color: white;
    transition: background 10s ease;
    cursor: pointer;
}
 .add-more i{
    font-size: 30px;
    font-weight: 200;
    padding-right: 8px;
}
.add-more a{
    color: white;
    text-decoration: none;
    overflow: auto;
    font-size: 16px;
}
.explore{
    margin:0px 10px;
    text-decoration: none;
    color: black;
    padding: 4px 12px;
    background: white;
    border-radius: 20px;
    font-weight: 500;    
    transition: transform .2s; 

}

.explore:hover{
    background: #F2F2F2;
    transform: scale(1.05);
}
.download{
    transition: transform.2s;
    opacity: 0.7;
}
.download:hover{
    transform: scale(1.05);
    opacity: 1;
}
.download i{
    color: hsl(0, 0%, 100%);
    font-size: 16px;
    cursor: pointer;
    padding: 0.3rem;
    transition: transform.2s;
}
.download a{
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-right: 40px;
    transition: transform.2s;
}
.notification i{
    color: #AAAAAA;
    font-size: 19px;
    margin-right: 25px;
    cursor: pointer;
    transition: transform.2s;
}
.notification i:hover{
    transform: scale(1.05);
    color: white;
}
.user-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
}
.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
   border: 6px solid #1F1F1F;
}
.option{
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.libarary-box1{
    width: 100%;
    padding: 10px;
    margin-left: 10 px ;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0.7;
}
.libarary-box1:hover{
    opacity: 1;
    transition: opacity 0.5s ease;
}
.libarary-box1 img{
    width: 1.4rem;
    height: 1.4rem;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
}
.libarary-box1 a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
.libarary-box2{
    width: 50%;
    height: 100%;
    padding: 10px;
    display: flex;
    justify-content: end;
    align-items:end;
    opacity: 0;
}
.sidebar:hover{
    .libarary-box2{
        opacity: 1;
        transition: opacity 0.5s ease;
    }
}
.libarary-box2 i{
    color: white;
    font-size: 1.2rem;
    padding: 5px;
    margin-left: 15px;
    border-radius: 50%;
    cursor: pointer;
}
.libarary-box2 i:hover{
    background: #4e4c4c;
    transform: scale(1.1);
    color: white;
}
.your-playlist{
   background: #1F1F1F;
   border-radius: 10px;
   padding:  20px 40px 20px 20px;
   margin-bottom: 20px;
}
.your-playlist h4{
    padding-bottom: 8px;
    font-size: 15px;
}  
.your-playlist p{
    font-size: 14px;
    padding-bottom: 15px;
} 
.your-playlist button{
    font-size: 15px;
    font-weight : 600;
    border: none;
    padding: 8px 13px;
    border-radius: 20px;
    margin-top: 3px;
    cursor: pointer;
    transition: background 0.5s ease;
}
.your-playlist button:hover{
    transform: scale(1.05);
}
.sticky-nav-bar{
    height: 4rem;
    position: sticky;
    padding: 0px 30px;
    border-radius: 8px 8px 0px 0px;
    top: 0;
    background: #202020;
    display: flex;
    align-items: center;
    z-index: 3;
}
.a1{
    color: black;
    text-decoration: none;
    margin:0px 5px;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 400;
    background: white;
    border-radius: 20px;
}
.a2{
    color: white;
    text-decoration: none;
    margin: 10px;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 400;
    background: #302e2e;
    border-radius: 20px;
}
.cards{
    display: flex;
    flex-wrap: wrap;
    margin: 0px 10px 0px 35px;
    /* background: #1C1C1C; */
    overflow: auto;
}
.heading{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.heading-h2{
    font-size: 26px;    
    font-weight: 600;
}
.heading a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-right: 15px;
}
.card-container{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    flex-wrap: wrap;    
    gap: 20px 0px;
}
.card{
    background: #1C1C1C;
    padding: 10px;
    border-radius: 0.5rem;
    margin:0px  20px 20px 0px;
    cursor: pointer;
    transition: transform 0.5s ease;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
} 

.card:hover{
    background: #302e2e57;
    transform: scale(1.05);
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.3);
}
 .card-img{
    width: 100%;
    border-radius: 0.5rem;
}
.card-title{
    font-size: 0.9rem;
    opacity: 0.8;
    padding:5px 5px 1px 1px;
    margin: 0;
}
.card-description{
    font-size: 0.7rem;
    opacity: 0.8;
    padding:5px 5px 1px 1px;
    margin: 0;
}
.footer{
    width: 100%;
    background: #1C1C1C;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px ;
    margin-bottom: 10px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(87, 85, 85);
}
.footer-box{
    width: 20%;
    margin: 10px 0px;
    text-align: start;
}

.footer-box p{
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-box a{
    display: block;
    color: gray;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}
.social-media{
    width: 142;
    margin: 10px;
    text-align: start;
}
.social-media i{
    color: white;
    font-size: 25px;
    margin-right: 20px;
    margin-top: 20px;
    border-radius: 50%;
    transition: background 0.5s ease;
}
.footer-bottom{
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding-bottom: 20px 0px;
    background: #1C1C1C;
    color: white;
    margin-bottom: 60px;
}
.footer-bottom a{
    color: gray;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    /* margin-bottom: 10px; */
    margin-right: 10px;
}
.footer-bottom p{
    display: inline-block;
    font-size: 14px;
    margin-right: 30px;
    font-weight: 400;
}
.music-box1{
    width: 30%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;

}
.curentmusic-img{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}
.curentmusic-img img{
    width: 68px;
    object-fit: cover;
    border-radius: 3px;
}
.music-info{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.music-title{
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}
.music-artist{
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: gray;
}
.add-playlist{
    vertical-align: bottom;
    margin-right: 10px;
    width: 20px;
    color: white;
    cursor: pointer;
}
.player{
    width: 40%;
    background: black;
}
.player-controls{
    display: flex;
    align-items: center;
    justify-content:center;
    margin-bottom: 3px;

}
.player-controls-icon{
    width: 1rem;
    opacity: 0.7;
    margin-right: 1.75rem;
}

.player-controls-icon:hover{
    opacity: 1;
}
.player-controls-center-icon{
    width: 2rem;
    margin-right: 1.75rem;
}
.playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
}

.playback-bar-progress{
    width: 70%;
    appearance: none;
    height: 10px;
    background: transparent;
    cursor: pointer;
    margin: 0px 8px;
}

.playback-bar-progress::-webkit-slider-runnable-track{
    background: white;
    border-radius: 100px;
    height: 0.2rem;
}

.playback-bar-progress::-webkit-slider-thumb{
    appearance: none;
    width: 1rem;
    height: 1rem;
    background: #1bd760;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
}
.music-box3{
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 20px;
}
.music-box3 img{
    width: 1.3rem;
    color: white;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}
@media  (max-width : 1100px) {
    .mainadd{
        display: none;
    }
    .search{
        width: 40%;
    }
    .search input{
        width: 100%;
    }
    .search-icon{
        margin-left: 10px;
    }
    .explore{
        width: 160px;
    }
    .download{
        width: 20%;
        display: flex;
        justify-content: end;
        align-items: center;
    }
  
    .player{
        width: 30%;
    }
    .playback-bar-progress{
        width: 50%;
    }
    .player-controls{
        margin: 0px 0px 0px 20px;
        padding-bottom: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }
}
@media  (max-width : 980px){
    .explore{
        display: none;
    }
    .search #button1{
        display: none;
    }
    .download{
        width: 40%;
    }
    .sidebar{
        width: 300px;
    }
    .music-info{
        width: 100%;
    }
    .music-title{
        font-size: 16px;
        font-weight: 600;
    }
    .music-artist{
        font-size: 12px;
        color: gray;
    }
    .curentmusic-img img{
        width: 55px;
    }
    #specker-range{
        display: none;
    }
    .music-box1{
        width: 40%;
    }
} 

@media  (max-width : 800px){
    .search{
        width: 3%;
    }
    .search input{
        display: none;
    }
    .search #button2{
        display: none;
    }

    .search #button1{
        display: inline;
        padding-right: 3px;
    }
    .heading-h2{
        font-size: 20px;
        margin: 0px !important;
    }
    
}
.orange{
    color: orange;
}
  


.card button {
  width: 40px;
  position: absolute;
  right: 30px;
  top: 140px;
  opacity: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.card:hover button {
  opacity: 1;
  top: 100px;
}
.play-button-hover{
    width: 40px;
}