
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.progress {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    margin: 10px 0;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: green;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1abc9c;
    cursor: pointer;
}

/* Container for the media player */
.audio-player {
    width: auto;
    margin: 50px auto;
    margin-top: 25px;
    background-color: #2c3e50;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
}

/* Control buttons container */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons styling */
.controls button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

/* Button hover effect */
.controls button:hover {
    transform: scale(1.2);
}

/* Button press effect */
.controls button:active img {
    filter: invert(50%) sepia(1) saturate(5) hue-rotate(170deg);
}

/* Image icons inside buttons */
.controls img {
    width: 40px;
    height: 40px;
    filter: invert(100%);
    /* Makes icons white */
}

/* audio player format size for the exhibits page*/
#container .audio-player {
    max-width: 350px;
}

/* stop button format*/
.stop-button {
    margin-right: 250px;
    margin-top: -35px;
    filter: invert(100%);
}

.controls button, .stop-button button {
    background: none;
    border: none;
    cursor: pointer;
}

.controls img, .stop-button img {
    width: 30px;
    height: 30px;
}

/* replay button format*/
.replay-button {
    margin-left: 250px;
    margin-bottom: -15px;
    margin-top: -35px;
    filter: invert(100%);
}

.controls button, .replay-button button {
    background: none;
    border: none;
    cursor: pointer;
}

.controls img, .replay-button img {
    width: 30px;
    height: 30px;
}

/*_________________________________________________________*/

#current-time, #total-time {
    margin-top: 10px;
}

/*aligning the time with the bar*/
#current-time1,#current-time2, #current-time3, #current-time4, #current-time5, #current-time6, #current-time7, #current-time8, #current-time9, #current-time10 {
    text-align: left;
}

#total-time1, #total-time2, #total-time3, #total-time4, #total-time5, #total-time6, #total-time7, #total-time8, #total-time9, #total-time10 {
    text-align: right;
    margin-top: -25px;
}

#audio-title-gr, #audio-title-en{
    font-size: 24px;
}


/* Adjust size for small screens */
@media (max-width: 576px) {

    .controls img {
        width: 35px;
        height: 35px;
        filter: invert(100%);
        margin-top: 30px;
        /* Makes icons white */
    }

    .controls img, .replay-button img {
        width: 35px;
        height: 35px;
        margin-left: -10px;
    }

    .controls img, .stop-button img {
        width: 35px;
        height: 35px;
        margin-right: -10px;
    }

  }
