.popular-mix-div{
    position: relative;
    height: 150px;
    width: 150px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: center;
    background-size: cover;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; 
}
.popular-mix-div .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}
.popular-mix-div p{
    position: relative; 
    color: white; 
    text-decoration: none; 
    text-align: center;
    font-size: small; 
}
.up-next-mix-cover{
    height: 5vh;
    width: 5vh;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.3rem;
}


.container-fluid-scroll {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.scrolling-wrapper {
    display: inline-flex;
}

.recently-uploaded-cover{
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 10px;
}


/* Add a class to style the overlay */
.figure-card {
    position: relative;
    cursor: pointer;
    padding: 0;
}

/* Style for the overlay on hover */
.figure-card:hover figcaption {
    opacity: 1;
}

/* Style for the gradient overlay */
.figure-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    font-size: 1.3rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 1;
    transition: opacity 0.3s ease;
}

.genre-card{
    padding: 1.5rem 3rem;
    border-radius: 18px;
    background-color: #141414;
    color: #B7B7B7;
    cursor: pointer;
    transition: background-color .5s ease-out;
}
.genre-card:hover{
    background-color: #299188;
    color: #F4F4F4;
}

.gradient-bg{
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.player-sm{
    display: none;
}
.player-lg{
    display: none;
}


/* Media Queries */
/* Extra small devices(phones, 600px and down) */
@media (max-width: 600px) {
    .player-lg{
        display: none;
    }
    .player-sm{
        display: block;
    }
    .mix-landscape-hero{
        display: none;
    }
}
/* Small devices(Portrait tablets and large phones, 600px and up) */
@media (min-width: 600px) {
    .player-lg{
        display: none;
    }
    .player-sm{
        display: block;
    }
    .mix-landscape-hero{
        display: none;
    }
}
/* Medium devices (Landscape tablets, 768px and up) */
@media (min-width: 768px) {
    .player-lg{
        display: block;
    }
    .player-sm{
        display: none;
    }
    .mix-landscape-hero{
        display: block;
    }
}
/* Large devices (Laptops/desktops, 992px and up) */
@media (min-width: 992px) {
    .player-lg{
        display: block;
    }
    .player-sm{
        display: none;
    }
    .mix-landscape-hero{
        display: block;
    }
}
/* Extra large devices (Large laptops and desktops, 1200px and up) */
@media (min-width: 1200px) {
    .player-lg{
        display: block;
    }
    .player-sm{
        display: none;
    }
    .mix-landscape-hero{
        display: block;
    }
}
@media (min-width: 1400px) {
    .player-lg{
        display: block;
    }
    .player-sm{
        display: none;
    }
    .mix-landscape-hero{
        display: block;
    }
}


/* Add a class to style the overlay */
.mix-card {
    position: relative;
    cursor: pointer;
    padding: 0;
}

/* Style for the overlay on hover */
.mix-card:hover figcaption {
    opacity: 1;
}

/* Style for the gradient overlay */
.mix-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5rem;
    box-sizing: border-box;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    opacity: 1;
    transition: opacity 0.5s ease;
}
.mix-landscape-hero{
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.img-similar-mixes{
    object-fit: cover;
    height: 200px;
    width: 100%;
    border-radius: 18px;
}

.youtube-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.youtube-video-container iframe,
.youtube-video-container object,
.youtube-video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hover-like{
    cursor: pointer;
    color: inherit;
    transition: 0.3s ease-in-out;
}
.hover-like i{
    color: inherit;
    transition: 0.3s ease-in-out;
}
.hover-like:hover i{
    cursor: pointer;
    color: #30d5c8;
    transform: scale(1.2);
    transition: 0.3s ease-in-out;
}
.products-overflow {
    overflow-x: auto; 
    white-space: nowrap;
    padding: 0.5rem 0;
    scrollbar-color: #585858 #1a1a1a;
    scrollbar-width: thin; 
}

.products-overflow::-webkit-scrollbar {
    height: 8px;
    background-color: #1a1a1a;
}

.products-overflow::-webkit-scrollbar-thumb {
    background-color: #585858;
    border-radius: 4px;
}

.products-overflow .col-lg-4 {
    display: inline-block;
    vertical-align: top;
}

.genre-filter {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.genres-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    white-space: nowrap;
    flex-grow: 1;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer */
}

.genres-container::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.genre-item {
    padding: 8px 16px;
    border: 1px solid #282828;
    background-color: #282828;
    white-space: nowrap;
    cursor: pointer;
    color: #c8c8c8;
    transition: background-color 0.3s, color 0.3s;
}

.genre-item:hover {
    background-color: #f8f8f8;
    color: #282828;
}

.scroll-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.5rem;
    color: #e0e0e0;
    z-index: 2;
    position: absolute;
}

.scroll-btn.left-btn {
    left: 0;
}

.scroll-btn.right-btn {
    right: 0;
}
.genre-item.active{
    background-color: #f8f8f8;
    color: #282828;
}

/* Style the audio player container */
#audio-player {
    background-color: #282828; /* Dark background */
    color: #fff; /* Text color */
    border-radius: 8px; /* Rounded corners */
}

/* Adjust the width of the audio player */
#audio-player::-webkit-media-controls-panel {
    background-color: #282828; /* Dark background for controls */
    border-radius: 8px; /* Rounded corners for controls */
    color: #fff;
}

/* Customize the play/pause button */
#audio-player::-webkit-media-controls-play-button,
#audio-player::-webkit-media-controls-pause-button {
    background-color: #66e5dc; /* Button background */
    color: #1a1a1a; /* Button icon color */
    border-radius: 50%; /* Circular button */
    padding: 5px;
}

/* Customize the progress bar */
#audio-player::-webkit-media-controls-timeline {
    background-color: #282828; /* Progress bar track */
    border-radius: 4px;
}

#audio-player::-webkit-media-controls-current-time-display,
#audio-player::-webkit-media-controls-time-remaining-display {
    color: #fff; /* Time display text */
}

/* Firefox customizations */
#audio-player {
    scrollbar-color: #282828 #000; /* Thumb and track colors */
    scrollbar-width: thin; /* Thinner scrollbar */
}
/* Target the volume control container */
#audio-player::-webkit-media-controls-volume-control-container {
    color: #fff; /* Makes the volume control icon white */
}

/* Target the mute/unmute button */
#audio-player::-webkit-media-controls-mute-button {
    background-color: #282828; /* Background of mute button */
    -webkit-mask: none; /* Ensure mask doesn't obscure color */
    mask: none; /* Ensure mask doesn't obscure color */
}

/* General volume slider adjustments */
#audio-player::-webkit-media-controls-volume-slider {
    background-color: #282828; /* Volume slider background */
}


/* Change the seekbar (input[type="range"]) color to turquoise */
#progress-bar {
    -webkit-appearance: none; /* Remove default styling */
    appearance: none;
    width: 100%;
    height: 5px;
    background: #ffffff;
    outline: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

/* Custom thumb (handle) for WebKit browsers (Chrome, Safari) */
#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #2bb2a6; 
    border-radius: 50%;
    cursor: pointer;
}

/* Custom thumb (handle) for Firefox */
#progress-bar::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #2bb2a6;
    border-radius: 50%;
    cursor: pointer;
}

