/*============================
Basics
============================== */

:root {
	--main-blue: #132266;
	--main-white: #FDFEFF;
	
	--primary-bg-color: rgb(14, 14, 14);
	--secondary-bg-color: rgb(28, 28, 28);
	--primary-text-color: rgba(255, 255, 255, 0.98);
	--secondary-text-color: rgba(255, 255, 255, 0.5);
}

/*============================
System preferences
============================== */

@media (prefers-color-scheme: dark) {
	:root {
		--primary-bg-color: rgb(14, 14, 14);
		--secondary-bg-color: rgb(28, 28, 28);
		--primary-text-color: rgba(255, 255, 255, 0.98);
		--secondary-text-color: rgba(255, 255, 255, 0.5);
	}
}

@media (prefers-color-scheme: light) {
	:root {
		--primary-bg-color: rgb(241, 241, 241);
		--secondary-bg-color: rgb(248, 248, 248);
		--primary-text-color: rgb(0, 0, 0);
		--secondary-text-color: rgb(110, 110, 110);
	}
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul,
li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*============================
Elements
============================== */

html {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-weight: 400;
	overflow: auto;
	background-color: var(--primary-bg-color);
	color: var(--primary-text-color);
}

body {
	font-size: 1.125rem;
	max-width: 100%;
	margin: 3rem auto;
}

/*============================
Typography
============================== */

h1 {
	font-weight: 600;
	font-size: 3rem;
	line-height: 4.5rem;
}

h2 {
	font-weight: 600;
	font-size: 2rem;
	line-height: 3rem;
}

h3 {
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--primary-text-color);
}

h4 {
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--primary-text-color);
}

a {
	text-decoration: none;
}
	.index a {
		color: #FDFEFF;
	}
	.about a, .imprint a {
		color: #132266;
	}

/*============================
About Me
============================== */

.about-section {
	margin-bottom: 2rem;
}

.about-image img {
	width: 50%;
	margin-left: 25%;
	height: auto;
	margin-top: 7rem;
	margin-bottom: 4rem;
	border-radius: 4px;
}

.about-text {
	width: 50%;
	margin-left: 25%;
	overflow: auto;
	position: relative;
	margin-bottom: 4rem;
	font-size: 1.15rem;
	line-height: 2.2rem;
}
	.about-text p {
		color: var(--primary-text-color);
		font-weight: 300;
	}
	.about-text a {
		color: #2962FF;
	}
		.about-text a:hover {
		text-decoration: underline;
	}

.about-headline {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--primary-text-color);
}

/*============================
Footer
============================== */

footer {
	position: relative;
	margin-bottom: -3rem; /* MAY NEED A BUG FIX */
	width: 100%;
	overflow: auto;
}

footer p {
	padding-top: 20px;
	padding-bottom: 80px;
	font-weight: 500;
}

footer a {
	color: color: var(--primary-text-color);
}

footer a:hover {
	text-decoration: underline;
}

.footer-left {
	float: left;
	margin-left: 10%;
}

.footer-right {
	float: right;
	margin-right: 10%;
}
/*============================
Responsive
============================== */

@media only screen and (max-width: 450px) {
	h1 {
		font-size: 2rem;
		line-height: 3rem;
	}
	h2 {
		font-size: 1.5rem;
		line-height: 2.25rem;
	}
	.about-image img, .about-text {
		width: 90%;
		margin-left: 5%;
	}
	.about-text {
		margin-bottom: 0rem;
	}
	.opener p {
		font-weight: 200;
		font-size: 1.5rem;
		line-height: 2.25rem;
		padding-top: 0.5rem;
	}
	.edu-hl {
		font-size: 1.5rem;
		line-height: 2.25rem;
		margin-left: 5%;
		width: 90%;
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	.footer-left {
		margin-left: 5%;
	}
	.footer-right {
		margin-right: 5%;
	}
}
