Both assistant referees, Leal and Lopez had problem with offside on this match. In 20th minute mr Lopez made a wrong call: offside for Spain, totally incorrect, player was at least 1.5 meters onside. One more offside wrong on mr Lopez side later. But what a mistake mr Leal made, I still don't believe it. Brazilian first goal was clear offside: Brazilian player shot on goal, the ball hit the crossbar and rebounded to Willian who was in offside position (half meter at least). I don't know how mr Leal didn't see that.
He was ok. Foul detection was ok, he whistled 24 fouls, mostly correct, I wouldn't whistle 3 of them. All 4 yellows were for fouls, cards ok, no problems. He was close to the ball during all 120 minutes, good fitness.