/* #region reset */
/* --------------------------- */
/* CSS RESET 
/* --------------------------- */
/* 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;
}
/* 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;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* #endregion */
/* #region variables */
/* --------------------------- */
/* VARIABLES 
/* --------------------------- */
/* light theme */
:root {
    --desktop-font-size: 1.15rem/1.45;
    --mobile-font-size: 1rem/1.3;
    --content-width: 620px;
    --text-color: #2d2d2d;
    --link-color: #525150;
    --primary-color: #5B5B6C;
    --secondary-color: #aaa;
    --tertiary-color: whitesmoke;
    --background-color: #F1F1EC;
	--border-color: #ccc;
    --button-off: #ccc;
    --button-on: #E47036;
    --text-on-button-off: #525150;
    --text-on-button-on: #fff;
    --blockquote: whitesmoke;
    --hilite: red;
}
/* #endregion */
/* #region general */
/* --------------------------- */
/* GENERAL ELEMENTS 
/* --------------------------- */
html, body {
    color: var(--text-color);
    font: var(--desktop-font-size) -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--background-color);
    margin: 0 auto;
    max-width: var(--content-width);
}
h1,h2,h3,h4,h5,h6,p,blockquote,dl,img,figure {
    margin: 1rem 0;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
    line-height: 1.2;
}
h1 {
    font-size: 130%;
}
h2 {
    font-size: 120%;
}
h3,h4,h5,h6 {
    font-size: 100%;
	text-decoration: underline;
}
p {
    margin: 1.25rem 0;
}
a,a:visited {
    color: var(--link-color);
    text-decoration: none;
}
a:hover {
    color: var(--hilite);
}
strong, time, b {
    font-weight: bold;
}
em, dfn, i {
    font-style: italic;
}
sub {
    font-size: 60%;
    vertical-align: bottom;
}
small {
    font-size: 80%;
}
blockquote, q {
    background: var(--blockquote);
    border-left: 2rem solid var(--border-color);
    color: var(--text-color);
    display: block;
    padding: 1rem;
}
blockquote p:first-child {
    margin-top: 0;
}
cite {
    font-style: italic;
    font-weight: bold;
}
kbd,code,samp,pre,var {
    font-family: monospace;
    font-weight: bold;
    font-size: 90%;
}
code, pre {
    background: var(--blockquote);
    padding: 0.5rem 1rem;
    font-size: 85%;
    overflow: scroll;
}
code pre, pre code {
    padding: 0;
    overflow: hidden;
}
hr {
    background: var(--text-color);
    border: 0;
    height: 1px;
    margin: 4rem 0;
}
img {
    display: block;
    height: auto;
    max-width: 100%;
}
figure {
    border: 1px solid var(--primary-color);
    display: inline-block;
    padding: 1rem;
    width: auto;
}
figure img {
    margin: 0;
}
figure figcaption {
    font-size: 80%;
    margin-top: 0.5rem;
}
ul, ol {
    list-style: square;
    padding-left: 1rem;
}
sup {
    font-size: 80%;
    vertical-align: super;
    background-color: var(--hilite-color);
}
dl dd {
    padding-left: 2rem;
}
table {
    border: 1px solid var(--primary-color);
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
table caption {
    margin: 2rem 0;
}
table thead {
    text-align: center;
}
table tbody {
    text-align: right;
}
table tr {
    border-bottom: 1px solid var(--primary-color);
}
table tbody tr:nth-child(even) {
    background: var(--tertiary-color);
}
table th {
    background: var(--secondary-color);
    font-weight: bold;
}
table th, table td {
    padding: 1rem;
}
table th:not(last-of-type), table td:not(last-of-type) {
    border-right: 1px solid var(--primary-color);
}
input {
    appearance: none;
    border: 1px solid var(--text-color);
    display: block;
    margin: 0.5rem 0;
    padding: 0.8rem;
}
input:focus, input:active {
    background-color: var(--secondary-color);
    border-color: var(--link-color);
}
footer {
    font-size: 70%;
}
/* #endregion */
/* #region header-nav */
/* --------------------------- */
/* HEADER AND NAV 
/* --------------------------- */
header {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 75%;
    border-bottom: 3px solid var(--text-color);
}
header a, header a:visited {
    padding: 0.5rem 1rem;
    text-decoration: none;
}
header a:hover {
    text-decoration: none;
}
header .sitename {
    background-color: var(--text-color);
    color: #fff;
    font-weight: 900;
    padding: 1rem;
}
/* #endregion */
/* #region media */
/* --------------------------- */
/* MEDIA 
/* --------------------------- */
img, video, object, iframe {
    width: 100%;
	border: 1px solid var(--border-color);
}
.video {
    aspect-ratio: 3 / 2;
}
iframe.youtube {
    aspect-ratio: 3 / 2;
}
iframe.bandcamp {
    /* bandcamp iframes are internally constrained to max 700px wide */
    aspect-ratio: 3 / 2;
}
iframe.bandcamp-tall {
    /* bandcamp iframes are internally constrained to max 700px wide */
    aspect-ratio: 9 / 12;
}
/* #endregion */
/* #region main */
/* --------------------------- */
/* MAIN 
/* --------------------------- */
/* #endregion */
div.label {
	font-size: 115%;
	font-weight: 900;
	margin-bottom: 1rem;
}
/* #region article */
/* --------------------------- */
/* POST
/* --------------------------- */
div.post {
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
div.post h1, a {
    color: var(--primary-color);
}
div.post h2, h3, h4 {
    color: #7B8295;
}
div.post ol li {
    list-style-type: decimal;
    padding: 0;
    margin: 0;
}
div.post p a {
    text-decoration: underline;
}
div.post .info {
    font-size: 80%;
    padding: 0 0 1rem 0;
    border-bottom: 1px dotted var(--text-color);
}
div.post .info a {
    text-decoration: none;
}
div.post .info span {
    display: inline;
    margin-right: 2rem;
}
div.post .info .date {
    font-weight: 900;
}
div.post .footnotes hr {
    display: none;
}
div.post .footnotes {
    font-size: 80%;
}
div.post .footnotes ol, 
div.post .footnotes ul {
    padding: 0;
    margin: 0;
    margin-left: 1rem;
}
div.post .anchor {
  display: none;
}
div.post h2:hover .anchor,
div.post h3:hover .anchor,
div.post h4:hover .anchor {
  display: inline;
}
/* #endregion */
/* #region archive */
/* --------------------------- */
/* ARCHIVE 
/* --------------------------- */
.archive {
    margin: 0;
    padding: 0;
}
.archive div {
    padding: 0;
    margin: 0;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
}
.archive p {
    padding: 0;
    margin: 0;
}
/* demo pages */
.table1 {
    background-color: darkorange;
    color: white;
}
.para1 {
    background-color: #ccc;
    color: #000;
    font-weight: 900;
    padding: 10px;
}
/* #endregion */
/* #region pagination */
/* --------------------------- */
/* PAGINATION
/* --------------------------- */
.paginate {
    text-align: right;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--border-color);
}
.paginate a {
    color: var(--text-on-button-off);
    background-color: var(--button-off);
    padding: 4px 10px;
    text-decoration: none;    
}
.paginate a:hover {
    color: var(--text-on-button-on);
    background-color: var(--button-on);
    text-decoration: none;
}
.paginate span {
    margin-right: 10px;
}
/* #endregion */
/* #region mobile */
/* --------------------------- */
/* MOBILE 
/* --------------------------- */
@media screen and (max-width: 675px) {
    body {
        font: var(--mobile-font-size) -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto, Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
        padding: 10px;
    }
    header {
        font-size: 80%;
    }
    header a {
        padding: 0.3rem;
    }
}
/* #endregion */
