.layout { display: flex; flex-direction: column; min-height: 100dvh; } .layout main { flex-grow: 1; }