The Republic of Slovenia was the first to close their borders and declare independence from Yugoslavia. After 10 days of fighting, Slovenia became its own country in 1991. Now you know. Nearly the size of the U.S. state New Jersey, Slovenia’s riviera is the smallest of the former Yugoslav states at just 46,6 km. Now you know that, as well.