It was the main entry point into Egypt until the advent of air travel in the early 20th century and its contact with a range of international influences made it the most cosmopolitan city in Egypt .
Egypt was entirely cut off from the rest of the world until the 20th century .