speed1+=0.0002;
         item.style.top=item.y + "px";
    });
  }
  function moveenemy(car)
  {
    let lines=document.querySelectorAll(".enemy");
    lines.forEach(function(item)  {
        if(iscollide(car,item))
     {crash.play();
        music.pause();
      player.start=false;
      setTimeout(restart,2000);
    }
        if(item.y>600)
        {score1++;
        item.y-=645;
        item.style.left=(Math.random()*330 + 25) + "px";
        // pass.play();
        }
         item.y