/**
 * @author      : Aidan Mullen (git@acm.contact)
 * @file        : style
 * @created     : 2021
 */

/*
 * =====
 * Fonts
 * =====
 */

@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;
}

/*
 * ========
 * Defaults
 * ========
 *
 * A set of cross-platform defaults.
 */

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

html {
	background-color: #CFD3CD;
	color: #0A0A0D;
}

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;
}

html, body {
	text-align: center;
	height: 100%;
	font-size: 100%; /* Use browser's default font-size; this allows the text to
	scale to what the user specifies. */
}

/* Holds primary content for page. */
#content {
	max-width: 1280px;
	width: 100%;
	content: ""; /* May not be neccessary. */
	margin-top: 10%;
	display: inline-block;
	text-align: center;
}

#clear {
	visibility: hidden;
}

hr.vertical_divider {
	background-color: #0A0A0D;
	width: 0.1em;
	border: none;
	min-height: 28em;
	display: inline-block;
	vertical-align: top;
}

.horizontal_center {
	text-align: center;
}

/* Sidebar and information should be merged; differences should be applied via
 * a class. */
#sidebar {
	display: none;
	width: 38%;
	min-height: 38px;
	min-width: 2px;
	vertical-align: middle;
	min-height: 100%;
}

.sidebar_content {
	width: 100%;
}

#sidebar_footer {
	display: static;
	width: 100%;
	height: 0;
	font-size: 0.75em;
	padding-bottom: 1em;
}

#information {
	display: inline-block;
	height: 100%;
	width: 98%;
	position: relative;
	margin-left: auto;
	margin-right: 0%;
	text-align: center;
	vertical-align: middle;
	/*line-height: 175%;*/
}

br {
	display: block;
	content: "";
}

p {
	font-family: 'Glacial Indifference';
	text-align: center;
	font-size: 1em;;
}

h1 {
	font-size: 3.0em;
}

h2 {
	font-size: 1.4em;
}

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

#sub-container {
	font-size: 24px;
	margin-left: 3vw;
	margin-right: 3vw;
	margin-top: 3vh;
	pointer-events: unset;
}

#sub-link {
	line-height: 175%;
}

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

#sub-link:hover {
	text-decoration: none;
	cursor: pointer;
	background-color: #0A0A0D;
	color: #CFD3CD;
}

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

a {
	display: inline;
}

a:link {
	text-decoration: underline;
}

a:hover {
	cursor: pointer;
	text-decoration: none;
	background-color: ;
	color: ;
}

.flink {
	margin: 1em;
	line-height: 200%;
	padding: 0.25%;
}

.flink:link, .flink:visited {
	text-decoration: none;
	color: #0A0A0D;
	background: none;
	border: none;
	text-decoration: underline;
	pointer-events: all;
}

.flink:hover {
	text-decoration: none;
	cursor: pointer;
	background-color: #0A0A0D;
	color: #CFD3CD;
}

.aligner {
	text-align: center;
}

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

button, button:visited {
	width: 100%;
	height: 10%;
	font-size: 1.25em;
	border-style: none;
	min-height: 32px;
	pointer-events: all;
	text-align: center;
	padding-left: 1.2em;
	background: none;
}

button:hover, button:focus {
	background-color: #0A0A0D;
	color: #CFD3CD;
	cursor: pointer;
	padding-left: 1.6em;
}

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

.button_special {
	padding-left: 0.6em;
	color: #154889;
}

.button_special:hover {
	padding-left: 1.0em;
	color: #3481B8;
}

label {
	all: initial;
}

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

#menularge {
	display: none;
	height: 100vh;
	width: 100vw;
	background-color: #000000;
	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:hover {
	cursor: pointer;
	display: inline-block;
	height: calc(0vw + 50vh);
	cursor: default;
	pointer-events: all;
}

#footerinput {
	display: checked;
}

#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;
}

/*
 * =========
 * Dark Mode
 * =========
 *
 * Alternative colorscheme to follow system preference.
 */

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

	p {
		color: #BEBEBE;
	}

	button {
		color: #CFD3CD;
		background-color: #0A0A0D;
	}

	button:hover, button:focus {
		color: #0A0A0D;
		background-color: #CFD3CD;
	}

	.button_special {
		color: #3481B8;
	}

	.button_special:hover {
		color: #154889;
	}

	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: #CFD3CD;
		background-color: #2D4251;
	}

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

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

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

	.b3:hover {
		color: #CFD3CD;
	}

	.l1 {
		checked;
	}

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

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

	#footer {
		background: #050C12;
	}

	#footer:hover {
		cursor: pointer;
	}

	html, body {
		background-color: #0A0A0D;
		color: #CFD3CD;
	}
	
	#sub-link:link, #sub-link:visited {
	  color: #CFD3CD;
	}

	#sub-link:hover
	{
		background-color: #CFD3CD;
		color: #0A0A0D;
	}

	.flink:link {
		color: #CFD3CD;
	}

	.flink:hover
	{
		background-color: #CFD3CD;
		color: #0A0A0D;
	}

	#content {

	}

	#sidebar_menu {
		background-color: #0A0A0D;
	}

	#information {
		background-color: #0A0A0D;
	}

	hr.vertical_divider {
		background-color: #CFD3CD;
	}
}

@media only screen and (min-width: 768px) {
	h2 {
		font-size: 0.5em;
	}

	p {
		text-align: center;
	}

	button {
		position: static;
		top: 0;
		margin: auto;
		width: 100%;
		text-align: left;
	}

	#mobile {
		display: none;
	}

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

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

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

	button {
		display: inline;
		float: left;
	}

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

	#container a
	{
		width: 60%;
	}

	#sub-container {
		height: 8px;
	}

	#sub-link:link, #sub-link:visited {
		height: 8px;
	}

	h1 {
		font-size: 4.4;
	}

	h2 {
		font-size: 2.0em;
	}

	html, body {
		min-height: 100%;
	}

	#content {
		min-height: 100%;
	}

	#sidebar {
		display: inline-block;
		width: 30%;
		max-width: 488.917;
		vertical-align: middle;
		height: 98%;
		margin: 0.25em;
	}

	#information {
		width: 62%;
		max-width: 791.084px;
		border: 0;
		vertical-align: top;
		margin: 0.25em;
	}
}

@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;
	}

}

/* --- end of STYLE_CSS --- */
