#main-container { display: flex; flex-direction: column; position: relative; z-index: 1; min-height: 100vh; .site-main { flex-grow: 1; } }