By the end of the Mesozoic era, the continents had rifted into nearly their present form