diff --git a/style.css b/style.css index abe69dc..018969f 100644 --- a/style.css +++ b/style.css @@ -162,14 +162,17 @@ a[href^="#"] { right: 5vw; } #menu{ + z-index: 0; position: fixed; text-align: left; - z-index: 5; color: var(--font); pointer-events: all; font-size: 1em; height: 100vh; } +#menu.active { + z-index: 5; +} #anchors{ margin-top: 3em; position: relative;