:root {
	--dark-text: #0c4cb3;
	--light-text: #9ccef0;
}

* {
	font-family: "Playfair Display", serif;
}

.header {
	text-align: center;
	background-color: #FFF;
}

.header img {
	height: 100px;
	width: auto;
	margin: 10px;
}

.header h1 {
	margin: 0;
}

.main-container {
	/*background-color: #EEE;*/
	background-color: #FFF;
	padding: 10px 20px;
	grid-gap: 1em;
}

.dropdown {
	background-color: #FFF;
	font-size: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	border-bottom: 1px solid black;
}

.dropdown a {
	text-decoration: none;
	color: var(--dark-text);
	display: block;
	transition: color 0.2s;
}

.dropdown a:hover {
	color: var(--light-text);
}

.dropdown span {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	color: var(--dark-text);
	cursor: default;
	transition: color 0.2s;
}

.dropdown span:hover {
	color: var(--light-text);
}

a.menu-subject {
	cursor: default;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ededed;
	margin-top: 10px;
	max-width: 160px;
}

.dropdown-content a {
	color: black;
	display: block;
	text-align: left;
	padding: 10px;
	text-indent: -5px;
	font-size: 16px;
	border: 0.5px solid #bdbdbd;
	transition: color 0.2s;
}

.dropdown-content a:hover {
	color: var(--light-text);
	transition: color 0.2s;
}

.dropdown-select:hover .dropdown-content {
	display: block;
}

.active-menu a {
	text-decoration: underline;
}

.active-menu {
	display: inline;
	text-decoration: underline;
}

.content {
	background-color: #FFF;
	font-family: Calibri, Helvetica, Arial, sans-serif;
	padding: 10px 20px;
	max-width: 750px;
	margin: 0 auto;
}

.content a {
	color: var(--dark-text);
	text-decoration: none;
	transition: color 0.2s;
}

.content a:hover {
	color: var(--light-text);
}

.content h1, h2, h3, h4 {
	color: var(--dark-text);
}

.content hr {
	margin: 20px 0px;
	border-top: 1px solid var(--dark-text);
}

.content .figure {
	text-align: center;
	font-size: 12px;
	color: gray;
	font-style: italic;
	text-indent: 0px;
	margin: 20px;
}

.content .figure p {
	text-align: center;
}

.content code {
	font-family: Consolas,"courier new";
	background: #F0F0F0;
	padding: 2px;
}

.content .block-code {
	padding: 12px 24px;
	background: #F0F0F0;
	font-size: 14px;
}

pre {
	white-space: pre-wrap;
}

.content video {
	display: block;
	margin: 0 auto;
}

.sim-widget {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 20px;
	align-items: center;
}

.sim-widget .canvasdiv {
	background-color: #EEE;
	border: 2px solid black;
}

.sim-widget .controls {
	border: 2px solid black;
	padding: 5px;
}

.cv-list ul {
	list-style-type: none;
}

.cv-list li {
	margin-bottom: 10px;
	text-indent: -5px;
}

.cv-list a {
	color: var(--dark-text);
	text-decoration: none;
	transition: color 0.2s;
}

.cv-list a:hover {
	color: var(--light-text);
}

.footer {
	color: gray;
	font-style: italic;
	font-size: 14px;
	width: 100%;
	clear: both;
}

.footer p {
	position: relative;
	text-align: center;
}

@media (hover: none) {

	.dropdown-select {
		display: block;
	}
	.dropdown-content {
		display: block;
		background-color: transparent;
		position: relative;
	}
	.dropdown-content a {
		border: none;
		text-indent: 0px;
	}

	.content img {
		max-width: 80%;
	}

}
