Have people forgotten that Spain was once one of the greatest powers in history?

Often when people talk about great powers, many logically talk about the UK, USA, China, France, Egypt etc. But Spain is rarely mentioned even though they literally had one of the greatest empires in history and owned large territories in Europe itself.

Nothing to do with that but I myself have Spanish origins through my grandparents, and I am surprised to see Spain not often mentioned.

For the anecdotes, the current King of Spain is descended from Louis XIV because at his time Louis XIV had put his grandson on the throne of the Spanish monarchy which caused a famous war, the war of succession of Spain.
Have people forgotten that Spain was once one of the greatest powers in history?
Have people forgotten that Spain was once one of the greatest powers in history?
Post Opinion