The seas became trapped in low-lying areas and then evaporated, leaving salt beds up to  thick in some places.
As the seas got stuck in shallow depressions, they eventually dried out, resulting in salt deposits that were several layers deep in certain locations.