They engaged in pointless wars across europe and couldn't sustain their military forces and effectively bankrupted themselves in the mid to late 1500's
Yep cocoa . The Spanish put all there energy into planting cocoa trees in there colonies, thinking they would have a monopoly in the west , but as seeds became available , other countries began to plant them therefore no longer needing Spain to supply.
Italian astronomer Galileo Galilei (1564 1642), who, according to legend, muttered the phrase eppur si muove, meaning "And yet it does move", after being forced to recant, in front of the Inquisition, his belief that the earth moved around the sun.