According to the Municipal Guard, fans clashed at the Fifa Fan Fest in Copacabana while policing was reinforced after a mass robbery, known as an arrastão or trawler.

A mounted police officer was also reportedly injured at the Fan Fest in Recife, a host city in the north-east of Brazil, after fans leaving early spooked one of the police horses and caused an officer to fall.

Meanwhile, at least one shop was ransacked and two buses set alight in São Paulo in the aftermath, according to Folha de São Paulo.

In Rio de Janeiro, bars, restaurants and the Fan Fest on Copacabana beach were emptying at half-time while the city’s metro network were packed as stunned fans made their way home.

Isabella Rocha, 22, was dressed in the colours of the Brazilian flag, with green, yellow and blue make-up.

“I’m embarrassed,” she said. “I wanted to go home and change my clothes.”

Max Montane, 25, an IT programmer from a suburb outside Rio, added: “Brazil gave up. It was really bad.

“We kept supporting them until the second goal but after three, four, five goals, we gave up.

“Five goals in 30 minutes – everyone just left. The metro was full of people.”

He blamed the absence of Brazil’s star striker Neymar, who was injured in the quarter-finals against Colombia, and Thiago Silva, who was suspended for a booking.

While fans watched the first half in disbelief, despair soon turned to apathy as fans began jeering ironically as the German goals continued.

But the biggest cheer was reserved for Oscar’s hardly consolatory goal at the end while fireworks were let off in spite of the defeat.

There were fears that disappointment and anger could turn violent but in the immediate aftermath, many fans simply fell silent.

“Brazil has won five titles, so for me that’s it. We can’t win them all,” said Marina Cabral, 27, who watched the match in a bar in the Botafogo neighbourhood of Rio.

“But seriously, seven goals is shameful. The whole team was the problem, it wasn’t just the lack of Neymar or Thiago Silva. The worst we expected was 2-0.”

And just as Germany rained on Brazil’s parade, the heavens opened in Rio ensuring any lingering party atmosphere was washed away.