:root { --numBoxes: 2; --numRows: 2; } body { background-color: black; font-family: "Asap", "Calibri", "Arial", sans-serif; font-size: 150%; margin: 0; color: white; } nav ul { list-style-type: none; margin: 0; padding: 0; width: 200px; background-color: #333; position: fixed; top: 0; left: 0; height: 100%; overflow-y: auto; } nav li { border-top: none; } nav li.top { border-style: solid; border-radius: 5px; border-color: white; margin: 10px; text-align: center; } nav a.top:hover { background: transparent; } nav li.start a { border-top: 3px solid white; margin-top: 20px; padding-top: 30px; } nav a.selected { color: red; } nav li.top.selected { border-color: red; } nav li a.selected { background-color: black; } nav li a { display: block; color: white; padding: 12px 16px; text-decoration: none; } nav li a:hover { background-color: red; color: black; } nav li .bottom { position: absolute; bottom: 0; width: 200px; } .cs1 { margin-left: 220px; padding: 20px; } .cs { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 20px; } a { color: white; font-size: 110%; } .container { display: flex; flex-direction: column; } /* Reihen */ .row { display: flex; justify-content: space-evenly; margin-bottom: 10px; } .box { width: calc(100%/var(--numBoxes)); height: 300px; border: 5px solid red; margin: 7px; border-radius: 10px; } .box:hover { transform: scale(101%); } .cs1 h1 { margin-left: 0; } .notification-icon { position: fixed; top: 10px; right: 10px; width:50px; } .space { width: 1%; } .footerdiv { position: absolute; width: 100%; justify-content: right; bottom: 10px; right: 10px; font-size: 80%; display: flex; } a.footer { color: white; text-decoration: none; } a.footer:hover { font-weight: 600; } input { width: 150px; height: 50px } input[type=url], input[type=email], input[type=password] { width: 500px; } select { width: 200px; height: 50px }