Estonia 's economy slowed down markedly and fell sharply into recession in mid-2008 , primarily as a result of an investment and consumption slump following the bursting of the real estate market bubble .