How did humanism influence art and writing during the Renaissance?