body{ 
    font-family: "Montserrat", serif;
    margin:0;
    background-color: black;
    color: #fff;
    overflow:hidden;


}
.main
{
    display: flex;
    height:100vh;
    padding:0.5rem;
}

.sidebar
{
    width: 340px;
    border-radius: 1rem; /*16px*/;
    background-color: black;
    margin: 0.5rem;
}

.main-content
{
    flex:1;
    border-radius: 1rem;
    overflow:auto;
    background-color: #121212;
    padding:0 1.5rem 0 1.5rem;
}

.music-player
{
    position: fixed;
    bottom:0;
    width:100%;
    height:72px;
    background-color: #121212;
}


a{
    text-decoration:none;
    color:#fff;

}

/* Library Section */
.library {
    background-color: #121212;
    border-radius: 1rem;
    min-height: 300px;   /* Ensures proper height */
    margin-top: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Options Container */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lib-option img {
    height: 1.25rem;
    width: 1.25rem;
}

/* Lib-Box Section */
.lib-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem;
    background-color: #181818;
    border-radius: 1rem;
    min-height: 200px;  /* Ensures visibility */
}

/* Box Style */
.box {
    background-color: #232323;
    border-radius: 0.75rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    min-height: 4rem;
    display: flex;              
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.box:hover {
    transform: scale(1.05);
}

/* Box Text Styles */
.box-p1 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.box-p2 {
    font-size: 0.85rem;
    color: #b3b3b3;
    opacity: 0.9;
}

/* Badge Button Style */
.badge {
    background-color: #1db954; /* Spotify green */
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.badge:hover {
    transform: scale(1.1);
}


.icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icons i {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: 0.3s;
}

.icons i:hover {
    opacity: 1;
    transform: scale(1.1);
}


.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.74rem;

}

.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;
    min-height: 300px; 
    margin-top: 0.5rem;
    padding: 0.5rem 0.74rem;
    display: flex;        
    flex-direction: column;
    gap: 15px; 
}



.options{
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.lib-option img{
    height:1.25rem;
    width:1.25rem;
}

.icons{
    font-size: 1.25rem;
    display:flex;
}

.icons i{
    opacity: 0.7;
    margin-right: 1rem;
}

.icons i:hover{
    opacity:1 ;
}


.badge {
    background-color: #fff;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.badge:hover {
    transform: scale(1.05);
}

.dark-badge {
    background-color: #000;
    color: #fff;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #121212;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 1.5rem;
}

.sticky-nav-icons {
    display: flex;
    align-items: center;
    gap: 15px; /* Add spacing between icons */
}

.sticky-nav-icons img {
    width: 24px; /* Set consistent icon size */
    height: 24px;
    cursor: pointer; 
    transition: transform 0.3s;
}

.sticky-nav-icons img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}


.sticky-nav-options {
    display: flex;
    align-items: center;
    gap: 15px; /* Add consistent spacing */
}

.nav-item {
    margin: 0;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-item:hover {
    background-color: #1db954; /* Spotify green effect on hover */
    color: #fff;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .sticky-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-nav-options {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }

    .sticky-nav-icons {
        justify-content: flex-start;
        margin-bottom: 0.5rem;
    }

    .badge {
        width: 100%;
    }
}

.card{
    background-color:#232323 ;
    width:150px;
    border-radius: 0.5rem;
    padding:1rem;
    margin-left:1.5rem;
    margin-top: 1rem ;


}

.cards-container{
    display:flex;
    flex-wrap: wrap;
    align-items: center; 
    gap: 20px; 
    overflow-x: auto; 
    width: 100%;
    box-sizing: border-box; 

}

.card-img{
    width: 100%;
    border-radius: 0.5rem;

}
.card-title{
    font-weight: 600;
}

.card-info{
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer{
    height: 300px;
    display:flex;
    align-items: center;
    justify-content: center;
}

.line{
    width: 90%;
    height: 50%;
    border-top:1px solid #fff;
    opacity: 0.4;

}

/* Spotify Player Container */
.spotify-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181818;  /* Spotify's dark background */
    color: #fff;
    padding: 15px 30px;
    height: 50px;
    border-top: 1px solid #282828;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Left Section: Song Info */
.player-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
}

.song-img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.song-img:hover {
    transform: scale(1.05);
}

.song-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.song-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.song-artist {
    font-size: 0.75rem;
    color: #b3b3b3;
}

/* Center Section: Controls */
.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.control-icon {
    width: 22px;
    height: 22px;
    opacity: 0.8;
    cursor: pointer;
    transition: 0.3s;
}

.control-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.play-btn {
    width: 34px;
    height: 34px;
    opacity: 0.9;
    transition: 0.3s;
}

.play-btn:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.progress-bar {
    width: 70%;
    height: 5px;
    background: #535353;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.progress-bar:hover {
    background: #1db954;  /* Spotify green accent on hover */
}

.progress-bar: {
    width: 12px;
    height: 12px;
    background: #1db954; 
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.time {
    font-size: 0.75rem;
    color: #b3b3b3;
}

/* Right Section: Extra Controls */
.player-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.3s;
}

.icon-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Smooth Transition Effects */
.spotify-player:hover {
    background: #121212;
    transition: 0.3s;
}


