body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    background-color: #111;
    width: 100%;
    height: 100%;
}

.joystick-base {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none; /* Prevent default touch actions like scrolling */
}

.joystick-stick {
    width: 50px;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.6);
    border-radius: 50%;
}

#joystick-left {
    left: 15%;
    bottom: 15%;
    transform: translate(-50%, -50%);
}

#joystick-right {
    right: 15%;
    bottom: 15%;
    transform: translate(50%, -50%);
}