:root {
	--page-background: #f1f0f0;
	
	--text-color: #28303c;
	--text-color-faded: #28303c75;
	--text-color-extra-faded: #6d7c9467;
	--text-shadow-color: #1414141a;
	
	--selection-background: rgba(251, 255, 40, 0.412); 
	
	--blockquote-background-color: rgba(231, 231, 231, 0.15);
	--blockquote-leading-color: var(--link-color);	
	
	--hr-border-color: #d4d4d4;
	
	--link-color: #0086a5;
	--link-decoration-color: #0086a53f;
	--link-hover-color: #347EFF;
	--link-color-active: #063588;
	--link-transition-time: 0.20s;
	--link-transition-mode: cubic-bezier(0.36, 0.61, 0.18, 0.94);
}

@media (prefers-color-scheme: light) {}

@media (prefers-color-scheme: dark) {
	:root {
		--page-background: #1e1e1e;
		
		--text-color: #e0e0e0;
		--text-color-faded: #e0e0e075;
		--text-color-extra-faded: #a0a0a067;
		--text-shadow-color: #0000001a;
		
		--selection-background: rgba(255, 255, 100, 0.412); 
		
		--blockquote-background-color: rgba(50, 50, 50, 0.15);
		--blockquote-leading-color: var(--link-color);	
		
		--hr-border-color: #444444;
		
		--link-color: #4ea3d8;
		--link-decoration-color: #4ea3d83f;
		--link-hover-color: #66ccff;
		--link-color-active: #3399cc;
	}
}

@media screen and (max-width: 550px) {
	
	body {
		font-size: 1.1em !important;
	}
	
}

/* Page */

* {
	margin: 0;
	padding: 0;
}

html {
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	scroll-behavior: smooth;
}

body {
	padding: 0 1em;
	margin: auto;
	
	max-width: 30em;	
	
	background: var(--page-background);	
	color: var(--text-color);

	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.2em;
	line-height: 1.6em;	
}

::selection {
	background: var(--selection-background);
}

/* Elements */

a {
	color: var(--link-color);
	text-decoration-color: var(--link-decoration-color);
	text-underline-offset: 0.125em;
	text-decoration-thickness: 0.05em;
	transition: 
		text-decoration-color var(--link-transition-time) var(--link-transition-mode),
		color var(--link-transition-time) var(--link-transition-mode);
}

a:hover {
	color: var(--link-hover-color);
	text-decoration-color: var(--link-hover-color);
}

a:active {
	color: var(--link-color-active);
	text-decoration-color: var(--link-color-active);
}

hr {
	border: none;
	border-top: 0.5px solid var(--hr-border-color);
}

header {
	justify-content: space-between;
	align-items: center;
	margin-top: 2.5em;
	margin-bottom: 1.5em;
	
}

footer nav a {	
	font-style: normal;
	font-size: 1em;
}

footer nav a:not(:first-of-type) {
	margin-left: 0.75em;
}

footer nav {
	text-align: center;
}

header #header-div {
	align-items: center;
}

header #header-div a, header #header-div a:hover {
	text-decoration: none;
	color: var(--text-color);
}

header #header-title {
	font-weight: 600;
	font-style: normal;
	font-size: 1.4em;
	padding-bottom: 0.25em;
	color: var(--text-color);	
}

footer {
	margin-top: 2em;
	margin-bottom: 2em;
	color: var(--text-color-faded);	
}

footer p#copyright {	
	font-size: 1em;
	text-align: center;
}

.content {
	padding-top: 2em;
	padding-bottom: 2em;
}

.content p {
	margin-top: 1em;
}

.screenshot {
	width: 120px;
}

.heroText {
	text-align: center;
}

.heroImage {
	display: block;
	margin-left: auto;
	margin-right: auto;
	
	width: 100px;
	border-radius: 15%;
}