body { display: flex; flex-direction: column; min-height: 100vh; } html { background-color: rgb(71, 68, 68); } div { color: white; } .menubalk a { float: left; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .menubalk a:hover { background-color: rgb(199, 71, 71); color: black; } .menubalk a.active { background-color: #aa0404; color: white; } .menubalk { background-color: #333; overflow: hidden; }