I believe it's 1. Formal language
The answer that i think is the best choice is b, a sense of moving forward without pauses for reflection
The meaning of this idiom is that you should never feel hopeless when times get hard or difficult because difficult times always lead to better days. The difficult times are like dark clouds that blocks the sun. When we look at the edges of the cloud more closely, we can see the sun shining there like a silver lining.
He wrote it because he was saying that America is a free country and that we should beable to see that we are very lucky to live here