/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, Helvetica, Arial, sans-serif;
}

body {
    color: #fff;
    background-color: #121212 !important;
    height: 100vh;
    margin: 0;
    padding: 0;
}

body a {
    text-decoration: none;
}

/* .main {
    display: flex;
    width: 100vw;
} */

/* Sidebar Styles */
.sidebar {
    background: #000;
    width: 250px;
    height: 100vh;
    position: absolute;
    overflow: auto;
    padding: 9px;
    display: flex;
    flex-direction: column;
    color: #b3b3b3;
    font-size: 14px;
}

.logo-container img {
    width: 100%;
    height: auto;
    padding: 5px 20px;
    box-sizing: border-box;
}

.sidebar a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 5px 0px;
    margin: 10px 0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: #282828;
}

.sidebar-section {
    background: #181818;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 9px;
    overflow: hidden;
}

.sidebar-link-icon {
    margin-right: 15px;
    display: inline-block;
    width: 24px;
    text-align: center;
}

.sidebar-link {
    color: #b3b3b3;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
}

.sidebar-link-text {
    flex-grow: 1;
}


/* Header Styles */
.header-container {
    background-color: #000;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.humbuger {
    display: none;
}

.humbuger img {
    height: 40px;
}

.humbuger-container {
    background-color: #121212 !important;
    color: white !important;
    /* width: 80% !important; */
    padding: 5px !important;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2a2a2a;
    border-radius: 20px;
    padding: 10px;
    width: 20rem;
}

.search-bar input[type="search"] {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    padding: 0px 20px;
    color: #fff;
    font-size: 18px;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 0 10px;
    cursor: pointer;
}

.log-sign-btn {
    display: flex;
    gap: 1rem;
}

.log-sign-btn button {
    border: none;
    border-radius: 1.5rem;
    padding: 1rem 1.3rem;
    background-color: #f0f0f0;
    cursor: pointer;
}

.log-sign-btn button:hover {
    transform: scale(1.05);
}

.log-sign-btn span {
    font-size: 1rem;
    font-weight: 700;
    background-color: #f0f0f0;
    color: black;
}

/* Main Content Styles */
.right-section {
    margin-left: 250px;
    width: 80vw;
    padding: 10px;
}

.top-artists {
    color: #fff;
    font-size: 1.4rem;
    padding: 1.25rem 0 0 1.25rem;
}

.main-section {
    padding-top: 1.25rem;
}

.main-section section {
    margin-top: 0px;
    padding: 0px;
    overflow-x: auto;
    white-space: nowrap;
}

/* Artist Card Styles */
.artist-card {
    width: 12.5rem;
    height: 16rem;
    background-color: #181818;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    overflow: hidden;
    margin: 0 0.5rem 1.25rem;
    display: inline-block;
}

.artist-card img {
    margin-top: 0.6rem;
    width: 9.3rem;
    height: 9.3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.artist-card .artist-name {
    font-size: 1.12rem;
    color: #fff;
    margin-top: 0.5rem;
}

.artist-card .artist-title {
    font-size: 0.8rem;
    color: #b3b3b3;
}

/* Browse All Section Styles */
.browse-all-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-left: 1.25rem;
    padding-top: 1.25rem;
}

.browse-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    column-gap: 5.5rem;
    row-gap: 3rem;
    background-color: #121212;

}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    border-radius: 8px;
    background: #181818;
    color: white;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    height: 15rem;
    width: 13.75rem;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: auto;
    margin-top: 0.75rem;
    margin-bottom: 0.62rem;
    border-radius: 4px;
}

.category-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 20px;
    border: 3px solid #0e0e0e;
}

.scrollable-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
}

.scrollable-row::-webkit-scrollbar {
    display: none;
}

.sidebar-link-subtext {
    margin-left: 10px;
    background-color: #b3b3b3;
    color: #000;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    text-transform: uppercase;
}

/* Card Styles */
/* .card {
    display: inline-block;
    background-color: #282828;
    margin-right: 20px;
    border-radius: 4px;
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card .title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 16px;
} */

/* Player Styles */
.player {
    background-color: #181818;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #b3b3b3;
}

.player .song-info {
    display: flex;
    align-items: center;
}

.player img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.player .song-title {
    font-size: 16px;
    font-weight: bold;
}

.player .artist-name {
    font-size: 14px;
}

.music-player {
    flex-grow: 1;
    padding: 1.25rem;
    margin-left: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 5.6rem);
}

.player-container {
    max-width: 38rem;
    text-align: center;
}

.album-cover {
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.25rem;
    margin-top: 6.25rem;
}

.song-info {
    margin-bottom: 1.25rem;
}

.song-title {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 0.3em;
}

.artist-name {
    color: #b3b3b3;
    font-size: 1.5em;
}

.player-controls {
    margin-bottom: 1.25rem;
}

.player-controls img{
    width: 3.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    margin: 0 20px;
    cursor: pointer;
}

.play-btn {
    font-size: 3em;
}

.none {
    display: none;
}

.progress-bar {
    width: 100%;
    background: #404040 !important;
    border-radius: 2px;
    height: 5px;
    position: relative;
    margin-bottom: 0.6rem;
    cursor: pointer;
}

.progress {
    background: #1db954 !important;
    width: 1%;
    height: 100%;
    border-radius: 2px;
}

.time-stamps {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
}

.time-stamps span {
    color: white !important;
}


@media screen and (max-width: 375px) {
    .offcanvas-header {
        padding: 0.5rem !important;
    }

    .search-bar {
        width: 15rem;
        padding: 0.5rem !important;
    }

    .browse-all {
        column-gap: 0rem;
    }

    .category-card {
        height: 14rem;
        width: 11rem;
    }
}

@media screen and (max-width: 768px) {
    * {
        font-size: 13px;
    }

    .sidebar,
    #search-bar {
        display: none;
    }

    .header-container {
        padding: 10px;
    }

    .humbuger {
        display: block;
    }

    .right-section {
        margin: 0px;
        width: 100vw;
    }

    .music-player {
        margin: 0px;
    }
}