@media (prefers-color-scheme: dark) {
	body {
		background-color: #2a2a2a;
		color: #fff;
	}

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

	.topnav a:link,
	.topnav a:visited,
	.topnav a:hover,
	.topnav a:active {
		color: #fff;
	}

	.sidebar-nav a:link,
	.sidebar-nav a:visited,
	.sidebar-nav a:hover,
	.sidebar-nav a:active {
		color: #aaa;
	}

	.sidenavitem a.sidebar-button {
		color: #111;
	}
}

:root {
	--accent-color: #005436;
	--accent-background: #003f29;
}

html,
body,
.outer-container {
	max-height: 100%;
}

body {
	font-family: arial, helvetica, sans-serif;
	margin: 0;
}

.content-margin {
	margin: 3rem;
}

.flex-container {
	display: flex;
}

.flex-container.v-flex {
	flex-direction: column;
}

.flex-container.h-flex {
	flex-direction: row;
}

.sidebar-container {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	width: 250px;
	height: 100vh;
	transform: translateX(250px);
	background: #222;
	transition: transform 0.3s ease-in-out;
}

.sidebar-container.active {
	transform: translateX(0px);
}

.center {
	text-align: center;
}

hr.small {
	max-width: 100px;
}

.text-muted {
	color: #777;
}

.centerdiv {
	margin: auto;
	padding: 10px;
	text-align: center;
}

.sidebar-nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.topnav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: rgb(0, 0, 0, 0.2);
}

.topnav a {
	color: white;
}

.sidebar-nav a {
	color: #aaa;
}

.topnavitem {
	float: left;
}

.topnavitem.right {
	float: right;
}

.sidenavitem {
	width: 100%;
}

.sidenavitem a {
	display: inline-block;
	background-color: #222;
	transition: background-color 0.2s ease-in-out;
	text-align: center;
	padding-top: 14px;
	padding-bottom: 14px;
	width: 100%;
	text-decoration: none;
}

.sidenavitem a.sidebar-button {
	padding: auto;
	background-color: #ddd;
	color: #111;
}

.sidenavitem a.sidebar-button:hover {
	background-color: #bbb;
}

.sidenavitem.sidebar-button-container {
	width: 46px;
	height: 46px;
	display: flex;
	margin-left: auto;
}

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

.topnavitem a:hover,
.dropdown:hover .dropbtn,
.sidenavitem a:hover {
	background-color: rgb(0, 0, 0, 0.2);
}

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

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

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

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

p {
	padding: 10px;
}

#top-section {
	background-color: #3fb1fe;
	background-image: url("https://assets.oirnoir.dev/bg.jpg");
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

#top-section p {
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
	color: #fff;
}

#top-section a:link,
#top-section a:hover,
#top-section a:visited,
#top-section a:active {
	color: #b5ceff;
}

#top-section a:link,
#top-section a:visited,
#top-section a:active {
	text-decoration-line: none;
}

#top-section a:hover {
	text-decoration-line: underline;
}

#top-section .topnav a:link,
#top-section .topnav a:visited,
#top-section .topnav a:hover,
#top-section .topnav a:active {
	text-decoration: none;
	color: #fff;
}

@media (pointer: coarse) {
	#top-section {
		background-attachment: initial;
	}
}

.oirnoir {
	font-size: 100px;
	margin: 0;
	text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
	color: #fff;
}

h1,
p {
	color: #000;
}

#oirnoirlogo {
	width: 10em;
	border-radius: 30px;
}

#normal-sections section:nth-child(odd) {
	background-color: transparent;
}

#normal-sections section:nth-child(even) {
	background-color: var(--accent-background);
}

#normal-sections section:nth-child(even) h1,
#normal-sections section:nth-child(even) p {
	color: #fff;
}

#normal-sections section {
	padding: 50px 0;
}

#normal-sections section h1 {
	font-size: 46px;
}

#normal-sections section p {
	font-size: 26px;
}

.section-inner {
	width: 80%;
	margin: auto;
}

footer {
	padding: 5px 0;
}

@media screen and (max-width: 520px) {
	.oirnoir {
		font-size: 50px;
		text-shadow: 2.5px 2.5px 0px rgba(0, 0, 0, 0.2);
	}
}

@media screen and (max-width: 340px) {
	.oirnoir {
		font-size: 25px;
		text-shadow: 1.25px 1.25px 0px rgba(0, 0, 0, 0.2);
	}
}

@media (prefers-color-scheme: dark) {
	h1,
	p {
		color: #fff;
	}
}
