How did the humanist mindset differ from the medieval mindset?