rt in the top half
            vx: 0,
            vy: 0,
          });
        }
        // Create obstacles
        levelConfig.obstacles.forEach((obs) => {
          const obstacleElement = document.createElement("div");
          obstacleElement.className = "obstacle " + obs.type;
          obstacleElement.style.width = obs.width + "px";
          obstacleElement.style.height = obs.height + "px";
          obstacleElement.style.left = obs.x + "px";
          obstacleElement.style.top = obs.y + "px";
    