This compact and strategically important country is dominated by mountains, rivers and major north–south and east–west transit routes. Slovenia borders Italy to the west, Austria to the north, Hungary to the northeast and Croatia to the southeast, with a 47km (30 mile) Adriatic Sea coastline, where the main port is Koper.