02:53
Two-day strike against Maduro begins in Venezuela
Caracas CNNMoney —  

Venezuela is running out of food. Hospitals are overcrowded with sick children while doctors don’t have enough medicine or X-ray machines. Electricity isn’t guaranteed.

About the only thing Venezuela has in abundance is chaos.

The economy has spiraled toward collapse, and a humanitarian crisis has plunged hordes into needless sickness and starvation.

The country is also in the grip of a political crisis. The referendum on Sunday called by President Nicolas Maduro could erode the last vestiges of democracy.

The vote would allow him to rewrite the constitution and replace the National Assembly, which is controlled by the opposition, with an entirely new legislative body filled with his hand-picked nominees.

Venezuela was once the richest country in Latin America. Here’s how it fell apart.

Related: Live Updates from Venezuela

Venezuela’s economy: ‘It’s at the point of no return’

Venezuela holds the world’s largest supply of crude oil – what once seemed like an endless gusher of cash. Now the government is running out of money, prices are soaring, and nobody knows how much worse it will get.

Venezuela was a powerhouse of South America in the 1990s. Former President Bill Clinton made it his first stop on a trip to the region in 1997.

But inequality grew extreme. A small elite class controlled everything while the increasingly impoverished masses fumed.

The country turned toward socialism in 1999 and elected Hugo Chavez president. He championed populism, cut ties with the United States and cozied up to China and Russia, both of which loaned Venezuela billions. Chavez ruled until his death in 2013, and is still seen today as a hero for the poor.

Related: Venezuelans lose weight as food shortages worsen

But his government far overspent on welfare programs, and it fixed prices for everything. It declared farmlands state property and then abandoned them, and instead made the nation dependent on selling its oil abroad.

Before he died, Chavez picked Maduro to succeed him, and Maduro kept up the regime’s practices. His administration also stopped publishing any reliable statistics, including on economic growth and inflation. It accepted millions in bribes for construction projects and racked up debts that it is still struggling to pay.

Meanwhile, the only commodity Venezuela had left began to plunge in value.

In 2014, the price of oil was about $100 a barrel. Then several countries started to pump too much oil as previously inaccessible oil could be dredged up with new drilling technology. At the same time, businesses globally weren’t buying more gasoline. Too much oil caused the global price to drop to $26 in 2016.

Today it hovers around $50, which means Venezuela’s income has been cut in half.

Related: Trump could hit Venezuela where it hurts: Oil

With oil prices low and the government’s cash dwindling, price controls have become a huge problem. The state still subsidizes food far below normal prices to appease the poor. Maduro has printed money at breakneck speed, and the bolivar has plunged in value, wiping out jobs and income.

At the same time, Maduro’s hostility to foreign business has created a corporate exodus. Pepsi (PEP), General Motors (GM)and United (UAL) are just some of the companies that have cut back or left entirely. Unemployment in Venezuela this year could reach 25%, according to the International Monetary Fund.

Inflation is only getting worse. In 2010, one American dollar was worth about eight bolivars. Today it’s worth over 8,000 bolivars, according to the unofficial exchange rate, which many Venezuelans use because government rates are considered far overvalued. Prices could rise an astounding 2,000% next year.

To keep up, Maduro has raised the minimum wage