For years, the rivalry on the pitch between Cristiano Ronaldo and Lionel Messi dominated world football.