Template for the typical centered layout?

I recall Kevin's responsive course on scrimba or perhaps a video provided a simple template/recipe for those typical website layout which goes like this:

1)
header
and
footer
occupy 100% of the viewport width,
main
meanwhile is centered and occupies only say 80% of the width
2)
main
also has a max width cap and can't grow beyond say 80rem

Does anyone know which video it was or perhaps know how he did it? Can't seem to recall any solution which doesn't involve me overengineering a grid on the
body
Was this page helpful?