#volumeDisplay {
    gap: 5px;
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 15px;
    text-align: center;
    z-index: 1;
    box-sizing: border-box;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    #volumeDisplay {
        width: auto;
        max-width: 90vw;
        font-size: 12px;
        padding: 0.25em 0.75em;
        top: 0.75rem;
    }
}
