/* from assets/style.css */

:root {
	--bg: #2f2f2f;
	--boxshadow: 0 0.4rem 1rem -0.1rem rgba(0,0,0,0.15);
	--boxshadow_border: 0.08rem solid #414248;
	--fg: #f8fafb;
}
/* normalize */
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
	box-sizing: border-box;
}
/**
Use a more readable tab size (opinionated).
*/
html {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	   tab-size: 4;
}
/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}
/*
Sections
========
*/
/**
Remove the margin in all browsers.
*/
body {
	margin: 0;
}
/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/
body {
	font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}
/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
}
/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted;
}
/**
Add the correct font weight in Edge and Safari.
*/
b,
strong {
	font-weight: bolder;
}
/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}
/**
Add the correct font size in all browsers.
*/
small {
	font-size: 80%;
}
/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
	text-indent: 0; /* 1 */
	border-color: inherit; /* 2 */
}
/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}
/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
	text-transform: none;
}
/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}
/**
Remove the inner border and padding in Firefox.
*/
::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
/**
Restore the focus styles unset by the previous rule.
*/
:-moz-focusring {
	outline: 1px dotted ButtonText;
}
/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/
:-moz-ui-invalid {
	box-shadow: none;
}
/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
	padding: 0;
}
/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
	vertical-align: baseline;
}
/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}
/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
	-webkit-appearance: none;
}
/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}
/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
	display: list-item;
}
/* highlight.js theme */
.hljs {
	display: block;
	overflow-x: auto;
	padding: .5em;
}
.prismjs {
	color: var(--pink);
}
.react-syntax-highlighter-line-number,
.token.punctuation,
.token.operator {
	color: var(--fg);
}
.token.maybe-class-name,
.token.class-name {
	color: var(--yellow);
}
.hljs-comment,
.hljs-quote,
.token.comment {
	color: var(--gray);
	font-style: italic
}
.hljs-doctag,
.hljs-formula,
.hljs-keyword,
.token.keyword,
.token.string {
	color: var(--purple)
}
.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst {
	color: var(--pink)
}
.hljs-literal {
	color: var(--cyan);
}
.hljs-addition,
.hljs-attribute,
.hljs-meta-string,
.hljs-regexp,
.hljs-string {
	color: var(--green);
}
.hljs-built_in,
.hljs-class .hljs-title {
	color: var(--yellow);
}
.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable,
.token.property-access {
	color: var(--orange)
}
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title,
.token.function {
	color: var(--blue)
}
.hljs-params {
	color: var(--pink);
}
.hljs-emphasis {
	font-style: italic
}
.hljs-strong {
	font-weight: 700
}
.hljs-link {
	text-decoration: underline
}
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("./lato-v24-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./noto-sans-v39-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 800;
  src: url("./noto-sans-v39-latin-800.woff2") format("woff2");
}
html {
	background-color: #1c1c1c;
	background: url("./powerlines-dark.png") no-repeat center center fixed;
  background-size: cover;
}
html, body {
	margin: 0;
	padding: 0;
	color: var(--fg);
}
body {
	font-family: "Noto Sans", sans-serif;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	min-height: 100vh;
}
h1, h2, h3, h4, h5 {
	font-family: "Lato", sans-serif;
}
header a {
	text-decoration: none;
	color: var(--fg);
	display: flex;
	justify-content: center;
	/* width: 100%; */
	margin: 2rem;
}
header a:hover {
		color: var(--fg);
	}
header a h1 {
		font-size: 5rem;
		line-height: 7rem;
		margin: 0;
	}
header a img {
		height: 7rem;
		justify-self: center;
		align-self: center;
		margin: 0 1rem;
		border: none;
	}
.main-wrapper {
	max-width: 80%;
	max-width: 100ch;
	width: 100%;
	flex-grow: 1;
}
main {
	background:rgba(31, 31, 31, 0.9);
	padding: 2rem;
	margin-top: 2rem;
	box-sizing: border-box;

	margin: 0;
	color: var(--fg);
	line-height: 1.6em;
	font-size: 1.15rem;
}
main pre {
		line-height: 1.6em;
		font-size: 1.15rem;
	}
main img {
		width: 100%;
		height: 100%;
	}
main img.contained {
		max-height: 16rem;
		-o-object-fit: contain;
		   object-fit: contain;
	}
main code {
		color: #f3b596;
	}
main h1, main h2 {
		text-align: center;
	}
main h1 {
		margin-top: 0;
	}
main h2, main h3 {
		margin: 1rem 0;
	}
main p {
		/* margin: 0; */
	}
main hr {
		margin: 2rem 4rem;
		border-color:rgb(65, 65, 67);
	}
main .table {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0.5rem 1rem;
	}
main .table a {
			text-decoration: none;
		}
main ul li {
		list-style: none;
	}
footer {
	font-size: 1.1rem;
	margin-top: 6rem;
	padding: 1.5rem;
	display: flex;
	justify-content: space-around;
	width: 100%;
}
footer a {
		text-decoration: none;
	}
footer span img {
		height: 1.5rem;
	}
a {
	text-underline-offset: 0.21rem;
	color: #6bb5ff;
}
a:hover {
		color: #6bdaff;
	}
a.disabled {
		color: #9fa5a8;
	}
#donate {
	text-align: center;
}
#donate img {
		height: 2.5rem;
		width: auto;
	}
.warning h1 {
		font-family: "Noto Sans", sans-serif;
		border: 0.3rem solid #d72828;
		border-radius: 0.3rem;
		padding: 1rem;
		background:rgb(251, 172, 172);
		color: #b92222;
		text-decoration: underline;
		text-transform: uppercase;
		text-align: center;
	}
.warning b {
		color:rgb(255, 55, 55);
	}
h1 {
	font-size: 2.5rem;
	line-height: 2.8rem;
}
@media screen and (max-width: calc(100ch + 5rem)) {
	header a {
		flex-direction: column;
		margin: 1rem;
		text-align: center;
	}
		header a h1 {
			font-size: 3rem;
			line-height: 3rem;
		}
		header a img {
			height: 5rem;
			margin: 0.5rem;
			margin-bottom: 0;
		}

	.main-wrapper {
		max-width: 100%;
		width: 100%;
		padding: 0.5rem;
	}

	main {
		padding: 1rem;
		font-size: 1rem;
	}
		main pre {
			font-size: 1rem;
		}

	footer {
		flex-direction: column;
		gap: 1.5rem;
		text-align: center;
		margin-top: 1rem;
	}
}


