/*
 * -Large menu SVG is off-center to left (.s1).
 * -Small menu buttons are off-center to right.
 * Light mode uses dark button:active color-scheme.
 * -Small menu buttons have unequal margins between each other.
 * Add SVG arrow to footer.
 * More detailed commenting.
 * Chrome: footer links have small margin.
 * -"Coming Soon" heading touches line.
 * -Mobile menu remains visible when screen is resized to desktop.
 * Mobile footer extension goes off-screen.
 * Make Dark Reader exemption in HTML only apply if dark-mode is enabled.
 * Format footer for mobile devices.
 * Add solid background color on hover to body and footer.
 * Use Allman formatting.
 * Body link hover color covers sub-heading.
 */

@font-face {
	font-family: "Glacial Indifference";
	src: url("./fonts/GlacialIndifference/GlacialIndifference-Regular.eot")
	format("embedded-opentype"),
	url("./fonts/GlacialIndifference/GlacialIndifference-Regular.eot?#iefix")
	format("embedded-opentype"),
	url("./fonts/GlacialIndifference/GlacialIndifference-Regular.woff2")
	format("woff2"),
	url("./fonts/GlacialIndifference/GlacialIndifference-Regular.woff")
	format("woff"),
	url("./fonts/GlacialIndifference/GlacialIndifference-Regular.ttf")
	format("truetype"),
	url("./fonts/GlacialIndifference/GlacialIndifference-Regular.svg#GlacialIndifference-Regular")
	format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

* {
	font-family: "Glacial Indifference";
	cursor: default;
}

html {
	background-color: #BEBEBE;
	color: #BEBEBE;
}

ol, ul {
	list-style: none;
}

body {
	margin: 0 auto;
	padding: 0;
	line-height: 1;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

#incompatible {
	display: none;
}

#information {
	background: #000000;
	height: 60vh;
	width: 75vw;
	margin: auto;
	margin-top: 14vh;
	border: 1px solid;
	border-color: #BEBEBE;
	outline: 5px;
	outline-style: solid;
	outline-color: #000000;
	text-align: center;
}

h2 {
	font-size: calc(5vh + 1.5vw);
	outline: 2px;
	outline-style: solid;
	outline-color: #BEBEBE;
	margin-left: 10vw;
	margin-right: 10vw;
}

h1 {
	margin-top: 40vh;
	margin-bottom: auto;
	font-size: calc(4vh + 2.5vw);
	text-align: center;
	color: #000000;
	border-radius: 5px;
	border: #000000;
	border-width: 1vh;
	min-width: 150px;
	font-weight: bold;
}

hr {
	display: block;
	border: calc(0.15vh + 0.15vw) solid;
	color: #000000;
	fill: #000000;
	background: none;
	opacity: 100%;
	width: calc(20vh + 20vw);
	border-radius: 5px;
	margin-top: 3vh;
}

br {
	display: block;
	margin: calc(0.25vh + 0.25vw);
}

p {
	font-family: 'Glacial Indifference';
	text-align: center;
	font-size: calc(4vh + 1.3vw);
	color: #000000;
	margin-top: -0.01vh;
}

h3 {
	font-family: 'Glacial Indifference';
	text-align: center;
	font-size: calc(3vh + 1.3vw);
	color: #BEBEBE;
	margin-top: -0.01vh;
}

#container {
	margin-left: 10vw;
	margin-right: 10vw;
}

#sub-container {
	font-size: calc(2.5vh + 1.1vw);
	margin-left: 3vw;
	margin-right: 3vw;
	margin-top: 3vh;
	pointer-events: unset;
}

#sub-link:link, #sub-link:visited {
	text-decoration: none;
	color: #BEBEBE;
	background: none;
	height: calc(3vw + 5vh);
	padding: 0.25vh;
	border: none;
	margin-top: 1vh;
	text-decoration: underline;
	pointer-events: all;
}

#sub-link:hover {
	text-decoration: none;
	cursor: pointer;
	background-color: #BEBEBE;
	color: #000000;
}


#left-align {
	text-align: left;
}

a {
	display: inline;
}

a:link {
	pointer-events: none;
}

#flink {
	bottom: 0;
	visibility: hidden;
}

#flink:link, #flink:visited {
	text-decoration: none;
	color: #BEBEBE;
	background: none;
	height: calc(1vw + 5vh);
	padding: 0.25vh;
	border: none;
	margin-top: 1vh;
	text-decoration: underline;
	pointer-events: all;
}

#flink:hover {
	text-decoration: none;
	cursor: pointer;
	background-color: #BEBEBE;
	color: #000000;
}

#insert {
	pointer-events: none;
	visibility: hidden;
}

.aligner {
	text-align: center;
}

svg {
	width: calc(3vw + 1vh);
	height: calc(3vw + 1vh);
	fill: white;
	display: inline;
	position: static;
	float: left;
}

button, button:visited {
	color: #BEBEBE;
	width: calc(7vw + 5vh);
	height: calc(1vw + 4vh);
	text-align: center;
	background-color: #000000;
	font-size: calc(0.65vw + 1vh);
	margin: 0.0vw;
	border-style: none;
	margin-top: 15vh;
	min-height: 32px;
	pointer-events: all;
}

button:hover, button:focus {
	text-align: center;
	background-color: #BEBEBE;
	color: #000000;
	cursor: pointer;
}

#buttonsmall:active {
	background-color: #FFFFFF;
}

label {
	all: initial;
}

label:hover, button:focus {
	color: #BEBEBE;
	text-align: center;
	border-style: none;
	background-color: #2D4251;
	cursor: pointer;
}

.s1 {
	width: 100%;
	margin: 0.0vw;
	min-width: 60px;
	min-height: 30px;
	background: url(img/menu.svg) no-repeat;
	background-size: calc(3vw + 3vh) calc(3vw + 3vh);
	background-position: 50.75% ;
	padding-left: 1vh;
	padding-right: 1vw;
	position: fixed;
	color: #BEBEBE;
	min-width: 50vw;
	height: calc(1vw + 8vh);
	text-align: center;
	background-color: #000000;
	font-size: calc(1vw + 4vh);
	border-style: none;
	top: 0;
}

.s1:hover {
	color: #BEBEBE;
	text-align: center;
	background-color: #1E1E1E;
	cursor: pointer;
}

.b1 {
	color: #000000;
	background-color: #BEBEBE;
	width: 100vw;
	height: calc(1vw + 20vh);
	text-align: center;
	border-width: 2px;
	font-size: calc(1vw + 4vh);
	border-style: none;
}

.b1:hover {
	text-align: center;
	background-color: #777777;
	cursor: pointer;
}

.b2 {
	color: #000000;
	width: 100vw;
	height: calc(1vw + 20vh);
	text-align: center;
	background-color: #999999;
	font-size: calc(1vw + 4vh);
	margin-top: 1vh;
	border-style: none;
}

.b2:hover {
	text-align: center;
	background-color: #777777;
	cursor: pointer;
}

.b3 {
	color: #BEBEBE;
	width: 100vw;
	height: calc(1vw + 20vh);
	text-align: center;
	background-color: #111920;
	font-size: calc(1vw + 4vh);
	margin-top: 1vh;
	border-style: none;
}

.b3:hover {
	color: #BEBEBE;
	text-align: center;
	background-color: #777777;
	cursor: pointer;
}

#fbutton {
	width: calc(0.75vw + 0.75vh);
	border-width: 0px;
	font-size: calc(0.75vw + 0.5vh);
	border-style: none;
	pointer-events: all;
	left: 0;
	position:  absolute;
	text-decoration: none;
	background: none;
	margin: 0;
	display: none;
}

.fbutton:hover {
	background: none;
	color: #BEBEBE;
	text-decoration: underline;
}

#menularge {
	display: none;
	height: 100vh;
	width: 100vw;
	background-color: #000000;
	border-radius: 0 0 0px 0px;
	min-height: 38px;
	min-width: 220px;
	top: 0;
	margin-top: 3vh;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

#menusmall {
	display: none;
	background-color: #000000;
	border-style: none;
	top: 0;
	position: fixed;
	height: calc(1vw + 4vh);
	color: #BEBEBE;
	min-height: 32px;
	width: 100%;
	align-content: center;
}

#footer {
	background-color: #000000;
	border-style: none;
	color: #BEBEBE;
	padding-bottom: 1vh;
	padding-top: 1vh;
	margin-bottom: 0vh;
	height: calc(1vw + 5vh);
	border-radius: 0px;
	text-align: center;
	font-size: calc(2vh + 1vw);
	position: fixed;
	bottom: 0vh;
	right: 0%;
	width: 100%;
	box-sizing: border-box;
	min-height: 16px;
	cursor: pointer;
}

#footer:hover {
	cursor: pointer;
	display: inline-block;
	height: calc(0vw + 50vh);
	cursor: default;
	pointer-events: all;
}

#footerinput:checked > .footer {
	display: inline-block;
	height: calc(2vw + 10vh);
	cursor: default;
	pointer-events: all;
}

#footer:hover > #flink {
	visibility: visible;
}

#footer:hover > #insert {
	visibility: visible;
}

#footerinput:checked + .footer > #flink {
	visibility: visible;
}

#menulargeinput:checked + #menularge {
	display: table-cell;
	position: fixed;
	margin: auto;
	vertical-align: middle;
}

@media (prefers-color-scheme: dark) {
	h1 {
		color: #BEBEBE;
	}

	p {
		color: #BEBEBE;
	}

	hr {
		border: calc(0.15vh + 0.15vw) solid #BEBEBE;
	}

	button {
		background-color: #202F3A;
		color: #BEBEBE;
	}

	button:hover, button:focus {
		color: #BEBEBE;
		background-color: #07121B;
	}

	label {
		background-color: #202F3A;
		color: #BEBEBE;
	}

	label:hover, button:focus {
		background-color: #07121B;
	}

	.s1 {
		background-color: #202F3A;
		color: #BEBEBE;
	}

	.s1:hover {
		background-color: #2D4251;
	}

	.b1 {
		background-color: #202F3A;
		color: #BEBEBE;
		position: static;
		top: 0;
	}

	.b1:hover {
		color: #BEBEBE;
		background-color: #2D4251;
	}

	.b2 {
		color: #BEBEBE;
		background-color: #111920;
	}

	.b2:hover {
		color: #BEBEBE;
		background-color: #0E2533;
	}

	.b3 {
		color: #BEBEBE;
		background-color: #111920;
	}

	.b3:hover {
		color: #BEBEBE;
	}

	#menularge {
		background-color: #050C12;
	}

	#menusmall {
		background-color: #202F3A;
	}

	#footer {
		background: #050C12;
	}

	#footer:hover {
		cursor: pointer;
	}

	html {
		background-color: #07121B;
	}

	#sub-link:hover
	{
		background-color: #202F3A;
		color: #BEBEBE;
	}

	#flink:hover
	{
		background-color: #202F3A;
		color: #BEBEBE;
	}

	#information {
		background-color: #050C12;
		outline-color: #050C12;
	}
}

@media only screen and (min-width: 768px) {
	h1 {
		margin-top: 40vh;
		margin-bottom: auto;
		font-size: calc(2.5vh + 2.5vw);
		text-align: center;
		border-width: 1vh;
		min-width: 150px;
	}

	p {
		text-align: center;
		font-size: calc(2vh + 2vw);
		margin-top: -0.01vh;
	}

	button {
		position: relative;
		top: 0;
		margin: auto;
		left: calc(50.75vw - 11.5vw - 7.5vh);
	}

	.s1 {
		display: none;
	}

	#menusmall {
		display: block;
	}

	#mobile {
		display: none;
	}

	#footer {
		padding-bottom: 0vh;
		padding-top: 1vh;
		margin-bottom: 0vh;
		height: calc(1vw + 3vh);
		text-align: center;
		font-size: calc(0.75vh + 0.75vw);
		position: fixed;
		bottom: 0;
		right: 0%;
		width: 100%;
		box-sizing: border-box;
		display: inline-block;
	}

	#footer:hover {
		display: inline-block;
		height: calc(5vw + 10vh);
		cursor: default;
		pointer-events: all;
	}

	#footer:hover > #flink {
		visibility: visible;
	}

	button {
		display: inline;
		float: left;
	}
	h3 {
		font-size: calc(1vh + 1.3vw);
	}

	#container {
	margin-left: 10vw;
	margin-right: 10vw;
	}

	#container a
	{
		width: 60%;
	}

	#sub-container {
		font-size: calc(0.75vh + 1.1vw);
	}

	#sub-link:link, #sub-link:visited {
		height: calc(1vw + 5vh);
	}

	h2 {
		font-size: calc(2vh + 1.5vw);
		margin-left: 20vw;
		margin-right: 20vw;
	}

	#flink
	{
		white-space: pre-line;
	}

	#information {
		height: 65vh;
		width: 65vw;
		margin-top: 17vh;
	}
}

@media only screen and (max-width: 314px) {
	#view {
		display: none;
	}

	#incompatible {
		display: block;
	}

}

@media only screen and (max-height: 64px) {
	#view {
		display: none;
	}

	#incompatible {
		display: block;
	}

}
