html{height:100%}body{display:flex;flex-direction:column;height:100%}header,.header{flex:0 0 auto}main,.main{flex:1 0 auto}footer,.footer{flex:0 0 auto}