/* 
  Original font face: https://github.com/jacobxperez/lexica-ultralegible 
  Current Version: v1.0.0 */

@font-face {
  font-family: 'Lexica Ultralegible';
  src: url('fonts/lexi-ult.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Lexica Ultralegible';
  src: url('fonts/lexi-ult-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Lexica Ultralegible';
  src: url('fonts/lexi-ult-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Lexica Ultralegible';
  src: url('fonts/lexi-ult-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: fallback;
}

body {
  color: #fff;
  font-family: "Lexica Ultralegible", Monospace;
  font-size: 1.1em;
  width: 89%;
  background: #010;
  border: 4px solid #4a5;
  max-width: 62.5em;
  margin: 0 auto;
  padding: 0.4em;
  counter-reset: footnotes;
  accent-color: #0be;
}

html {
  background-color: #111;
  background-image: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000), linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  background-attachment: fixed;
  scrollbar-color: #fff #4a5;
  scrollbar-width: auto;
  scrollbar-face-color: #000;
  scrollbar-arrow-color: #000;
  scrollbar-track-color: #4a5;
  scrollbar-shadow-color: #182;
  scrollbar-hightlight-color: #051;
  scrollbar-3dlight-color: #171;
  scrollbar-darkshadow-color: #4a5;
}

/* Shared Styles. */
article,header,nav,section,footer,main {
  display: block;
}

button,input,textarea {
  background: #000;
}

button,legend,a,a:link,a:visited {
  color: #4a5;
}

input,textarea,dt,u {
  color: #0be;
}

input,textarea,legend {
  border: 0.13em solid #4a5;
}

fieldset,button,hr,td,th {
  border: 0.06em solid #4a5;
}

ins,a:hover,a:focus,button:focus {
  color: #000;
  background: #0be;
}

/* Style Specific. */
blockquote,q {
  font-style: italic;
  color: #2ab;
}

textarea:focus,input:focus {
  border: solid #0be;
  outline: 0.13em solid;
  outline-offset: 0.2em;
}

sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  top: -0.5em;
  vertical-align: baseline; 
}

h1 {
  font-size: 1.17em;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote {
  background: #222;
  padding: 0.7em;
  border-left: 0.14em dashed #2ab;
  margin: 0;
}

.icon {
  position: relative;
  top: 0.1em;
  display: inline-block;
  height: 1em;
  width: auto;
}

li:target {
  outline: thin dashed #0be;
  outline-offset: 2px;
}

::selection {
  background: #0be;
  color: #000;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav li {
  display: inline;
}

ul li {
  margin-bottom: 0.4em;
}