/* General */
a {
 color: #6a9576;
}

a:hover {
 background-color: #6a9576;
 color: white;
}

body {
 background-color: #EBEBEB;
 color: black;
 display: flex;
 flex-direction: column;
 font-size: 14px;
 font-family: verdana_regular, sans-serif;
 max-width: 750px;
 margin: auto;
 line-height: 1.5;
 -webkit-text-size-adjust: 100%;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 min-height: 100vh;
 padding: 10px;
}

blockquote {
 color: gray;
 font-style: italic;
}

code {
 background: darkgray;
 display: inline;
 font-family: noto_mono_regular;
}

footer {
 text-align: center;
}

hr {
 border-color: gray;
}

html {
 box-sizing: border-box;
 overflow-y: scroll;
}

img {
 display: block;
 height: auto;
 margin-left: auto;
 margin-right: auto;
 width: auto;
}

img, object, embed {
 max-width: 90%;
 max-height: 550px;
}

nav {
 text-align: left;
}

pre {
 background: darkgray;
 border: 2px solid black;
 color: black;
}

pre code {
 color: black;
 display: block;
 font-family: noto_mono_regular;
 overflow-y: hidden;
 overflow-x: auto;
 background: darkgray;
 margin: 8px;
}

sup a {
 font-size: 0.6rem;
 font-weight: bold;
 margin: 0px -3px 0px -3px;
 text-decoration: none;
}

table {
 border-collapse: collapse;
 border-spacing: 0;
 overflow: scroll;
 vertical-align: baseline;
}

tr, th, td {
 border: 1px solid;
 font-size: 100%;
 padding: 8px;
 vertical-align: baseline;
}

ul, ol, li {
 margin: 5px;
}

li span {
 padding-left: 5px;
}

/* Interface */

ul.featured {
 margin-left: -2px;
 padding: 0;
 list-style-type: none;
}

ul.featured li {
 margin-left: 3px;
}

ul.feed {
 margin-left: -2px;
 padding: 0;
 list-style-type: none;
}

ul.feed li {
 margin-left: 3px;
 display: flex;
}

ul.feed li span {
 flex: 0 0 85px;
}
/* Table of Contents */
.toc {
 list-style-type: none;
 padding-left: 0px;
}

.subtoc {
 list-style-type: none;
 margin-left: -20px;
}

/* Two-column flex layout */

.row {
 display: flex;
 flex-wrap: wrap;
}

.revrow {
 display: flex;
 flex-wrap: wrap;
 flex-direction: row-reverse;
}

.col {
 flex: 50%;
 min-width: 275px;
}

.col40 {
 flex: 40%;
 max-width: 40%;
}

.col60 {
 flex: 60%;
 max-width: 60%;
}

.row .col img {
 vertical-align: center;
 margin-top: 0px;
 max-width: 275px;
}

.categories {
 margin-top: 20px;
 margin-bottom: 10px;
}

.categories p {
  margin-left: -2px;
  margin-top: 0px;
  margin-bottom: 8px;
}

@media screen and (max-width: 569px) {
 .asciiart,
 .col,
 .col40,
 .col60 {
  flex:100%;
  max-width:100%;
  margin-top:0px;
}
}

/* Colors */
.red {
 color: #ff0000;
}

.green {
 background-color:#06ff00;
}

.blue {
 color:#0043ff;
}

.purple {
 color:#fc00ff;
}

.yellow {
 background-color:#fffc00;
}

/* Fonts */
@font-face {
 font-family: 'noto_mono_regular';
 src: url('font/notosans-mono-regular.woff2') format('woff2'),
      url('font/notosans-mono-regular.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'noto_mono_semibold';
 src: url('font/notosans-mono-semibold.woff2') format('woff2'),
      url('font/notosans-mono-semibold.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}


@font-face {
 font-family: 'verdana_regular';
 src: url('font/verdana.woff2') format('woff2'),
      url('font/verdana.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'verdana_bold';
 src: url('font/verdana-bold.woff2') format('woff2'),
      url('font/verdana-bold.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'verdana_italic';
 src: url('font/verdana-italic.woff2') format('woff2'),
      url('font/verdana-italic.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'verdana_bold_italic';
 src: url('font/verdana-bold-italic.woff2') format('woff2'),
      url('font/verdana-bold-italic.woff') format('woff');
 font-weight: normal;
 font-style: normal;
}

* b, strong {
 font-family: verdana_bold, sans-serif;
}

* h1, h2, h3, h4 {
 font-family: verdana_bold, sans-serif;
 font-weight: normal;
}

* i, em {
 font-family : verdana_italic, sans-serif;
 font-style: normal;
}

* em strong {
 font-family : verdana_bold_italic, sans-serif;
 font-style: normal;
}

* h1, h2, h3, h4 {
 font-family: verdana_bold, sans-serif;
}

.mono-reg {
 font-family: noto_mono_regular;
}

.mono-semi {
 font-family: noto_mono_semibold;
 color: gray;
}


.asciiart {
 display: flex;
 flex: 50%;
 min-width: 275px;
 justify-content: center;
}

.asciiart pre {
 background: none;
 border: none;
 margin: 0px;
}

.asciiart pre code {
 background: none;
 color: black;
 display: block;
 overflow-y: hidden;
 overflow-x: auto;
}

