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

:root{
    --main-color-blue: #121826;
    --secondary-color-blue: #1F2937;
    --button-color-blue: #3ABEFF;
    --very-light-blue: #E5F6FD;
    --secondary-text-color: #94A3B8;

    --red-delete-color: #EF4444;
    --green-success-color: #22C55E;

    --box-shadow-color: rgba(58, 189, 255, 0.25);


    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

.search-bar-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white;
    padding: 5px 10px;
    border-radius: 10px;
    flex: 1;
    margin-left: 10%;
}
.input-search{
    outline: none;
    border: none;
    background-color: transparent;
    width: 100%;
    font-family: var(--font-poppins);

    width: 100%;
}
.input-search::placeholder{
    font-family: var(--font-poppins);  
}


.search-bar-icon{
    color: black;
    font-size: 1rem;
}

.add-song-button{
    cursor: pointer;
}

.regular-button{
    cursor: pointer;
    background-color: var(--main-color-blue);
    border: 1px solid white;   
    
    transition: all 0.2s;
}

.regular-button:hover{
    background-color: white;
    border: 1px solid var(--main-color-blue);
    color: black;
}





/* Dashboard */


.dashboard-container{
    width: 95%;
    margin: 50px auto;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;

    flex-wrap: wrap;

    gap: 100px;

    padding: 10px;
}

.glow-effect{
    background-color: var(--secondary-color-blue);
    box-shadow: 4px 4px 20px 4px var(--box-shadow-color);

    border-radius: 15px;
}


.dashboard-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
}



.total-num-songs-h3{
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: fit-content;
    margin-bottom: 20px;
}



.dashboard-left{
    flex: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 50px;
}


.dashboard-playlist, .dashboard-progress, .dashboard-progress-2{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}




/* DashBoard Left */

.playlist-top{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    width: 100%;
    gap: 50px;
}

.playlist-top-left, .playlist-top-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.playlist-top-left{
    flex: 1;
}


.playlist-top-right{
    justify-content: center;
    gap: 20px;
    
}

.playlist-top h2{
    margin-right: auto;
}

.add-song-button, .danger-button, .regular-button{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;


    padding: 5px 15px;

    transition: all 0.5s;

    cursor: pointer;

    border-radius: 10px;
}

.add-song-button{
    border: 2px solid var(--button-color-blue);
}
.add-song-button:hover{
    color: black;
    box-shadow: 2px 2px 10px 2px var(--box-shadow-color);
    background-color: var(--button-color-blue);
}

.danger-button{
    border: 2px solid var(--red-delete-color);
}
.danger-button:hover{
    color: black;
    box-shadow: 2px 2px 10px 2px var(--box-shadow-color);
    background-color: var(--red-delete-color);
}

.song-container, .progress-container, .progress-2-container{
    width: 100%;
    padding: 50px 20px;
}


/* Song Container */

.song-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 30px;
}



.playlist-titles{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 10px;

    border-bottom:  1px solid rgba(58, 189, 255, 0.75);
}

.playlist-titles span{
    cursor: pointer;
    display: inline-block;
}

.playlist-titles div span.active{
    transform: rotate(180deg);
}












.playlist-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}


.song-box.hidden{
    display: none;
}

.song-box{
    padding-bottom: 5px;
    border-bottom: 2px solid var(--box-shadow-color);
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}



.song-left h4{
    font-size: 1.3rem;
    font-weight: 600;
}

.song-left h5{
    color: var(--secondary-text-color);
    font-size: 1rem;
    font-weight: 500;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}


.tags-for-songs{
    font-size: 0.9rem;
    margin-left: 5px;
    z-index: 2;
}
.song-tag-container{
    position: relative;
}

.song-tag-container p{
    display: none;
}

.song-tag-container p span{
    margin-left: 5px;
}

.tags-for-songs:hover,
.tags-for-songs.active{
    color: var(--button-color-blue);
    cursor: pointer;
}



.tags-for-songs:hover + p,
.tags-for-songs.active + p{
    color: #808080;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    left: 100%;
    background-color: black;
    width: 280px;
    padding: 20px;
    border-radius: 10%;
    position: absolute;
    font-size: 0.9rem;

    z-index: 2;
}

.song-left{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 180px;
}

.song-middle-right-group{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 2.25;
}

.song-middle{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.song-middle select{
    background-color: transparent;
    outline: none;
    border: 1px solid #3ABEFF;
    color: white;

    border-radius: 8px;
    font-family: var(--font-poppins);

    background-color: #0f172a;
    padding: 5px 10px;
}

.song-right{
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;
}

.song-right .fa-trash{
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--red-delete-color);
    opacity: 0.6;
}

.song-right .fa-play-circle{
    opacity: 0.6;
    transition: all 0.2s;
}

.song-right .fa-trash:hover, .song-right .fa-play-circle:hover{
    opacity: 1;
}


.song-right a{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.add-song, .load-song{
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #1e293b;
    border: 1px solid var(--box-shadow-color);

    padding: 12.5px;
    margin-top: 25px;
    border-radius: 10px;
    cursor: pointer;

    transition: all 0.75s;
}

.add-song:hover, .load-song:hover{
    background-color: #3ABEFF;
    color: #0f172a;
    box-shadow: 2px 2px 10px 4px var(--box-shadow-color);
}


.load-song{
    margin-top: 0;
}




/* Add Song Details */

.alert-message.hidden{
    top: 200%;
}

.alert-message{
    position: fixed;
    top: 50%;
    left: 50%;

    background-color: rgba(0,0,0,0.5);
    width: 100vw;
    height: 100vh;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    transition: all 0.5s;
}


.alert-message .fa-xmark{
    position: absolute;
    top: 20px;
    right: 20px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


.add-songs-prompt{
    padding: 75px 100px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;

    position: relative;
}

.add-songs-prompt div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    gap: 10px;
}

.add-songs-prompt input{
    all: unset;
    border: 1px solid var(--box-shadow-color);
    width: 300px;
    padding: 5px;
    border-radius: 5px;
}

.add-songs-prompt .add-song, .add-songs-prompt .load-song{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    padding: 10px;
}

.add-songs-prompt .add-song i, 
.add-songs-prompt .add-song h6,
.add-songs-prompt .load-song i, 
.add-songs-prompt .load-song h6 {
    font-size: 1rem;
    font-weight: 600;
}







/* Delete Button Confirmation */


.delete-confirmation-container{
    position: relative;
    padding: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 30px;

    text-align: center;
}
.delete-confirmation-container > i{
    font-size: 4rem;
}
.delete-confirmation-container h4{
    font-size: 1.5rem;
    font-weight: 500;
}

.delete-confirmation-container h4.smaller{
    display: none;
}


.delete-confirmation-container .buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}







/* Dashboard Bottom */

.progress-container{
    padding: 30px;
}
.progress-container > div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    gap: 50px;
    padding: 0 !important;
    padding: 10px;
}

.chart-1-container{
    width: 50%;
}
.chart-2-container{
    width: 50%;
}

































































/* Responsive Ness */


@media (max-width: 1000px){

    .dashboard-container{
        flex-direction: column;
    }


    .dashboard-left{
        flex: auto;
        width: 100%;
    }
    .progress-container > div{
        justify-content: space-evenly;
        width: 100%;
    }
}

@media (max-width: 768px){


    .song-left{
        flex: 1.5;
    }

    .add-songs-prompt{
        padding: 75px;
    }






    .progress-container > div{
        justify-content: center;
    }
}

@media (max-width: 640px){



    h2{
        font-size: 1.5rem;
    }
    .add-song-button, .danger-button, .regular-button{
        font-size: 0.8rem;
        padding: 5px 12px;
    }


    .playlist-top-left, .playlist-top-right{
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
    }
    .search-bar-container{
        margin-left: 0px;
    }

    .playlist-titles div:nth-of-type(3){
        display: none;
    }
    

    .song-middle-right-group{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        flex: 1;

        gap: 10px;
    }



    .song-left{
        flex: 1;
    }
    .song-right, .song-middle{
        flex: 0;
    }
    












    

    .delete-confirmation-container{
        width: 80%;
        padding: 50px 0;
    }

    .delete-confirmation-container button{
        font-size: 1rem;
    }
    

    .add-songs-prompt{
        width: 90%;
        padding: 75px 0;
    }

    .add-songs-prompt div{
        justify-content: space-around;
    }

    .add-songs-prompt .add-song, 
    .add-songs-prompt .load-song{
        width: 90%;
        margin: 0 auto;
    }

    .add-songs-prompt .add-song{
        margin-top: 50px;
    }






    .progress-container{
        padding: 50px 30px;
    }

    .progress-container > div{
        flex-direction: column;
    }

    .chart-1-container{
        width: 70%;
    }
    .chart-2-container{
        width: 80%;
    }
}


@media (max-width: 500px){




    .song-left h4{
        font-size: 1rem;
    }

    .song-left h5{
        font-size: 0.8rem;
    }

    .tags-for-songs{
        font-size: 0.75rem;
    }

    .song-middle select{
        padding: 4px 8px;
        font-size: 0.8rem;
        width: 120px;
    }




    .add-songs-prompt div{
        flex-direction: column;
        align-items: flex-start;

        width: 90%;
        margin: 0 auto;
    }

    .add-songs-prompt div input{
        width: 100%;
    }



    .song-right i{
        font-size: 1rem;
    }







    .delete-confirmation-container{
        width: 70%;
        padding: 50px 10px;
    }

    .delete-confirmation-container h4{
        font-size: 1rem;
    }

    .delete-confirmation-container button{
        font-size: 0.8rem;
    }
    .delete-confirmation-container h4{
        display: none;
    }

    .delete-confirmation-container h4.smaller{
        display: block;
    }
    









    .chart-1-container{
        width: 80%;
    }
    .chart-2-container{
        width: 95%;
    }
    
}

@media (max-width: 400px){

    .playlist-top{
        gap: 20px;
        justify-content: space-between;
    }


    .playlist-top h2{
        font-size: 1.25rem;
        font-weight: 600;
    }

    .search-bar-container,
    .search-bar-container i{
        font-size: 0.9rem;
    }

    .danger-button{
        min-width: 80px;
    }

    .song-container{
        padding: 20px;
    }

    .delete-confirmation-container{
        width: 90%;
    }

    .song-left{
        min-width: 0px;
    }

    .song-middle-right-group{
        margin-left: 10px;
        border-left: 1px dotted rgba(255, 255, 255, 0.558);

        min-width: 100px;
        max-width: 100px;
    }


    .add-song-button i, .danger-button i, .regular-button i{
        font-size: 0.8rem;
    }



    .song-middle select{
        width: 75px;
    }





    .chart-1-container{
        width: 100%;
    }
    .chart-2-container{
        width: 100%;
    }

}