Which phrase best defines mood in literature?

the location of a story

the atmosphere of a story

the attitude of the writer

the traits of the characters