
/* M PLUS 1 Code from google fonts */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@400;700&display=swap');

/* default color */
@media (prefers-color-scheme: light) {
	html {
		background-color: #eeeeee;
		color: #111111;
	}
	header, header *, footer, footer * {
		color: #cccccc;
		border-color: #cccccc;
	}
	h2, h3, h4 {
		color: teal;
	}
	article a {
		color: cornflowerblue;
	}
}


@media (prefers-color-scheme: dark) {
	html {
		background-color: #111111;
		color: #eeeeee;
	}
	header, header *, footer, footer * {
		color: #333333;
		border-color: #333333;
	}
	h2, h3, h4 {
		color: teal;
	}
	article a {
		color: cornflowerblue;
	}
}

/* default */
* {
	margin: 0;
	padding: 0;

	font-family: "M PLUS 1 Code", sans-serif;
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;

	background-color: inherit;
	color: inherit;
}

/* header and footer */
header {
	margin-top: 1em;
	padding: 0 0.5em;
	border-bottom: solid 1pt;
}

footer {
	margin-top: 2em;
	margin-bottom: 1em;
	padding: 0 0.5em;
	border-top: solid 1pt;
}

header p {
	margin: 0;
	padding: 0;
	text-align: center;
}

footer p {
	margin: 0;
	padding: 0;
	text-align: right;
}

/* article */
article {
	padding: 0 2em;
}

h1 {
	margin: 2em 0 2em 0;
	font-size: 1.7em;
	text-align: center;
}

h2 {
	font-size: 1.7em;
	margin-top: 1em;
}

h3 {
	font-size: 1.2em;
	margin-top: 1em;
}

h4 {
	margin-top: 1em;
	margin-left: 1em;
}

p, ul, ol, pre {
	margin: 0.5em 0 0.5em 1em;
}

li {
	margin-left: 2em;
	margin-bottom: 0.2em;
}

pre {
	background-color: #111111;
	color: #aaaaaa;
	border: solid 1pt;
	width: 40em;
	padding: 0.5em;
}

pre > em {
	color: white;
}

