:root {
	--main: #FFF;
	--sub: #000;
	--acc: #888;
}

body {
    font-family: sans-serif;
    margin: 32px auto;
    padding: 28px;
    max-width: 650px;
    color: var(--main);
    background-color: black;
    background-image: url('zzz.png');
    hyphens: auto;
    word-wrap: break-word;
    /* text-align: justify; */
}

@media only screen and (max-width: 800px) {
	body {
		margin: 12px auto !important;
	}
}

h2 {
    margin-top: 2rem;
}

h1:first-child {
    margin-top: 0 !important;
}

p {
	line-height: 1.6rem;
	font-weight: 400;
}

li {
	line-height: 1.6rem;
}

a {
    color: #AAA;
    text-decoration: underline dotted;
}

a:hover {
    color: #888;
    text-decoration: underline dotted;
}

figure {
    text-align: center;
    margin: 0;
}

figure img {
    border: 4px solid #CCC;
    background: #CCC;
    max-width: 70%;
    max-height: 250px;
    width: auto;
    height: auto;
}

@media only screen and (max-width: 800px) {
	figure img {
        max-width: 100%;
    }
}

figcaption {
    font-style: italic;
    font-size: 0.9rem;
}

code, .mono {
    font-family: monospace;
}

codeblock {
    font-family: monospace;
    display: block;
    width: 100%;
    margin: 1rem 0;
    text-align: center;
}

table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

table td {
    padding: 0.35rem 0.4rem;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
}

@media only screen and (min-width: 800px) {
    table th:not(:last-child),
    table td:not(:last-child) {
        padding-right: 2rem;
    }
}

@media only screen and (max-width: 800px) {
    table {
        width: 100%;
    }
}

table th {
    font-weight: 600;
    padding: 0.35rem 0.4rem;
    text-align: left;
    vertical-align: top;
}
table > thead {
    border-top: 1px solid #dee2e6;
    border-bottom: 3px solid #dee2e6;
}

tr:not(:last-child) td {
    border-bottom: 1px solid #dee2e6;
}

table > tbody > tr:nth-child(odd) {
    background-color: #F2F2F2;
}

span.q {
    cursor: help;
    color: #AAA;
    text-decoration: underline dotted;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

*::-moz-selection {
	background-color: #CCC;
}