.sidebar { /*height: 100%;*/ width: 10rem; position: fixed; z-index: 101; top: 4rem; left: 0; bottom: 0; background-color: rgb(132, 35, 35); overflow-x: hidden; box-shadow: 2px 2px 5px gray; display: flex; flex-direction: column; justify-content: space-between; padding: 0 0.5em 0.5em 0.5em; } @media (max-width: 810px) { .sidebar { display: none; } } .side-entry { margin: 1rem 0; font-size: 1.4rem; display: block; color: white; text-decoration: none; } .side-entry:hover { background-color: rgb(124, 33, 33); } .side-status { color: white; font-size: 1.2rem; }