Story highlights

Serbia 0-2 Brazil

Switzerland 2-2 Costa Rica

Brazil, Switzerland progress

CNN  — 

There were no World Cup shocks in Moscow as Brazil secured a 2-0 win against Serbia to progress to the knockout stages as Group E winners.

After Germany’s surprise exit from the competition earlier on Wednesday all eyes turned to Brazil, another World Cup heavyweight with its progress not yet secured and one keen on making amends for their 7-1 World Cup semifinal thumping to the Germans four years ago on home soil.

The minimum needed from the Brazilians at the Spartak Stadium to make sure of their place in the next round was a draw.

Goals in either half from Paulinho and Thiago Silva ensured the five-time champions added three points to their tally to top the group and set up a last-16 tie against Mexico.

Neymar had chances to add a third for Brazil.

READ: Germany out of World Cup

Serbia had their moments, but Brazil had too much creativity and firepower in the final third to put their continued participation in this competition in doubt.

The Serbians were far from overwhelmed in the first half and while the attacking triumvirate of Neymar, Philippe Coutinho and Gabriel Jesus occasionally threatened, they did not terrorize. Instead, defensive errors proved to be Serbia’s downfall.

In the 35th minute, a delightful Coutinho pass over the top of Serbia’s defence found Paulinho galloping through the middle and the midfielder converted from close range for his first goal of the competition.

It was a strike which eased Brazilian nerves and left Serbia needing two goals if they were to stay in the competition.

The Serbians looked dangerous on the counterattack and in the second half they had opportunities against a sometimes unconvincing Brazilian defense.

Aleksandar Mitrovic, whose overhead kick in the first half sailed over the crossbar, headed a rebounded Alisson save straight at Silva when in the six-yard box.

The striker had another opportunity in the 64th minute, but his close range downward header was caught comfortably by Brazil’s goalkeeper.

Mitrovic’s profligacy proved to be costly. Despite Serbia being in the ascendancy, Brazil doubled their advantage when Silva headed Neymar’s corner in at the near post.

Visit CNN.com/sport for more news, features and videos

The header punctured Serbia’s hopes and from there on it was a question of how many Brazil would score and were it not for Vladimir Stojkovic twice saving efforts from Neymar at point-blank range it could have been a heavier defeat for the Serbians whose World Cup is now over.

- Source: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/170707010543-dante-worst-loss-ever-tease.jpg?q=x_5,y_251,h_2767,w_4917,c_crop/h_540,w_960" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/170707010543-dante-worst-loss-ever-tease.jpg?q=x_5,y_251,h_2767,w_4917,c_crop/h_540,w_960" } }" data-vr-video="false" data-show-html="" data-byline-html="
" data-timestamp-html="
Updated 5:18 PM EDT, Wed June 27, 2018
" data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2017-07-07T11:59:36Z" data-video-section="sport" data-canonical-url="https://www.cnn.com/videos/sports/2017/07/07/dante-brazil-worst-loss-ever-germany-2014-fifa-world-cup-orig.cnn" data-branding-key="" data-video-slug="dante brazil worst loss ever germany 2014 fifa world cup orig" data-first-publish-slug="dante brazil worst loss ever germany 2014 fifa world cup orig" data-video-tags="2014 fifa world cup,brazil,europe,fifa,fifa world cup,football (soccer),germany,latin america,ligue 1,ogc nice,soccer events,south america,sports and recreation,sports events,sports organizations and teams,western europe" data-details="">
BELO HORIZONTE, BRAZIL - JULY 08:  A dejected Dante  of Brazil reacts after being defeated by Germany 7-1 during the 2014 FIFA World Cup Brazil Semi Final match between Brazil and Germany at Estadio Mineirao on July 8, 2014 in Belo Horizonte, Brazil.  (Photo by Martin Rose/Getty Images)
Dante on Brazil's 7-1 defeat to Germany
02:09 - Source: CNN

Swiss qualify

Switzerland qualified for the knockout stages of Russia 2018 as Group E runner-up, scrapping to an entertaining 2-2 draw against already-eliminated Costa Rica and will now face Sweden on Tuesday.

Despite not being assured of a place in the last 16 ahead of kick-off, the Swiss started sluggishly and had goalkeeper Yann Sommer to thank for keeping the scores level in the first half.

READ: Swiss keeper cooks up a storm with food blog

Without nerves and with nothing to play for, Costa Rica were playing the kind of entertaining football which saw the team reach the quarterfinals in Brazil.

Bryan Oviedo delivered an early, teasing cross into the box and Celso Borges’ header looked destined for the back of the net, but Yann Sommer got down quickly to tip it onto the post.

Xherdan Shaqiri was robbed of the ball soon after, dawdling in possession as Daniel Colindres pounced and curled a wonderful effort over Sommer but saw his strike hit the underside of the crossbar.

Sommer was again called into action minutes later, tipping Colindres’ goal bound effort around the post and out for a corner.

But for all of Costa Rica’s early pressing, it was Switzerland who would take the lead. Shaqiri’s cross into the box was headed down by Breel Embolo and Blerim Zemaili pounced on the loose ball and hammered his strike past Keylor Navas.

Undeterred by that setback late in the first half, Costa Rica pressed on and got their reward just 10 minutes after the restart.

Kendall Waston rose highest in the penalty area to expertly nod Joel Campbell’s corner past Sommer’s outstretched fingertips and spark jubilant scenes on the bench and in the stands.

- Source: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/180624133009-bora-milutinovic-shares-secrets-to-career-success-00000000.jpg?q=x_0,y_0,h_1080,w_1919,c_fill/h_540,w_960" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/180624133009-bora-milutinovic-shares-secrets-to-career-success-00000000.jpg?q=x_0,y_0,h_1080,w_1919,c_fill/h_540,w_960" } }" data-vr-video="false" data-show-html="" data-byline-html="
" data-timestamp-html="
Updated 5:18 PM EDT, Wed June 27, 2018
" data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2018-06-24T17:50:54Z" data-video-section="tv" data-canonical-url="https://www.cnn.com/videos/tv/2018/06/24/bora-milutinovic-shares-secrets-to-career-success.cnn" data-branding-key="" data-video-slug="Bora Milutinovic shares secrets to career success" data-first-publish-slug="Bora Milutinovic shares secrets to career success" data-video-tags="employment search,europe,fifa,fifa world cup,football (soccer),labor and employment,serbia,soccer events,southern europe,sports and recreation,sports events,sports organizations and teams" data-details="">
Bora Milutinovic shares secrets to career success_00000000.jpg
Bora Milutinovic shares secrets to career success
02:27 - Source: CNN

READ: Maradona ‘fine’ after health scare

That goal was Costa Rica’s first at Russia 2018 and meant that all 32 teams at this World Cup have now scored at least once.

In the end, the goal meant little but Costa Rica’s bench and the fans in the stand celebrated wildly.

As the match entered the final few minutes and appeared to be petering out into a draw, substitute Josip Drmic appeared at the far post to delightfully steer Denis Zakaria’s low cross into the far corner.

Costa Rica was then awarded two penalties in stoppage time; the first overturned correctly by VAR, the second scored by Bryan Ruiz – via the crossbar and the back of Sommer’s head.

If Los Ticos failed to reproduce the memorable moments that saw them reach the quarterfinals in Brazil four years ago, but at least they now have a small memento to take home from Russia.