No continent lies directly north of Egypt. The Mediterranean Sea forms Egypt's entire northern boundary (~1,000 km coastline from Rafah to Sallum).
Across the sea, the nearest European territories are:
Egypt's Mediterranean orientation shaped its history: Hellenistic Ptolemaic dynasty, Roman/Byzantine province, Arab conquest via Sinai, Ottoman rule, British naval control (1882), modern trade (40%+ via Med ports), gas discoveries (Zohr field), migration routes, cultural exchange.
Maps often make Europe appear adjacent, but the Mediterranean is a genuine geographic, climatic, and cultural barrier — not a narrow strait. Egypt is African (Sinai excepted), with Mediterranean as its northern frontier.