Two powerful 7.7 and 6.6 magnitude earthquakes and a series of aftershocks struck Panama on Friday afternoon, collapsing buildings near the epicentre and prompting evacuations across the country, the US Geological Survey said.