@font-face {
  font-family: "DOS"; 
  src: url('fonts/Px437_DOS-V_re_ANK24.woff2') format('woff2');
}

:root { font-size: 1.125em; color-scheme: light dark; }

body {
  color: black;
  font-family: "DOS", "Courier New", Courier, monospace;
  font-smooth: never;
  -webkit-font-smoothing: none;
  -moz-font-smoothing: greyscale;
}

* { 
	image-rendering: pixelated;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	scrollbar-color: cadetblue gainsboro;
	overscroll-behavior: none;
}

ul {
  padding: 0px 10px 0px 20px;
  margin: 0px;
  text-align: left;
}

.border {
	border: 3px outset white;
	background-color: rgb(255, 255, 255, 87%);
	padding: 18px 36px; }
	
.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

hr {
	border: none;
	border-top: 1px solid black;
}

h3, h2, h1 { font-weight: normal; }

h3 { font-size: 1.25rem; line-height: 1; font-style: italic; }
h2 { font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
h1 { font-size: 2.75rem; line-height: 1; }
		 
p, ol, ul, dl, code, details { font-size: 1rem; line-height: 1.3; }
		 
h1, h2, h3, h4, h5, h6, p, table, details, cite, blockquote, hr {
	margin: 18px 0;
}

ul, dl {
	margin: 18px 0 18px 18px;
}

ol { margin: 18px 0 18px 54px; }
ol ol { margin: 0 0 0 54px; }

ul ul, dd { 
	margin: 0 0 0 18px;
}

details p { margin: 18px 0 18px 36px; }

summary { cursor: pointer; }

ul { list-style-type: square; }

code {
	background-color: lightgrey;
	font-family: 'Courier New', monospace; 
	padding: 1px 4px;
	
}

pre {
	background-color: lightgrey;
	overflow-x: auto;
	padding: 1px 4px;
}

table {	border: 1px solid black; }
tr, td, th { border: 1px dotted black; }
td, th { padding: 5px; }

textarea {
	padding: 2px;
}

cite { 
	display: block;
	text-align: right;
}

blockquote { border-left: 4px double; padding-left: 14px; }

details > summary {
    list-style-type: 'â–º ';
}

details[open] > summary {
    list-style-type: 'â–¼ ';
}

a {
	color: teal;
	padding: 1px;
}

a:hover, a:focus {
	background-color: teal;
	color: white;
}
	
.new { 
	text-transform: uppercase;
	text-shadow: 0 -1px yellow, 1px 0 yellow, 0 1px yellow, -1px 0 yellow;
}

@media screen and (max-width: 600px){
	
	h1, h2, h3, h4, h5, h6, p, table, details, cite, blockquote, hr {
		margin: 16px 0;
	}

	ul, dl {
		margin: 16px 0 16px 16px;
	}

	ol { margin: 16px 0 16px 48px; }
	ol ol { margin: 0 0 0 48px; }

	ul ul, dd { 
		margin: 0 0 0 16px;
	}

	details p { margin: 16px 0 16px 32px; }
	
	p, ol, ul, dl, code, details, table { font-size:0.9rem; }
}

@media (prefers-color-scheme: dark) {
	* { scrollbar-color: cadetblue darkslategrey; }
	body { color:white; }
	img { filter: brightness(.9); }
	.border { background-color: rgb(0,20,20,65%); border-color: darkslategrey; }
	.new, code { color: black; }
	hr { border-top: 1px solid white; }
	a { color: #b2d7c1; }
	a:hover, a:focus { color: darkslategrey; background-color: #b2d7c1; }
	table {	border: 1px solid white; }
	tr, td, th { border: 1px dotted white; }
}