:root {
	--background: #ffffff;
	--text: #000000;
}

html,
body {
	width: 100%;
	height: 100%;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text);
	background-color: var(--background);
	margin: 0;
	overflow-x: hidden;
	overflow-y: hidden;
}

.centered {
	text-align: center;
}

.topnav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
	color: #ffffff;
	border-radius: 5px;
	border: 1px solid black;
}

.topnav a.active {
	background: #105684;
}

.topnavitem {
	float: left;
}

.topnavitem a,
.dropbtn {
	display: inline-block;
	color: #ffffff;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out;
}

.topnavitem a:hover,
.dropdown:hover .dropbtn {
	background-color: #0071bc;
}

.topnavitem.dropdown {
	display: inline-block;
}

.dropdown-content {
	opacity: 0;
	position: absolute;
	background-color: #393b40;
	max-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	transform: translateY(-10px);
	pointer-events: none;
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dropdown-content a {
	color: white;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown-content a:hover {
	background-color: #0071bc;
	color: #fff;
}

.dropdown:hover .dropdown-content {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.button {
	text-decoration: none;
	padding: 15px 32px;
	text-align: center;
	display: inline-block;
	font-size: 16px;
	transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out;
	border-radius: 5px;
	border: 1px solid #000000;
	background-color: #105684;
	color: #ffffff !important;
	margin: 10px;
	cursor: pointer;
}

.button:hover {
	background-color: #1e73aa;
	color: #ffffff;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
}

.button.disabled {
	background-color: #366888;
	cursor: not-allowed;
	box-shadow: none;
}

#content {
	margin: 8px;
}

#scrollbox {
	width: 100%;
	height: 100%;
	position: relative;
	overflow-y: scroll;
	overflow-x: hidden;
}

#container {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.article-section {
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
	padding-left: 5%;
	padding-right: 5%;
}

.article-aside {
	margin-left: 20px;
}

footer {
	background-color: #105684;
	color: #ffffff;
	text-align: center;
	padding: 10px;
	position: relative;
	margin-top: auto;
	transition: opacity 1s ease-in;
	opacity: 100%;
}

footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
	color: #0097e3;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: #2a2a2a;
		--text: #ffffff;
	}

	.topnav a:link,
	.topnav a:visited,
	.topnav a:hover,
	.topnav a:active {
		color: var(--text);
	}

	a:link,
	a:visited,
	a:hover,
	a:active {
		color: #0097e3;
	}
}