body {
    background: black;
    margin: 0;
    overflow: hidden;
    font-family: monospace;
    font-size: 1vw;
    color: white;
    
    user-select: none;
    -webkit-user-select: none; /* Pour la compatibilité avec certains navigateurs WebKit (comme Chrome et Safari) */
    -moz-user-select: none; /* Pour la compatibilité avec Firefox */
    -ms-user-select: none; /* Pour la compatibilité avec Microsoft Edge */
}

H1.title {
    text-align: center;
    font-weight: normal;
    margin: 0;
    padding: 0 0.25em;
    border-bottom: 0.1em solid white;
    background: green;
}

#mire {
    position: absolute;
    top: 47.5vh;
    left: 47.5vw;
    width: 5vw;
    height: 5vh;
    line-height: 5vh;
    text-align: center;
    font-weight: 100;
    display: none;
}

#stats {
    display: none;
    position: absolute;
    margin: auto;
    left: 35vw;
    width: 30vw;
    height: 20vh;
    top: 30vh;
    border: 0.1em solid white;
}

#stats.visible {
    display: inline-block;
}

#stats table tr td {
    padding: 0.25em 0.5em;
    min-width: 3.5em
}

#commandes {
    position: absolute;
    /*display: inline-flex;*/
    top: 0;
    left: 0;
    width: 100vw;
    padding: 0;
    /*background: green;*/
    font-size: 2em;
}

#commandes .commande {
    margin: 0.25em 0 0 0;
    display: inline-block;
    text-align: center;
}

#commandes .label {
    width: 5em;
    text-align: right;
    display: inline-block;
    position: relative;
    line-height: 1.5em;
}

#commandes .value {
    display: inline-block;
    position: relative;
    width: 4em;
}

#commandes .value span {
    margin: 0 0.1em;
}

.cursor-slide {
    width: 12em;
    display: inline-block;
    position: relative;
    text-align: center;
    height: 2em;
    line-height: 2em;
    margin: 0;
    cursor: w-resize;
    text-shadow: 0.1em 0.1em 0.3em darkgreen;
    background: url('../src/images/pixel.png') repeat-x center;
}

.cursor-slide .cursor {
    display: inline-block;
    left: 50%;
    position: absolute;
    /*background: green;*/
    background: url('../src/images/disque.png') no-repeat 0.05em center transparent;
    background-size: 0.6em 0.6em;
    font-size: 1.6em;
    line-height: 1.25em;
    margin-left: -0.333em;
}

#play {
    width: 1.25em;
    height: 1.25em;
    text-align: center;
    border: 0.05em solid white;
    border-radius: 50%;
    box-shadow: 0.05em 0.05em 0.15em darkgreen;
    cursor: pointer;
    font-size: 8em;
    font-weight: bold;
    margin: auto;
    transition: background-color 0.1s ease;
    line-height: 1.25em;
}

.option {
    position: fixed;
    bottom: 0;
    margin: 0.5em;
    width: 4em;
    height: 4em;
    line-height: 4em;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

.buttons {
    position: absolute;
    width: 100%;
    top: 5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons input,
.commande input {
    height: 2em;
    line-height: 2em;
    border-radius: 0.5em;
    font-size: inherit;
    text-align: center;
    width: 5em;
    display: inline-block;
    margin: 0 0.5em;
    border-style: solid;
}

.commande .button {
    display: inline-block;
    text-align: center;
    width: 4.75em;
    height: 2em;
    line-height: 2em;
    margin: 0.25em;
    padding: 0;
    cursor: pointer;
    border-radius: 0.5em;
    box-shadow: 0.1em 0.1em 0.3em darkgreen;
}

#commandes .commande[name="cam-ctrl"] {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    float: right;
    margin: 0.5em;
}

.commande .button.half-size {
    width: 2em;
}

.commande .label {
    display: inline-block;
    margin: 0 0.25em;
}

.button {
    border: 0.125em solid white;
    background-color: black;
}

.button:hover {
    background-color: white;
    color: black;
}

.button.sel {
    background-color: white;
    color: green;
}

.radio-btn .button {
    display: none;
}

.radio-btn .button.sel {
    display: inline-block;
}

.notif {
    font-size: 0.75em;
    color: white;
    position: absolute;
    bottom: 0em;
    margin: 0em;
    width: 50%;
    text-align: center;
    font-weight: normal;
    background: green;
}

.notif ul {
    padding: 0 1em;
}

.notif ul li {
    margin-left: 1em;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.25; }
  100% { opacity: 1; }
}

.infobox {
    line-height: 2.5em;
    margin: 1em;
    position: absolute;
    background: darkgreen;
    padding: 0 1em;
    border: 0.2em solid white;
    border-radius: 0.5em;
    text-align: center;
    animation: blink 1s infinite;
}

@media (orientation: portrait) {
    body {
        font-size: 2vw;
    }
    #commandes {
        display: inline-block;
    }
}