#custom-audio-player {
    text-align: center;
    position: relative;
    height: auto;
}

#custom-audio-player .now-playing {
    font-size: 15px;
    color: white;
    margin-top: 10px; /* Adjust this value to move it further down */
    margin-bottom: -10px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth transition for fade-in and fade-out */
}


.song-title {
    font-size: 30px;
    margin-bottom: -10px;
    color: white;
    opacity: 0; /* Initially hidden */
    transition: all 0.3s ease;
}

#custom-audio-player .player-wrapper {
    position: relative;
    display: inline-block;
}

#main-image-container {
    width: 280px;
    height: 280px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

#main-image-container img,
#main-image-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.6s;
}

#custom-audio-player #prev-button, 
#custom-audio-player #next-button {
    position: absolute;
    top: 42.5%;
    width: 25px;
    height: auto;
    cursor: pointer;
    transform: translateY(-50%);
}

#custom-audio-player #prev-button {
    left: -35px;
}

#custom-audio-player #next-button {
    right: -35px;
}

#custom-audio-player #play-button {
    display: block;
    margin: 10px auto;
    width: 40px;
    height: auto;
    cursor: pointer;
    margin-top: -5px; /* Adjust this value to move it further up */
    margin-bottom: 30px;
}

.slide-in-left {
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    animation: slideInRight 1s forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}