Il Decameron and Poe
It occurred to me that this movie has some similarities with Il Decameron and Poe's 'The Masque of the Red Death.' In all three works, there's an epidemics destroying the country, and the stories are about the elites who run away, who isolate themselves. Obviously this movie is closer to Poe's story because of the element of death in it, and the moral that not even the rich can escape it, as the ending of the movie shows.
This world is a comedy to those that think, a tragedy to those that feel.