#stickyNav { font-size: 1rem; display: flex; flex-direction: column; justify-content: right; position: fixed; top: 12vh; background-color: rgba(0, 0, 0, 0); padding: 10px; z-index: 1000; /* Ensure it stays on top of other content */ max-width: fit-content; right: 0; } #stickyNav a { padding: 5px 15px ; text-decoration: none; background-color: var(--tabs-color); color: var(--tabs-font-color); border-top: 1px solid var(--tabs-font-color); opacity: 1; transition: opacity 0.5s, transform 0.5s; } #stickyNav a:first-child { border-top: 0px; border-radius: var(--border-radius) var(--border-radius) 0 0; } #stickyNav a:nth-last-child(2) { border-radius: 0 0 var(--border-radius) 0; } #stickyNav a:hover { background-color: var(--tabs-nav-int); color: var(--high-contrast-front); } .nav-toggle { background: var(--tabs-color); border-top: 1px solid var(--tabs-font-color); color: var(--tabs-font-color); cursor: pointer; width: 50%; height: auto; border-radius: 0 0 var(--border-radius) var(--border-radius); transform: translateX(0); transition: transform 0.5s; } .nav-toggle:hover { background-color: var(--tabs-nav-int); } .newsYear > h1 { color: rgb(var(--high-contrast-font)); font-size: 1.7em; text-align: center; }