Which poetic device is represented in the following sentence?

As I lay on the beach pondering my next step, the stars above winked at me, offering encouragement.

A. imagery
B. onomatopoeia
C. personification
D. metaphor