body {
	color: #202020;
	font-family: 'LibreBaskerville-Regular', serif;
	margin: 8px auto;
	max-width: 800px;
	min-height: calc(100vh - 16px);
	position: relative;
	text-align: center;
}
main {
	padding-bottom: 2.5rem;
	font-size: 16px;
}
footer {
	bottom: 0;
	font-size: 12px;
	text-align: left;
	position: absolute;
	width: 100%;
	height: 2.5rem;
}
#toggle-theme {
	float: right;
}
h1 {
	font-family: 'Prata-Regular';
	font-size: 40px;
	padding-left: 0;
	margin-bottom: 0;
	text-align: left;
}
h2 {
	font-family: 'Prata-Regular';
	text-align: center;
}
footer hr {
	margin-bottom: 10px;
}
#profile-pic {
	border-radius: 50%;
}
#content {
	text-align: left;
	/* 200 ms transition matches value in JavaScript */
	transition: opacity 200ms;
	line-height: 32px;
}
#header {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 20px;
}
header hr {
	margin: 20px 0;
}
#profile-pic-wrapper {
	text-align: right;
	grid-column: span 1;
}
#nav-bar-wrapper {
	text-align: left;
}
#nav-bar {
	font-family: 'Prata-Regular';
	padding-left: 0;
	margin-top: 8px;
}
#header-content {
	padding-top: 54px;
	grid-column: span 1;
}
#nav-bar li {
	display: inline;
	list-style-type: none;
	margin-right: 4px;
	font-size: 20px;
}
a span:hover {
	text-decoration: underline;
}
main a:hover {
	text-decoration: underline;
}
footer a:hover {
	text-decoration: underline;
}
#contact-secret {
	text-align: left;
}

body.dark-mode {
	background-color: #101010;
	color: #F0F0F0;
}
a {
	color: #484848;
	text-decoration: none;
}
.dark-mode a {
	color: #A8A8A8;
}
.light-mode-label {
	display: none;
}
.dark-mode .light-mode-label {
	display: inline;
}
.dark-mode .dark-mode-label {
	display: none;
}

span {
  opacity: 1;
  transition: opacity 400ms;
}

.fade {
  opacity: 0;
}

@media (max-width: 900px) {
	body {
		margin: 8px 16px;
	}
	#nav-bar-wrapper {
		text-align: center;
	}
	#header-content {
		padding-top: 0;
		grid-column: span 2;
	}
	#profile-pic-wrapper {
		text-align: center;
		grid-column: span 2;
	}
	h1 {
		margin-top: 8px;
		text-align: center;
	}
	#contact-secret {
		text-align: center;
	}
}

@font-face {
	font-family: 'LibreBaskerville-Regular';
	src: url('../fonts/LibreBaskerville-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'Prata-Regular';
	src: url('../fonts/Prata-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
