header {
  position: sticky;
  top: env(safe-area-inset-top, 0);
  width: 100%;
  z-index: 10;
}

.top-border {
	position: absolute;
	top: 0;
	height: 1.8em;
	width: 100%;
	z-index: 1;
	background-image: linear-gradient(#cccccc 10%, #808080 60%, #333333 80%, #cccccc);
  box-shadow: 0 0.1em 0.5em black;
}

.nav-container {
  /* self size & positioning */
  margin: 0 auto;
  position: relative; /* necessary for z index to work */
	width: fit-content;
  z-index: 2;
  /* contents positioning */
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  column-gap: 3em;
  row-gap: 0.3em;
  padding: 0.5em 2em 1em;
  /* colours */
	border-radius: 0px 0px 100% 100%;
	background-image: radial-gradient(ellipse at 5% 5%, #cccccc 23%, #808080 46%, #333333 80%, #cccccc);
  box-shadow: 0 0.1em 0.5em black;
}

.site-title {
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 5px red, 0 0 15px #ffbf00;
}
.site-title:hover {
  text-shadow: 0 0 5px red, 0 0 15px #ffbf00, 0 0 30px yellow;
}

nav {  
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  column-gap: 1.2em;
  row-gap: 0.3em;
}

nav a {
  border: none;
  font-size: 1rem;
	font-weight: bold;
	color: white;
	text-decoration: none;
	text-shadow: 3px 3px 5px black;
}
nav a:hover {
  text-shadow: 0 0 2px red, 0 0 10px #ffbf00;
}
nav a:focus {
  text-shadow: 0 0 2px red, 0 0 10px #ffbf00;
	outline: 2px ridge orange;
}

nav a.current {
  color: #ffa36c;
}