header { background-color: var(--color-secondary-400); z-index: 10; position: fixed; inset-block-start: 0; inset-inline: 0; } header nav ul { flex-wrap: wrap; justify-content: flex-end; padding: 0; margin: 0; list-style: none; display: flex; } header nav li { text-align: end; margin: 0; padding: 6px clamp(10px, 3vw, 20px); } header nav a { text-underline-offset: 0.4rem; text-decoration: none; } header nav a:hover { text-decoration: underline; text-decoration-thickness: 0.12rem; } header nav a[aria-current="page"] { color: var(--text-2); font-weight: var(--font-weight-semibold); text-decoration: underline; text-decoration-thickness: 0.12rem; }