html {
    font-size: 16px;
}

body {
    margin: 0;
    background-color: black;
 font-family: 'nebularegular';

}

@font-face {
    font-family: 'nebularegular';
    src: url('nebula-regular-webfont.woff2') format('woff2'),
         url('nebula-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

h1 {
    color: #FFBD08;
    text-align: center;
    text-transform: uppercase;
    font-size: 55px;
    
}

main {
    padding-top: 2dvh;
    max-width: 600px;
    margin: auto;
}

video {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-top: 1px solid #FFBD08;
    border-bottom: 1px solid #FFBD08;
    border: 2px solid #FFBD08;


}

/* #region CONTROLS */
#video-controls {
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    transform: translateY(-20px);
    justify-content: center; 

}

#video-controls li {
    list-style: none;
    margin: 0 .5rem .5rem 0;
    display: flex;
}

/* #region progress */
.progress,
#progress {
    width: 100%;
    margin: 0;
    padding-left: 5px;

}

.progress {
    position: relative;
    transform: translateY();
}

progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    height: 25px;
    border-radius: 15px;
}

/* progress bar background */
progress[value]::-webkit-progress-bar {
    background-color: #000000;
    border: 2px solid #FFBD08;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

/* progress bar progress */
progress[value]::-webkit-progress-value {
    background-color: #FFBD08;
    border: 2px solid #000000;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.33) inset;
}


.marker,
#handle {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 6px;
    background-color: #FFBD08;
    transform: rotate(45deg) translateX(-4px);
    z-index: 2;

}

.marker {
    cursor: pointer;
    border: 2px solid #000000;
}

#handle {
    top: 0px;
    width: 10px;
    height: 50px;
    border: 2px solid #000000;
    background-color: #FFBD08;
    transform: translateX(6px);
    transform: translateY(-15px);
    z-index: 3;
    cursor: grab;
}

/* #endregion */

/* #region buttons */
/* reset default button */
button {
    background-color: #ffffff;
    border: 0px solid #333;
    color: #333;
}

/* ugly demo style */
button {
    background-color: rgb(0, 0, 0);
    padding: .5rem .75rem;
    border-radius: 8px;
    color: #FFBD08;
}

/* button solo */

.time-display {
    position: absolute;
    top: -20px; /* monte le texte */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: 'Orbitron', sans-serif; /* ou ta police */
    font-size: 14px;
    color: #f5b60a;
    pointer-events: none; /* pas interactif */
    padding: 0px 10px
}

#totalTime {
    margin-right: 15px;
}

.progress {
    position: relative;
}

/* place les temps au-dessus de la timeline */


/* #endregion */

/* #endregion */