It would be better to do this with fewer selectors. Makes for less code and easier updates in media queries. Something like this should work:

```css
.container, footer {
    text-align: center;
}