#wrapper * { box-sizing: border-box; padding: 0; margin: 0; } body { margin: 50px 0 0 100px; padding: 0; background-image: linear-gradient(90deg, #202020, #000000); background-color: #000000; /*color: #EEEEEE;*/ color: #eeeeee; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 16px; min-width: 800px; } p { word-wrap: break-word; } #page { margin: 0; padding: 15px 30px 30px 30px; position: relative; top: 0; /*This has to match hight of #nav_top so nav-top dosesnt overlap as its not in the same flow*/ right: 0; height: 100%; background-color: #101010; overflow: hidden; } #nav_top { margin: 0; padding: 0; top: 0; right: 0; left: 100px; position: fixed; height: 50px; background-image: linear-gradient(90deg, #202020, #000000); background-color: #202020; display: block; z-index: 1; min-width: 600px; border-bottom: 1px solid #000000; } #nav_top ul { margin: 0; padding: 0; height: inherit; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; } #nav_top ul li { margin: 0; padding: 0; height: inherit; text-decoration: none; list-style-type: none; text-align: left; vertical-align: middle; flex: 20px; font-weight: bold; display: flex; align-items: center; font-size: 120%; } #nav_top ul li:hover { background-color: #303030; } #nav_top ul li p { margin: 0; padding: 0 20px; } /* Sub-menu */ #nav_top ul li ul { display: none; /*change to none after debugging*/ position: absolute; top: 100%; height: fit-content; flex-direction: column; flex-wrap: nowrap; justify-content: left; align-items: left; } /*popup sub-menu*/ #nav_top ul li:hover > ul { display: inherit; } #nav_top ul li ul li { margin: 0; padding: 15px 0; width: 100%; display: flex; background-color: #303030; position: relative; text-decoration: none; list-style-type: none; text-align: left; vertical-align: middle; flex: 20px; font-weight: bold; display: flex; align-items: center; font-size: 80%; } #nav_top ul li ul li:hover { background-color: #404040; } #footer { margin: 0; height: 50px; justify-content: left; display: flex; align-items: center; position: relative; right: 0; bottom: 0; /*background-image: linear-gradient(90deg, #202020, #000000);*/ /*background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);*/ border-top: 1px solid #000000; } #footer p { font-weight: bold; font-size: 130%; margin: 20px; } #nav_left { margin: 0; top: 0; left: 0; height: 100%; width: 100px; position: fixed; background-color: #202020; z-index: 1; border-right: 1px solid #000000; } #nav_left ul { margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; width: inherit; align-items: center; bottom: 0; position: fixed; } #nav_left ul li { margin: 0; padding: 10px 0; height: inherit; width: 100%; text-decoration: none; list-style-type: none; text-align: center; flex: 20px; font-weight: bold; font-size: 100%; } #nav_left h1 { margin: 12px 0; padding: 0; text-align: center; writing-mode: vertical-lr; font-size: 50px; letter-spacing: 30px; } #nav_left p { margin: 10px 0; padding: 0; text-align: center; } #nav_left ul li:hover { background-color: #303030; }