Which word in the sentence does the underlined phrase modify?
In the cool shade during the rain, we had a pleasant afternoon.
In the cool shade during the rain, we had a pleasant afternoon.