.controlButton#prevButton,
.controlButton#nextButton {
    margin-left: -20px;
    margin-right: -20px;
}

/* Style all control buttons to show only the image, no background, same size, centered */
.controlButton {
    width: 90px;
    height: 90px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}
.controlButton img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.controlButton:hover {
    transform: scale(1.08);
}
.alignmentPanel{
    display: flex;
    justify-content: center;
    height: 400px;
    width: 400px;
    margin: 50px auto;
    padding: 20px;
}

.backgroundImage{
    position: absolute;
    width: 250px;
    height: 450px;
    object-fit: cover;
    z-index: 0;
}

.contentPanel{
    position: relative;
    height: 450px;
    width: 250px;
}
.recordSprite img{
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    z-index: 1;
    animation: spin 5s linear infinite;
    animation-play-state: paused;
}

.recordSprite img.spinning {
    animation-play-state: running;
}

@keyframes spin {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}
.songInfo{
    font-family: 'Helevetica', sans-serif;
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #3d2f45;
    width: 100%;
    z-index: 1;
}

.songInfo h2{
    font-size: 24px;
    margin-bottom: 0;
}
.songInfo p{
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 0;
}
.ProgressBar{
    position: absolute;
    top: 340px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.progressSlider{
    width: 150%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: linear-gradient(to right, #400320 0%, #400320 0%, #ddd 0%, #ddd 100%);
    outline: none;
    border-radius: 5px;
}

/* Thumb (draggable circle) */
.progressSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #400320;
    cursor: pointer;
    border-radius: 50%;
    margin-top: -5px;
}

.progressSlider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #400320;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

/* Track (the bar) */
.progressSlider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 5px;
}

.progressSlider::-moz-range-track {
    height: 6px;
    background: #ddd;
    border-radius: 5px;
}

.progressSlider::-moz-range-progress {
    height: 6px;
    background: #400320;
    border-radius: 5px;
}

.controls{
    position: absolute;
    top: 340px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    z-index: 1;
}