Slovenia is northwest of Italy and southeast is Croatia. It is not surprising that it is sandwiched between two powerful neighbors, but the problem is that the coastline of the two neighboring countries is surprisingly long, leaving only one branch for Slovenia. Port of Pell. In fact, the border between Italy and Croatia did not meet at Koper, otherwise Slovenia became a landlocked country. The existence of Koper not only gives Slovenia the opportunity to open to the sea, but also gives this mini-country a chance to survive.