The Caspian Sea is at its South Caspian Basin, like the Black Sea, a remnant of the ancient Paratethys Sea. Its seafloor is, therefore, a standard oceanic basalt and not a continental granite body. It is estimated to be about 30 million years old, and became landlocked in the Late Miocene, about 5.5 million years ago, due to tectonic uplift and a fall in sea level. The Caspian Sea was a comparatively small endorheic lake during the Pliocene, but its surface area increased fivefold around the time of the Pliocene-Pleistocene transition. During warm and dry climatic periods, the landlocked sea almost dried up, depositing evaporitic sediments like halite that were covered by wind-blown deposits and were sealed off as an evaporite sink when cool, wet climates refilled the basin. (Comparable evaporite beds underlie the Mediterranean.) Due to the current inflow of fresh water in the north, the Caspian Sea water is almost fresh in its northern portions, getting more brackish toward the south. It is most saline on the Iranian shore, where the catchment basin contributes little flow. Currently, the mean salinity of the Caspian is one third that of Earth's oceans. The Garabogazköl lagoon, which dried up when water flow from the main body of the Caspian was blocked in the 1980s but has since been restored, routinely exceeds oceanic salinity by a factor of 10.