/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	/*list-style: none;*/
	margin-left: 2em;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


@font-face {
    font-family: 'zpix';
    src: url('/zpix_min.ttf') format('truetype');
    }

@font-face {
  font-family: 'dosvga';
  src: url('/Perfect DOS VGA 437.ttf') format('truetype');
}

html {
  scrollbar-gutter: stable;
}

body {
  background-color: black;
  color: #FAF;
  font-family: zpix, Monospace;
  /*filter: url(#crispify);*/

  background-image: url("sparkles.webp");
  background-repeat: repeat;
  background-size: 189px 111px;

  font-size: 12px;
  text-underline-offset: 2px;
}
/*
.offscreen {
    position: absolute;
    left: -100000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
*/
header {
  outline: 1px solid #FAF;
  width: 1024px;
  
  margin: 5px 0;
  margin-left: calc(max(round((100% - 1024px) / 2, 1px), 0px));
  
  font-size: 36px;
  text-align: center;
  background: black;
    padding: calc(round(0.25rem, 1px));
    padding-left: calc(round(0.25rem, 1px) + 1px);
}

footer {
  outline: 1px solid #FAF;
  width: 1024px;
  margin: 5px auto;
  font-size: 36px;
  text-align: center;
  background: black;
    padding: 0.25rem;
}


.columns {
    display: flex;
    flex-direction: row;
    gap: 5px;
    
    width: 1024px;
    
    margin-left: calc(max(round((100% - 1024px) / 2, 1px), 0px));
}

.columns > div {
  outline: 1px solid #FAF;
  background: black;
    padding: 0.25rem;
}

.first-column {
    flex: 0 0 10rem; /* Do not grow, do not shrink, fixed width of 10rem */
}

.main-column {
  flex: 1 1 auto;
 min-width: 0;   /* Prevent the middle column from causing overflow */
}
.main-column img {
  max-width: 100%;
}

.last-column {
    flex: 0 0 10rem; /* Do not grow, do not shrink, fixed width of 10rem */
}


a {
  color: #AAF;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

p {
  padding: 0.25rem 0;
  line-height: 1.25rem;
  text-indent: 1rem;
}

pre {
  font-family: dosvga, monospace;
  font-size: 16px;
  border: 1px solid #FFAAFF66;
  padding: 2px;
  overflow-x: auto;
}

code {
  font-family: dosvga, monospace;
  font-size: 16px;
  border: 1px solid #FFAAFF66;
  padding-left: 2px;
}

blockquote {
  border-left: 1px solid #FAF;
  padding-left: 0.25em;
  margin-left: 0.5em;
}

table { border-collapse:collapse; border-spacing:0; }
table th, table td { border: 1px solid #FAF; padding: 0.25rem; }

li + li { margin-top: 0.5em; }

dfn {
  cursor: help;
  
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #FAFA;
}

figure {
  border: 1px solid #FAF;
  padding: 0.25em;
  display: table;
}

img[src*="emoticons"] {
  image-rendering: pixelated;
  vertical-align: text-bottom;
}
