:root {
	--text: white;
	--accent1: #393d42;
	--accent2: white; 
	--math: white;
	--outreach: white;
	--birds: white;
}

body {
	font-family: "monospace", monospace;
	color: var(--text);
	font-size: 105%;
	background-image: url('mergansers.JPG'); 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center bottom;
	padding: 75px 130px;
	text-shadow: 0 2px var(--accent1); 
}

a {
	text-decoration: none;
	color: inherit;
}

p a, li a, h2 a {
	color: var(--text); 
/*	text-decoration: underline;   */
	border-bottom: solid 1.2px var(--text);
	box-shadow: 0 1px 0 var(--accent1); 

}

/*
a:hover {
	font-style: italic;
}
*/

p + ul {margin-top:-1em;}

li {
	margin: 1em 0;
}

p {
	margin: 2em 0;
}

p, li {
	line-height:1.67em;
}

span {
	background: rgba(255, 255, 255, 0.1);
}

span.current {
	font-size: 1.17em;
}

#main {
	margin-top: 25px;
}

h1 {
	position: relative;
	margin: 0 1.67em 0 0;
	text-shadow: 0 3px var(--accent1);
	display: inline-block;
	font-size: 2em;
}

/*
#main img {
	display: block;
	max-width: 22em;
	margin: 0 1.34em -1.34em 0;
	position: relative;
	z-index: -1;
}
*/

h2 {
	margin-top: 1.5em;
	font-size: 1.2em;	
}

pronouns {
	font-size: 0.8em;
	color: var(--pronouns);
}

nav.index {
	display: inline-block;
	margin-top: 1em;
}

nav a {
	font-family: monospace, sans-serif;
	font-size: 1.5em;
	display: inline-block;
	margin: 0 1.67em 0 0;
	font-weight: bold;
	color: var(--text);
	opacity: 0.6;
}

nav h1 {
	font-size: 1.5em;
}


nav.index a {
	display: block;
	margin: 0 0 2em 0;
	opacity: 1;
}

nav.index a:last-child {
	margin-bottom: 0;
}

nav a[href*="math"] { color: var(--math); }
nav a[href*="outreach"] { color: var(--outreach); }
nav a[href*="birds"] { color: var(--birds); }


/*
nav a:hover::before {
	opacity: 1;
	font-style: normal;
}
*/

@media (max-width: 550px) {
	body {padding: 25px 50px;}
	nav a, h1 {display:block;}
	nav {display:inline-block; margin-bottom:2em;}
}

.container {
 display: flex;
 justify-content: flex-start;
}



img {
  display: block;
  max-width: 100%;
  max-height:100%;
}



.blur-overlay {
        position: fixed; /* Fixed position to cover the entire viewport */
        top: 0;
        left: 0;
        width: 100vw; /* Covers 100% of viewport width */
        height: 100vh; /* Covers 100% of viewport height */
        background-color: rgba(0,0,0, 0.4); /* Optional: Add a semi-transparent overlay color */
        backdrop-filter: blur(5px); /* Apply the blur effect */
        -webkit-backdrop-filter: blur(5px); /* For Safari compatibility */
        z-index: -1; /* Place it behind the main content */
}


.center {
  display: flex;
  justify-content: center;
}


