What is atmosphere in literature?

1 the attitude of a text toward the subject and theme
2 the emotional response a text generates from a reader
3 the author’s opinion of the subject and the audience
4 the narrator’s perspective in relation to the characters