@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Chelsea+Market&family=Fredoka+One&family=Mochiy+Pop+P+One&family=Poppins:wght@200;300&family=Tajawal:wght@200&display=swap');

#listen-home{
    font-size: 3rem;
    font-family: 'Tajawal';
    text-align: center;
    height: 400px;
    /* border: 2px solid red; */
}
#listen-home:before{
    content: "";
    background-image: url('https://getwallpapers.com/wallpaper/full/3/5/2/275574.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 80px;
    width: 100%;
    height: 500px;
    z-index: -1;
    right: 0px;
    bottom: 350px;
    animation: name 5s ease;
}
.container{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
}
.song a{
    text-decoration: none;
    color:var(--white-color)
}
.song{
    background-image: linear-gradient(-45deg, rgb(70, 70, 70), rgb(0, 0, 0) 400px, rgb(70, 70, 70));
    display: flex; 
    justify-content: center;
    align-items: center;
    /* border: 2px solid rgb(32, 18, 18); */
    border-radius: 10px;
    margin: 50px;
    height: 450px;
    width: 500px;
    transition: all 0.01s ease;
    position: relative;
}
.song:hover{
    box-shadow: 1px 1px 20px var(--white-color);
}

.song img{
    height: 300px;
    width: 400px;
    /* margin: 10px; */
    border-radius: 10px;
    margin: auto;
}
.song span{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.song button{
    background-color: rgb(5, 174, 253);
    color: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid var(--bgcolor);
    display: flex;
    align-content: center;
    margin: 10px auto;
    cursor: pointer;
    font-family: 'Chelsea Market';
}
.song button:hover{
    background-color: rgb(3, 166, 216);
}

   

.bottom{
    /* background-color: rgb(54, 54, 54); */
    background-image: linear-gradient(-45deg, rgb(63, 75, 90), rgb(32, 23, 74) 400px, rgb(70, 70, 70));
    height: 90px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    bottom: 0px;
    z-index: 1000000;
}
.buttons #name_{
    position: absolute;
    left: 100px;
    font-family: 'Chelsea Market';
    font-size: 1.4rem;
    cursor: pointer;
}
.bottom .buttons{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom i{
    font-size: 33px;
    /* margin-right: 5px;
    margin-left: 5px; */
    padding: 5px;
    cursor: pointer;
}
#myProgressBar{
    /* margin-top: 10px; */
    width: 90vw;
    cursor: pointer;
}
#gif{
    position: absolute;
    right: 170px;
    transition: all 0.5s;
    cursor: pointer;
}
#duration{
    font-size: 1.3rem;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    position: absolute;
    right: 100px;
    cursor: pointer;
}



.singer{
    color: rgb(156, 156, 156);
    font-size: 0.9rem !important;
}
.music-time{
    color: rgb(156, 156, 156);
    font-size: 0.9rem !important;
    
}

.display-none{
    display: none !important;
}
@media only screen and (max-width:780px){
    .buttons #name_{
        left: 40px;
        font-size: 1.4rem;
    }
    #gif{
        right: 80px;
        transform: scale(0.5);
        height: 30px;
    }
    #duration{
        right: 40px;
    }
}
@media only screen and (max-width:490px){
    .song div button{
        display: none;
    }
    
    #myProgressBar{
        /* margin-top: 10px; */
        width: 95vw;
    }
    .buttons #name_{
        font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        width: 150px;
        left: 10px;
        font-size: 1rem;
    }
    #gif{
        right: 40px;
        transform: scale(0.5);
        height: 30px;
    }
    #duration{
        right: 10px;
        font-size: 1.1rem;
    }

    #listen-home{
        font-size: 2rem;
    }
    .song{
        /* height: 380px; */
        /* width: 420px; */
        margin: 0px;
        margin-top: 15px;
        margin-bottom: 15px;
        height: 70px;
        width: 100vw;
        border-radius: 0px;
        background-color: black;
        background-image: none;
        /* justify-content:end; */

    }
    .song:hover{
        box-shadow: none;
    }
    .song.active{
        background-color: rgb(52, 52, 52);
    }
    .song div{
        /* justify-content: center; */
        display: flex;
        align-items: center;
        /* flex-direction: row; */

    }
    .song-singer{
        display: flex;
        align-items:flex-start;
        flex-direction: row;
        justify-content: left;
        text-align: left;
        /* position: relative; */
        width: 100vw;
    }
    .con{
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        justify-content: left;
        text-align: left;
        /* position: relative; */
    }
    .music-time{
        position: absolute;
        right: 15px;
    }
    .singer{
        font-size: 0.6rem !important;
        position: absolute;
        top: 50px;
        left: 80px;
    }
    .container{
        margin-bottom: 60px;
    }
    .song img{
       height: 60px;
       width: 60px;
       /* position: absolute; */
       margin: 0px;
        margin-left: 10px;
        border-radius: 0px;
    }
    /* .song div button{
        padding: 2px;
        width: 70px;
        height: 25px;
        font-size: 10px;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 10px;
    } */
    .song div .music-name{
        font-size: 1rem;
        text-align: left;
        justify-content: left;
        margin-left: 10px;
        margin-top: 0px;
        position: relative;
        bottom: 10px;
        width: 200px;
    }
    #listen-home{
        margin-top: 50px;
    }





    
    .music-page{
        display: flex !important;
        /* background-color: rgb(54, 54, 54); */
        background-image: linear-gradient(-45deg, rgb(63, 75, 90), rgb(32, 23, 74) 400px, rgb(70, 70, 70));
        height: 100vh;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: fixed;
        bottom: 0px;
        z-index: 1000000;
        animation-name: music-page;
        animation-duration: 0.3s;
        animation-timing-function: ease;
    }
    /* .music-animate{
        animation-name: music-animate-out;
        animation-duration: 1s;
        animation-timing-function: ease;
    } */
    @keyframes music-page{
        from{
            height: 0px;
        }
        to{
            height: 100vh;
        }
    }
    /* @keyframes music-animate-out{
        from{
            opacity: 1;
        }
        to{
            opacity: 0;
        }
    } */
    #singer2{
        /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
        font-size: 1rem;
        font-family:  Arial, sans-serif;
        color: rgb(206, 206, 206);
        margin-bottom: 25px;
        font-weight: 1;
    }
    #cut{
        font-size: 30px;
        position: absolute;
        right: 10px;
        top: 10px;
        color: white;
        z-index: 1000000;
    }
    #name-2{
        position: absolute;
        bottom: 39vh;
        margin: auto;
        font-family: 'Chelsea Market';
        font-size: 1.4rem;
    }
    .music-page .buttons{
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        bottom: 25px;
        
    }
    #musicplayer-heading{
        position: absolute;
        left: 10px;
        top: 10px;
        font-size: 2rem;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    .music-page i{
        font-size: 40px;

        padding: 5px;
        cursor: pointer;
        
    }
    .music-page img{
        margin-bottom: 100px;
        height: 300px;
        width: 100vw;
    }
    #myProgressBar-2{
        position: relative;
        top: 15px;
        width: 95vw;
        cursor: pointer;
        z-index: 100000;
    }
    #gif-2{
        height: 30px;
        width: 60px;
        position: relative;
        /* margin-top: 70px; */
        top: 46px;
        left: 50px;
        transition: all 0.5s;
    }
    #duration-2{
        font-size: 1.3rem;
        color: white;
        font-family: 'Courier New', Courier, monospace;
        position: relative; 
        right: 60px;
        
    }
}
@media only screen and (max-width:440px){
    .container{
        position: relative;
        bottom: 80px;
    }
    .buttons #name_{
        left: 5px;
        font-size: 0.8rem;
    }
    #duration{
        right: 5px;
        font-size: 0.9rem;
    }
    #gif{
        right: 30px;
        transform: scale(0.5);
        height: 30px;
    }
}

@media only screen and (max-width:400px){
    .song div span{
        font-size: 0.8rem;
    }
    
}
@media only screen and (max-width:380px){
    #gif-2{
        left: 30px;

    }
    #duration-2{
        right: 40px;    
    }
}