* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    width: 100%;
    background-color: rgb(244, 244, 244);
}

main {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.music_container{
    background-color: rgb(0, 0, 0);
    color: white;
    width: 360px;
    height: 100vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    
}

.music_wrapper{
    width: 100%;
    overflow: hidden;
    /* height: 100%; */
    position: relative;
    padding: 20px 0px;
}

.header_icons{
    width: 100%;
    display: flex;
    justify-content: end;
    gap: 20px;
    padding: 0px 20px;
}

.header_icons i{
    font-size: 20px;
    cursor: pointer;
}

.search_input_container{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100vh;
    background-color: rgba(22, 22, 22, 0.953);
    z-index: 99;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all .2s;
}

.show_search_box{
    opacity: 1;
    pointer-events: initial;
}

.search_input{
    width: 100%;
    position: relative;
}

.search_input input{
    width: 100%;
    padding: 13px;
    outline: none;
    border: none;
    border-radius: 30px;
    background-color: rgb(72, 72, 72);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    text-transform: capitalize;
}

.search_input input::placeholder{
    color: white;
}

.empty_search_icon{
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.close_search_icon{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background-color: rgb(72, 72, 72);
    border-radius: 50%;
    font-size: 23px !important;
}

.header_heading h1{
    font-size: 30px;
    margin-top: 10px;
    font-family: 'Lobster Two', sans-serif;
    padding: 0px 20px;
}

.music_list_container{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0px 20px;
}

.shot_music{
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
}

.shot_music i{
    font-size: 18px;
}

.fav_list_container{
    background-color: red;
}

.recent_list_container{
    background-color: rgb(255, 196, 0);
}

.playlist_list_container{
    background-color: rgb(0, 202, 71);
}

.shot_music p{
    margin-top: 5px;
}

.all_music{
    margin-top: 25px;
    padding: 0px 20px;
}

.all_music h4{
    font-size: 16px;
    border-bottom: 1px solid rgb(70, 70, 70);
    padding-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.song_list_container{
    margin-top: 15px;
    padding: 0px 20px;
}

.song_list_wrapper ul{
    height: calc(100vh - 257px);
    overflow: auto;
    padding-bottom: 120px;
}

.song_list_wrapper ul::-webkit-scrollbar{
    display: none;
}

.song{
    cursor: pointer;
}

.song_name{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    font-family: 'Rajdhani', sans-serif;
}

.current_song_list .song_name h4{
    color: red;
}

.song_name h4{
    width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
}

.play_wave_icon img{
    width: 15px;
}

.popup_cur_music_container{
    position: absolute;
    top: 85%;
    left: 0%;
    transition: all .3s;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hide_pop_music{
    transform: translate(0%, 0%);
    top: 0%;
    left: 0%;
    pointer-events: none;
    width: 100%;
}

.popup_cur_music{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    pointer-events: initial;
    transition: all .3s;
    background-color: red;
    width: 90%;
    border-radius: 10px;
}

.hide_pop_music .popup_cur_music{
    opacity: 0;
    pointer-events: none;
}

.pop_music_icon i{
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.386);
}

.popup_song_name{
    overflow: hidden;
    width: 50%;
    display: flex;
    align-items: center;
}

.popup_song_name h6{
    font-size: 13px;
    width: 100%;
    /* white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden; */
    font-family: 'Rajdhani', sans-serif;
}

.popup_music_nav{
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mus_btn i{
    font-size: 23px;
}

.popup_pause_btn_icon{
    display: none;
}

.current_music_container{
    position: absolute;
    top: 0%;
    left: 0%;
    background-color: red;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    z-index: 999;
}

.show_pop_up_music{
    opacity: 1; 
    height: 100vh;
    pointer-events: initial;
}

.options_icons{
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.options_icons i{
    font-size: 26px;
    cursor: pointer;
}

.cd_player{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.cd_player img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: cd_player 3s linear infinite;
    animation-play-state: paused;
    background-color: rgba(255, 255, 255, 0.23);
    padding: 20px;
}

.play_cd{
    animation-play-state: initial !important;
}

@keyframes cd_player {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

.cur_song{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.cur_fav_music i{
    font-size: 30px;
}

.cur_song h3{
    white-space: nowrap;
    font-size: 28px;
    font-family: 'Rajdhani', sans-serif;
}

.audio_range{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0px 20px;
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
}

.time{
    width: 16%;
    text-align: center;
}



.progress_song_box{
    width: 68%;
    height: 5px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.23);
    position: relative;
    cursor: pointer;
}

.progress{
    width: 15px;
    height: 15px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    /* transition: 1.5s linear; */
}

.progress_play{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 5px;
    background-color: white;
    border-radius: 10px;
    /* width: 20%; */
}

.song_controller_container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.song_controller_container i{
    cursor: pointer;
}

.con_arrow i{
    font-size: 40px;
}

.con_arrow{
    background-color: rgba(255, 255, 255, 0.23);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.cur_play_and_pause_btn_icon{
    background-color: rgba(255, 255, 255, 0.23);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
}

.cur_play_and_pause_btn_icon .play{
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);  
}

/* .cur_play_and_pause_btn_icon .hide_cur_play_btn{
    display: none;
} */

.cur_play_and_pause_btn_icon .pause{
    display: none;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* .cur_play_and_pause_btn_icon .show_cur_play_btn{
    display: block;
} */

.show_pause_btn{
    display: block !important;
}

.hide_play_btn{
    display: none;
}



@media screen and (min-width:340px) and (max-width:767px){
    .music_container{
        width: 100%;
        height: 100vh;
        border-radius: 0px;
    }

    .cd_player{
        margin-top: 80px;
    }

    .cd_player img{
        width: 220px;
        height: 220px;
    }

    .cur_song{
        margin-top: 50px;
    }

    .song_controller_container{
        margin-top: 50px;   
    }
}

