How did romanticism compare to the idea of the enlightenment?