Braking issue

So yesterday I was out riding my 2008 sportsman 500, it has brand new brake pads and I bled the brakes about two months ago. But yesterday as I’m riding I slowly lost a little brake pressure and my lever had a little more slack then usual. Then I go to hit them again and I have no pressure at all and the piston on the lever couldn’t of stuck cause my fronts were not engaging. Then a couple minutes later I had more pressure then I ever had and it was super touchy. Then about an hour later only my left front would engage, and now its like nothing happened! Any ideas what this could be?