BERLIN (Reuters) - Britain's decision to leave the European Union has increased economic risks for Germany but Europe's largest economy is in good shape, the Economy Ministry said on Tuesday.

It also said upward momentum in the German economy had weakened somewhat after a strong first quarter, pointing to weak industrial production in the middle of the second quarter.

"Subject to economic developments in the United Kingdom in particular, uncertainty after the vote could have negative effects on the economic situation in Germany," the ministry said in its monthly report.

"But the German economy is in a good state and has always managed to adapt to new situations," it added.

(Reporting by Michelle Martin and Madeline Chambers)