@font-face {
  font-family: 'OpenSans';
  src: url('OpenSans-VariableFont_wdth.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

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;    
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    width:100%;
}

body {
    color: #1E1E1E;
    background-color: #fff;
    line-height: 1.6;
    padding: 1rem 1rem 1rem 1rem;
    font-family: "OpenSans", sans-serif;
    font-size: 1.3rem;
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
    /*text-wrap: avoid-short-last-lines;*/
}

@media (prefers-color-scheme: dark) { 
    body {
        color: #d9d9d9;
        background-color: #1e1f20;
    }
}

main {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.home main {
    font-family: "OpenSans", sans-serif;
}

.home li {
    /*margin-left: 2rem;*/
    margin-top: 0.5rem;
    line-height: 1.25;
}


article,
nav {
    max-width: 600px;
}

h1, h2 {
    font-size: 2.3rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: -1rem;
}

h3 {
    margin-top: 2rem;
}

ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

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

.home ul {
    margin-left: unset;
    margin-top: unset;
}

.else li {
    list-style: inside;
    list-style-type: inherit;
    line-height:180%
}

.else li a {
    text-decoration: underline;
}

.else li a:hover {
    text-decoration: none;
}


article ol {
    margin-left: 1.5rem;
    margin-top: .9rem;
}

blockquote {
    /*font-size: 1rem;*/
    font-style: italic;
    padding-left: 1rem;
}

cite {
    margin-top: 1rem;
    display: block;
    font-size: .75em;
}

.home h1 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: unset;
}

.home h2 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: unset;
}

.home h3 {
    font-weight: 500;
    font-size: unset;
    line-height: unset;
}


section {
    margin-bottom: 2rem;
}

section li a {
    text-decoration: none;
}

section li a:hover {
    text-decoration: underline;
}

hr {
    margin-top: 4rem;
    margin-bottom: 3rem;
    border-top: 1px dashed;
    opacity: .3;
}

p {
    margin-top: 1.5rem;
}

small {
    font-size: 1.1rem;
}

em {
    font-style: italic;
}

b, strong {
    font-weight: bold;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover, a:focus {
    text-decoration-style: solid;
}

li a {
    text-decoration: underline;
}

li a:hover {
    text-decoration: underline;
}

header a {
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 3rem;
    font-family: "OpenSans", sans-serif;
    display: inline-block;
}

header a:hover {
    text-decoration: underline;
}

footer {
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    font-family: "OpenSans", sans-serif;
    display: inline-block;
    padding: 5rem 3rem;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

footer li {
  float: left;
  padding: 16px;
}

.menu {
    padding-right: 2rem;
}

time {
    display: block;
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
}

img { 
    display: block; 
    height: auto; 
    margin-top: 20px; 
    margin-bottom: 20px; 
    max-width: 100%; 
}

code {
    font-family: monospace;
    font-weight: 500;
    font-size: 1rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 600px) {
    header {
        text-align: center;
    }

    article ol {
        margin-left: 2rem;        
    }

}