The world is more diverse than Europe being just one type of white, Africa just being black, and Asia just being Chinese.
North Africans are basically Mediterranean Europeans mixed with Arab and a little bit of west/east African. Iberians (Spaniards/Portuguese) have very similar DNA to Moroccans. Greece and Turkey have very similar DNA. Although most people will assume that Turkey is in the middle east, rather than it being in west Asia. Greece and Rome colonized North Africa during the height of their empires. Intermixed with people's around the meditteranean.
Mediterraneans: Tend to have different mixtures of North African, Arabic, West Asian, and Jewish.
If you look at the map in my sources, you will see how many groups mixed up to create the people of said countries. Every European identity is unique.