Morocco is a country located in the northwestern corner of Africa, specifically in the Maghreb region of North Africa. It is positioned at the crossroads of the Northern and Western Hemispheres. Geographically, Morocco has coastlines along both the Atlantic Ocean to the west and the Mediterranean Sea to the north. It shares land borders with Algeria to the east, the disputed territory of Western Sahara to the south, and Spain through its enclaves of Ceuta and Melilla on the northern coast. The Strait of Gibraltar separates Morocco from Spain by only about 8.6 miles (14 km), making Morocco just south of Europe
. Key geographic features include the Atlas Mountains running through the central part of the country, the Rif Mountains to the north, and the Sahara Desert covering the southeastern region. Morocco's capital city is Rabat, and its largest city is Casablanca