Defending World Cup football champion Brazil has defeated Croatia , 1-0 , in the opening match for both teams in Germany .