* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
}

.game-container {
    width: 100vw;
    height: 100vh;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.tire-tracks-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    pointer-events: none; /* Permet de cliquer à travers le canvas */
}

#car {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Le point d'origine est maintenant géré dynamiquement en JavaScript */
    z-index: 1000; /* S'assurer que la voiture est au-dessus de tout */
}

.controls-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 3px;
}
