Spain was awarded the penalty kick after Marcelo fouled Jesus Navas inside the area. Ramos, who skied a penalty kick for Real Madrid against Bayern Munich in the 2012 Champions League semifinals, sent this one wide.
Spain’s best chance before the penalty came with Pedro Rodriguez in the 41st, when he entered the area clear from defenders on a breakaway. His low shot beat goalkeeper Julio Cesar, but David Luiz came rushing in and slid in front of the goal line just in time to deflect the ball over the crossbar.
There were protests outside the stadium during the match, with police using rubber bullets and tear gas to keep demonstrators from getting too close. A wave of anti-government protests has swept across Brazil in recent weeks, and many affected the Confederations Cup host cities as demonstrators complained of the costs of hosting the World Cup.
On the field, it was a heated match from the start, with players from both teams pushing and shoving each other a few times. Even the substitutes got into a shouting match.
‘‘We played a very good match,’’ Scolari said. ‘‘It allows us to have a better idea about the path ahead of us.’’
___
Follow Tales Azzoni at http://twitter.com/tazzoni






