Slovenia (c-enaudio=en-us-Slovenia, officially the Republic of Slovenia ( , -slreˈpublika sloˈveːnijaRepublika-slovenija, is a country in Central and Southeastern Europe touching the Alps and bordering the Mediterranean. Slovenia borders Italy to the west, Croatia to the south and east, Hungary to the northeast, and Austria to the north, and also has a small portion of coastline along the Adriatic Sea. It covers an area of 20273 km2 (20273000000 m2) and has a population of 2.05 million. The capital and largest city is Ljubljana.
Historically, the current territory of Slovenia was part of many different state formations, including the Roman Empire and the Holy Roman Empire, followed by the Habsburg Monarchy. In 1918, the Slovenes exercised self-determination for the first time by co-founding the internationally unrecognized State of Slovenes, Croats, and Serbs. During World War II, Slovenia was occupied and annexed by Germany, Italy, Hungary and Croatia only to emerge afterwards reunified with its western part as a founding member of the Socialist Federal Republic of Yugoslavia. In 1991, Slovenia declared full sovereignty. Today, Slovenia is a member of the European Union, the Eurozone, the Schengen area, NATO and OECD. Per capita, it is the richest Slavic nation-state, at 85.5% of the EU27 average GDP (PPP) per capita.
Culturally and demographically, Slovenia has been a border area throughout its history. Here, four linguistic and cultural groups of the continent have been meeting: Slavic, Germanic, Romance and Uralic. The population of Slovenia has become more diverse in regard to its language and ethnic composition through recent decades but is still relatively homogeneous. Approximately 83% of inhabitants considered themselves Slovenes in the 2002 census. Another major group are immigrants from the countries of Former Yugoslavia.
Slovenia is a largely secularised country; however, major religions are politically and legally privileged. Roman Catholicism is the most prevalent religion. The development of the Slovenian identity was also markedly influenced by Protestantism in the centuries past.