body, html {
    height: 100%;
}
.container {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}
