@font-face {
  font-family: "DOS"; 
  src: url('/junk-drawer/Web437_DOS-V_re_ANK30.woff') format('woff2');
}

@font-face {
  font-family: "CourierPrime"; 
}

:root { 
	font-size: 1em;
	color-scheme: light dark;
	accent-color: teal;
}

body {
	color: black;
	font-family: "CourierPrime", Courier, monospace;
	font-smooth: never;
	-webkit-font-smoothing: none;
	-moz-font-smoothing: greyscale;
	text-align: center;
  cursor: url("junk-drawer/PixelatedCursor.cur"), auto;
}
a {
  cursor: url("junk-drawer/classic_linksel.cur"), auto;
}


* { 
	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, 85%);
	padding: 18px 36px; }
	
.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

img { max-width: 100% }

hr {
	border: none;
	border-top: 1px solid;
}

h3, h2, h1 { font-family: "DOS"; font-weight: normal;}

h3 { font-family: "DOS"; font-size: 1.5rem; line-height: 1; font-style: italic; }
h2 { font-family: "DOS"; font-size: 2rem; line-height: 1; text-transform: uppercase; }
h1 { font-family: "DOS"; font-size: 2.75rem; line-height: 1; text-align: center;}
		 
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: 'CourierPrime', monospace; 
	padding: 1px 4px;
	
}

pre {
	background-color: lightgrey;
	overflow-x: auto;
	padding: 1px 4px;
}

table {	border: 1px solid; }
tr, td, th { border: 1px dotted; }
td, th { padding: 5px; }

textarea {
	padding: 2px;
}

cite { 
	display: block;
	text-align: right;
}

blockquote { border-left: 4px double; padding-left: 14px; }

.container {
      background-color: white;
      padding: 40px;
      width: 80%;
      max-width: 900px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      margin: 40px auto;
    }
    .hover-container {
      position: relative;
      display: inline-block;
      vertical-align: middle;
    }
    .hover-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 10px;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      font-size: 0.95em;
      z-index: 10;
      white-space: nowrap;
    }
    .hover-container:hover .hover-text,
    .hover-container:focus .hover-text {
      opacity: 1;
    }


@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, figcaption { 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,75%); border-color: darkslategrey; }
	.new, code { color: black; }
	a { color: #b2d7c1; }
	a:hover, a:focus { color: darkslategrey; background-color: #b2d7c1; }
}