body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

.main {
    display: flex;
    height: 100vh;
}

.sidebar {
    background-color :black;
    width: 340px;
    border-radius: 1rem;
}
@media (max-width: 600px) {
    .sidebar{
        display: none;
    }
}
.main-content {
    background-color: #121212;
    flex: 1;
    border-radius: 1rem;
    overflow: auto;
    scrollbar-color: #00000000 rgba(0, 0, 0, 0);
    scrollbar-width: none;
    margin: 0.75rem 0.75rem 0.75rem 0;
    padding: 0 1.5rem 0 1.5rem;
}

.music-player {
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 85px;
    z-index: 11;
}

a {
    text-decoration: none;
    color: white;
}

.nav {
    background-color: #121212;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content:center ;
    height: 100px;
    padding: 0.5rem 0.75rem;
    margin: 0.75rem;
    
}

.nav-option {
    line-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    /* opacity: 0.7; */
}

.nav-option .home {
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-option .search {
    opacity: 0.7;
    font-weight: 600;
}
.nav-option .search:hover {
    opacity: 1;
}

.nav-option i {
    font-size: 1.25rem;
}

.nav-option a {
    font-size: 1rem;
    margin: 1rem;
}

.library {
    background-color: #121212;
    border-radius: 1rem;
    height: 100%;
    margin: 0.75rem;
    padding: 0.75rem 0.75rem;
}

/* scroller for library */
.lib-box {
    height: 100vh;
    scrollbar-color: #00000000 rgba(0, 0, 0, 0);
    scrollbar-width: none;
    overflow-y: auto;
}


.options {
    display: flex;
    justify-content:space-between;
    align-items: center;
    /* padding-right: 0.5rem; */
}

.lib-option img {
    height: 1.25rem;
    width: 1.25rem;
}

.lib-option {
    opacity: 0.7;
    font-size: 1rem;
}
.lib-option:hover {
    opacity: 1;
}

.icons {
    font-size: 1.25rem;
    display: flex;
}

.icons i {
    opacity: 0.7;
    margin-right: 1rem;
}

.icons i:hover {
    opacity: 1;
}

.box {
    background-color: #232323;
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.75rem 0 ;
    padding: 0.75rem 1.25rem;
    padding-bottom: 1.2rem;
    overflow: auto;
}

.box-p1 {
    font-size: 1rem;
    font-weight: 700;
}
.box-p2 {
    font-size: 0.9rem;
    opacity: 0.9;
}

.badge {
    background-color: white;
    border: none;
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    margin-top: 0.5rem;
    width: fit-content;
    color: #121212;
}

.dark-badge {
    background-color: black;
    color: white;
    padding: 0.5rem 1.2rem 0.5rem 0.6rem;
}

.dark-badge:hover {
    background-color: white;
    color: black;
    padding: 0.5rem 1.2rem 0.5rem 0.6rem;
    transition-duration: 0.6s;
    /* font-size: 0.9rem; */

}

.sticky-nav {
    position: sticky;
    top:0;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 1rem 0;
    z-index: 10;
}

.sticky-nav-icons {
    margin-left: 1rem;
    margin-top: 0.5rem;
    align-items: center;
}

.sticky-nav-icons img {
    height: 1.5rem;
    width: 1.5rem;
    background-color: black;
    border-radius: 50%;
    padding: 0.15rem;
    margin-right: 0.5rem;
}

.sticky-nav-options {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item {
    margin-right: 1.7rem;
}

@media (max-width: 1000px) {
    .hide{
        display: none;
    }
}

.card {
    background-color: #232323;
    width: 180px;
    border-radius: 0.5rem;
    padding: 0.7rem;
    margin: 10px;
}

.card-img {
    width: 100%;
    border-radius: 0.5rem;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
}
.card-title {
    font-weight: 600;
}
.card-info {
    font-size: 0.85rem;
    opacity: 0.7;
}


.footer {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    width: 98%;
    height: 40%;
    border-top: 1px solid white;
    opacity: 0.4;
}







.credits {
    opacity: 1;
    height: 300px;
}

.made {
    display: flex;
    justify-content: center;
    margin: 0.5rem;
    padding: 0;
    font-weight: 600;
}

.desc {
    opacity: 0.7;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.social_media ul {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-right: 40px;
}

a {
    color: white;
    opacity: 0.7;
    transition-duration: 9ms;
    
  }
a:hover {
    color: white;
    opacity: 1;
    font-size: 25px;
}

.links {
    padding: 7px;
}
.links:hover {
    /* color: #1bd760; */
}

.last {
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.last:hover {
    font-weight: 600;
    color: #1bd760;
}

.lasthover:hover {
    color: #1bd760;
}

.music-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album {
    width:25%
}

.player {
    width: 50%;
}

.controls {
    width: 25%;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.7rem;;
}


.player-control-icon {
    height: 1rem;
    margin-right: 1.75rem;
    opacity: 0.7;
    cursor: pointer;
}

@media (max-width: 500px) {
    .player-control-icon{
        margin-right: 0.9rem
    }
    .player {
        padding-right: 2rem;
    }
}

.player-control-icon:hover {
    opacity: 1;
}

/* .playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
} */

.progress {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-bar {
    width: 60%;
    /* height: 4px; */
    appearance: none;
    cursor: pointer;
    border-radius: 100px;
}


.progress-bar::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #1bd760 50%, #ddd 50%);
    border-radius: 100px;
    height: 0.2rem;
}

.progress-bar::-webkit-slider-runnable-track:hover {
    background-color: #1bd760;
}

.progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background-color: #1bd760;
    margin-top: -3px;
}
.progress-bar::-webkit-slider-thumb:hover {
    appearance: none;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background-color: #ffffff;
    margin-top: -4px;
}

@media (max-width: 800px) {
    .progress-bar {
        width: 50%;
    }
}

::selection {
    background-color: #00ab3f;
    color: white;
}

.album {
    display: flex;
    justify-content:flex-start;
    align-items: center;
}
.track-cover {
    width: 3.5rem;
    border-radius: 20%;
    padding: 20px;
    cursor: pointer;
}
.album-info {
    margin-right: 10px;
}

.track-title {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
    cursor: pointer;
}
.track-dis {
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.6;
    margin: 0;
    cursor: pointer;
}
.track-dis:hover {
    opacity: 1;
    font-size: 500;
    font-size: 1.05rem;
}

.track-title:hover {
    opacity: 1;
    font-weight: 700;
    font-size: 1.35rem;
}

.album-options {
    padding: 10px;
    display: flex;
    justify-content: space-evenly;
}

.album-options-icon {
    font-size: 1.30rem;
    padding-right: 10px;
    opacity: 0.5;
}
.album-options-icon:hover {
    font-size: 1.35rem;
    opacity: 1;
}

@media (max-width: 800px) {
    .hide2{
        display: none;
    }
}

@media (max-width: 500px) {
    .track-title{
        font-size: 0.1rem;
    }
    .track-dis{
        font-size: 0.1rem;
    }
    
}


@media (max-width: 600px) {
    .track-title{
        font-size: 0.8rem;
    }
    .track-dis{
        font-size: 0.7rem;
    }
}

@media (max-width: 1000px) {
    .controls {
        display: none;
    }
}
@media (max-width: 420px) {
    .album {
        display: none;
    }
    .player {
        padding: 0 0 0 100px;
    }
}


@media (max-width: 1150px) {
    .track-title{
        font-size: 1rem;
    }
    .track-dis{
        font-size: 0.9rem;
    }
    .controls {
        font-size: 1rem;
    }
}

.controls {
    font-size: 1.2rem;
    padding-right: 10px;
}
@media (max-width: 1150px) {
    .controls {
        font-size: 0.8rem;
    }
}
.controls-icon {
    opacity: 0.6;
}

.controls-icon:hover {
    opacity: 1;
}

.volume {
    -webkit-appearance: none; /* Remove default styling */
    width: 90px;
    height: 6px;
    background: linear-gradient(to right, #1bd760 50%, #ddd 50%);
    border-radius: 10px;
    cursor: pointer;
    
}
  
  /* Handle (thumb) styling */
.volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0.7rem;
    height: 0.7rem;
    background: #1bd760;
    border-radius: 50%;
    cursor: pointer;
}
  
.volume::-webkit-slider-thumb:hover {
    background: #ffffff;
    transform: scale(1.1);
}
  











/* Loader Style */
#loader {
    position: fixed;
    inset: 0;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }
  
  #loader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  #loader img {
    width: 120px;
    height: auto;
    animation: fadePulse 1.6s ease-in-out infinite;
  }
  
  @keyframes fadePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }
/* Loader Style */
