@charset "utf-8";


/* PLACEMANOÏDE — GAME 02 */

html, body  {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111111;
	  position: fixed;
    inset: 0;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}
/* Commandes tactiles : uniquement sur mobile */
#commandes-tactiles {
    display: none;
}

@media (pointer: coarse) {
    #commandes-tactiles {
        display: block;
        position: fixed;
        right: 25px;
        bottom: 35px;
        width: 150px;
        height: 150px;
        z-index: 1000;
        pointer-events: auto;
    }

    .croix-directionnelle {
        position: relative;
        width: 100%;
        height: 100%;
        opacity: 0.55;
		pointer-events: auto;
touch-action: none;
user-select: none;
    }

    .trait-vertical {
        position: absolute;
        width: 1px;
        height: 100%;
        background: white;
        left: 50%;
    }

    .trait-horizontal {
        position: absolute;
        height: 1px;
        width: 100%;
        background: white;
        top: 50%;
    }

    .centre-croix {
        position: absolute;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: white;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}