:root {
	--prim-color: #103F51;
	--sec-color: #998352;
	--prim-bg: white;
	--sec-bg: rgb(255, 249, 223);
}

body{
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* Misc */

.unbold {
	font-weight: normal;
}

.error, .success {
	font-family: "acumin-pro", sans-serif;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

.error {
	color: red;
}

.success {
	color: green;
}

.pageButton {
	border: none;
	color: white;
	background-color: var(--sec-color);
	font-family: "acumin-pro", sans-serif;
	font-size: 1.5rem;
	width: 20vw;
	height: 1.75em;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
	line-height: 1.95em;
	transition: filter 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
}

.pageButton:hover {
	filter: brightness(85%);
}

.pageButton[disabled] {
	filter: brightness(75%) !important;
	cursor: default;
}

.pageInput {
	background-color: #E5E5E5;
}

.pageInput[type="text"], .pageInput[type="number"] {
	color: var(--sec-color);
	font-size: 1.5rem;
	font-family: "p22-mackinac-pro", serif;
	padding: 0.25em;
	border: none;
	width: 25vw;
	transition: filter 0.3s;
}

.pageInput[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 1em;
	height: 1em;
	font-size: 1rem;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
	cursor: pointer;
	transition: filter 0.3s;
}

.pageInput[type="checkbox"]:hover {
	filter: brightness(85%);
}

.pageInput[type="checkbox"]:checked:hover {
	filter:brightness(95%);
}

.pageInput[type="checkbox"]::after {
	content: "\200B"; /* With a regular space it changes the height for some inexplicable reason */
	color: var(--prim-color);
}

.pageInput[type="checkbox"]:checked::after {
	content: "×";
	position: absolute;
	top: 0;
}

.pageInput[disabled] {
	filter: brightness(75%);
}

/* Jank */
.sideContainer[open="true"]+#mainHeader {
	width: 70vw;
}

@media only screen and (max-width: 768px) {
	.pageButton {
		width: 100%;
		font-size: 1.25rem;
	}
		
	.pageInput[type="text"] {
		width: 100%;
		font-size: 1.25rem;
	}

	.sideContainer[open]+#mainHeader {
		width: 100vw;
	}
}

.title {
	font-size: 2.5rem;
	font-family: "acumin-pro", sans-serif;
	font-weight: bold;
	color: rgb(36, 36, 36);
	margin-bottom: 0em;
	margin-top: 2.5em;
}

.big {
	font-size: 3.5rem;
	margin-top: 0em;
}

.paragraph{
	font-size: 1.35rem;
	max-width: 40vw;
	margin-bottom: 1em;
	margin-top: 0em;
}

@media only screen and (max-width: 768px) {
	.title {
		font-size: 2rem;
	}
	
	.paragraph {
		max-width: 90vw;
		text-align: justify;
		font-size: 1.25rem;
	}
}

#stageSvg[data-active] .page[data-active],
#stageSvg[data-active] .bgrect,
#stageSvg[data-activehighlight] .page use,
#stageSvg[data-activehighlight] .bgrect {
	filter: brightness(50%);
}
