@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&display=swap');

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-width: 530px;
    background-image: url(../../images/Frame\ 1.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FF6CA7;
}

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

}

/*---------Images-----------*/

.avion1 {
    position: absolute;
    top: 75px;
    right: 55%;
}

.avion2 {
    position: absolute;
    top: 450px;
    right: 45%;
}

/*---------Typo----------*/
h1 {
    color: white;
    font-family: "Libre Bodoni", serif;
    font-style: italic;
    font-weight: 200;
    font-size: 48px;
    margin: 2px;
}

#magenta {
    padding-left: 100px;
}

/*-------bouton------*/

button {
    background-color: #dddddd00;
    border: 0;
    padding: .25rem 1rem;
    border-bottom: white solid;
    color: white;
    font-family: "Libre Bodoni", serif;
    font-style: italic;
}

button {
    display: flex;
    justify-content: center;
}

a {
    font-family: "Libre Bodoni", serif;
    font-style: italic;
    font-weight: 100;
    color: white;

}

h1 a {
    text-decoration: none;
}

a.lien-centre {
    font-size: 20px;
    position: fixed;
    top: 50%;
    right: 50%;
    /* trick CSS */
    transform: translateX(50%) translateY(-50%);
}


/*-------Video-------*/
video {
    display: block;
    width: auto;
    max-height: 50dvh;
    max-height: calc(100dvh - 222px - 90px);
    margin: auto;
    border: solid 3px #ffffff;
}

/* #region CONTROLS */
#video-controls {
    padding: 0;
    display: flex;
    flex-flow: row wrap;
}

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

/* #region progress */
.progress,
#progress {
    width: 100%;
    margin: 0;
}

.progress {
    position: relative;
}

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

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

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


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

.marker {
    cursor: pointer;
    border: 2px solid #ff74d1;
    background-color: #ffc8ed;
}



#handle {
    top: 0px;
    border-radius: 15px;
    width: 15px;
    height: 15px;
    border: 2px solid #e20096;
    background-color: #e20096;
    transform: translateX(-5px);
    z-index: 3;
    cursor: grab;

}

/* #endregion */

/* #region buttons */
/* reset default button */


/* ugly demo style */



/* #endregion */

/* #endregion */