        /* CSS existant */
        body {
            margin: 0;
            background-color: #000;
            color: #fff;
            font-family: Monospace;
            font-size: 13px;
            line-height: 24px;
            overscroll-behavior: none;
            overflow: hidden;
            touch-action: none;
        }

        #stats-container {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 100;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px 10px;
            border-radius: 0 0 5px 0;
            font-family: Arial, sans-serif;
            font-size: 12px;
            color: white;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        #fps-display {
            color: #0f0;
        }

        #mem-display {
            color: #f0f;
        }

        #presentoire {
            color: red;
            text-align: center;
        }

        a {
            color: #ff0;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        button {
            cursor: pointer;
            text-transform: uppercase;
        }

        #info {
            position: absolute;
            top: 0px;
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
            text-align: center;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none;
            pointer-events: none;
            z-index: 1;
        }

        a, button, input, select {
            pointer-events: auto;
        }

        .lil-gui {
            z-index: 2 !important;
        }

        @media all and (max-width: 640px) {
            .lil-gui.root {
                right: auto;
                top: auto;
                max-height: 50%;
                max-width: 80%;
                bottom: 0;
                left: 0;
            }
        }

        #overlay {
            position: absolute;
            font-size: 16px;
            z-index: 2;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.7);
        }

        #overlay button {
            background: transparent;
            border: 0;
            border: 1px solid rgb(255, 255, 255);
            border-radius: 4px;
            color: #ffffff;
            padding: 12px 18px;
            text-transform: uppercase;
            cursor: pointer;
        }

        #notSupported {
            width: 50%;
            margin: auto;
            background-color: #f00;
            margin-top: 20px;
            padding: 10px;
        }

        /* CSS pour le menu glissant */
.toggle-menu-btn {
    position: fixed;
    top: 50%; /* Centre verticalement */
    right: 0; /* Place le bouton tout à droite */
    transform: translateY(-50%); /* Décale verticalement pour un centrage parfait */
    z-index: 1000;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}




.sliding-menu {
    position: fixed;
    top: 0;
    right: -20%; /* Positionne le menu à droite, hors de l'écran */
    width: 20%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 999;
    transition: right 0.3s ease; /* Animation sur la propriété 'right' */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); /* Ombre à gauche */
}

.sliding-menu.active {
    right: 0; /* Affiche le menu en le ramenant à droite */
}


        .menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .menu-title {
            font-size: 18px;
            font-weight: bold;
        }

        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        .menu-content {
            padding: 10px;
        }

        .menu-item {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .menu-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }
