body {
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: black;
    container-type: inline-size;
    font-family: "Dongle", sans-serif;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
/*
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}

#container {
    display: inline-flex;
    aspect-ratio: 3/2;
    width: min(100cqw, 100cqh * 3/2);
    background-color: #313131;
    max-width: 1600px;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

#foreground {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 998;
    background-image: url('../assets/bg/fg.png');
    background-size: contain;
    pointer-events: none;
}

#stage {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

#controls {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    z-index: 999;
}


#background {
    height: 100%;
    width: 300%;
    display: flex;
    z-index: 1;
}

.scene {
    height: 100%;
    width: 100cqw;
    background-size: cover;
    position: relative;
}

#curtains {
    width: 100%;
    height: 100%;
    background-image: url('../assets/bg/curtains.png');
    background-size: contain;
    position: absolute;
    top: 0%;
    z-index: 2;
    transform-origin: center top;
}

#backdrop {
    background-image: url('../assets/bg/scene.png');
    background-size: contain;
    height: 100%;
    width: 400cqw;
    position: absolute;
    z-index: 0;
}

.character {
    height: 25%;
    width: fit-content;
    transform-origin: center bottom;
    position: absolute;
}

.character img {
    height: 100%;
}

#sound {
    height: 100%;
    display: inline-flex;
    width: 20cqw;
    padding-left: 1cqw;
    align-items: flex-end;
    justify-content: center;
}

#speaker-icon {
    height: 2cqh;
    pointer-events: none;
}

#volume {
    width: 100%;
    margin-bottom: 0.6cqh;

    -webkit-appearance: none;
    height: 0.8cqh;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#volume:hover {
  opacity: 1;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 20px;
  margin-bottom: 0.5cqh;
  border: 0;
  background: url('../assets/bg/music_note.png');
  background-size: cover;
  cursor: pointer;
}

#volume::-moz-range-thumb {
  width: 12px;
  height: 20px;
  margin-bottom: 0.5cqh;
  border: 0;
  background: url('../assets/bg/music_note.png');
  background-size: cover;
  cursor: pointer;
}

#mistreil {
    height: 100%;
}

#mistreil img {
    position: absolute;
    bottom: 10%;
    height: 25%;
}

#programme {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: beige;
    font-size: 2cqw;
    width: 50cqw;
    height: 700%;
    overflow: auto;
    opacity: 50%;
    background-image: url(../assets/bg/programme.png);
    background-size: cover;
    box-shadow: 0 0 5px black;
}

.header {
    font-size: 2em;
    font-family: "Mea Culpa", cursive;
}

#character-list {
    width: 95%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.character-credit {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 20%;
    margin: 1cqw;
    text-align: center;
    line-height: 0.8em;
}

.character-credit img {
    max-height: 4em;
}
#roses {
    width: 20cqw;
}

#programme a {
    text-decoration: unset;
    color: #0000009c;
}


.character-credit a {
    font-size: 0.8em;
    color: #0000009c;
    text-decoration: unset;
}


p {
    margin: 0px;
}