/* FILE: homepage css
 * copyright fezhead.xyz */

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

:root {
	--bg: #271c16;
	--fg: #d8c4b6;
	--link: #c86c33;
	--link_v: #c85813;
	--link_h: #c86c33;
	--bg_grey: #271c16;
	--dark_grey: #271c16;
}


.logo {
	max-height: 30px
}

.toc {
/* 	display: block; */
/* 	position: fixed; */
	font-size: 0.85em;
/* 	left: 81%; */
/*     top: 4em; */
/* 	border-radius: 7px; */
/*     width: 15%; */
/*     line-height: 1.5em; */
/*     text-align: left; */
/* 	background: #282828; */
/*     border-bottom: none; */
    overflow-y: auto;
}

.toc ul {
/* 	list-style: none; */
/* 	padding-left: 1em !important; */
}

.toc li {
/* 	padding-bottom: 7px; */
/* 	padding-right: 8px; */
}

body {
	color: var(--fg);
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	padding: 1em;
	margin: auto;
	max-width: 85%;
	margin-bottom: 500px;
	background: var(--bg);
}

a {
	color: var(--link);
	text-decoration: none;
}

a:visited {
	color: var(--link_v);
}

a:hover {
	color: var(--link_h);
	cursor:pointer;
}

a:active {
	color: var(--link_h);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

p {
	margin: 1em 0;
}

img {
	max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	color: var(--fg);
	line-height: 1em;
}

h4,
h5,
h6 {
	font-weight: bold;
}

h4 {
	margin-bottom: 0.5em;
}

blockquote {
	color: var(--fg);
	margin: 0;
	padding-left: 3em;
	border-left: 0.5em var(--dark_grey) solid;
}

pre,
code,
kbd,
samp {
	font-family: 'Fira Code', monospace;
	font-size: 0.98em;
}

code {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
	background: var(--bg_grey);
	color: var(--fg);
	padding: 3px;
	border-radius: 3px;
}
pre > code {
	display: block;
	padding: 10px 15px;
}
b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}


sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

ul,
ol {
	padding: 0 0 0 2em;
}

li p:last-child {
	margin: 0;
}

dd {
	margin: 0 0 0 2em;
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
	vertical-align: middle;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td {
	vertical-align: top;
}

@media only screen and (max-width: 768px) {
	body {
		font-size: 14px;
		max-width: 100%;
	}
	article {
		margin-top: 2.5em;
	}

}
@media only screen and (min-width: 768px) {
	body {
		font-size: 16px;
	}
	.logo {
		max-height: 40px;
	}
	article {
		margin-top: 3.0em;
	}
}

@media print {
	* {
		background: transparent !important;
		color: black !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	body {
		font-size: 12pt;
		max-width: 100%;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	hr {
		height: 1px;
		border: 0;
		border-bottom: 1px solid black;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid var(--dark_grey);
		padding-right: 1em;
		page-break-inside: avoid;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page :left {
		margin: 15mm 20mm 15mm 10mm;
	}

	@page :right {
		margin: 15mm 10mm 15mm 20mm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

.header-left {
	float: left;
}

.header-right {
	float: right;
}
.logo {
	margin-right: 0.5em
}
article img {
	margin: 1em 0;
}
p.date {
	font-size: 13px;
	color: var(--fg);
}
ul.articles {
	list-style: none;
	padding: 0;
}

ul.articles li {
	padding-bottom: 10px;
}
#Articles {
	margin-top: 2em;
}
footer {
/* 	font-size: 13px; */
	text-align: center;
}

footer li {
	display: inline-block;
	list-style: none;
	padding: .5em;
}

li img {
	max-height: 1em;
	max-width: 1em;
	vertical-align: middle;
}

footer a li:hover {
	background: #523a2e ;
	color: black;
}

footer li {
	border-radius: 10px;
}

.topnav {
    background-color: #211712;
    overflow: hidden;
	border-radius: 7px;
/*	padding: 0.5em 0;
	width: 9em;
	margin-right: 20px;
    padding-right: 5px;
	border-right: 1px solid #fbf1c7;*/
    */
h}

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

.topnav li {
    float: left;
}

.topnav li a {
    display: block;
    color: #c89171;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    border-radius: 7px;
}

.topnav a:hover {
    background-color: #523a2e;
}

.topnav a.active {
    background-color: #271c16;
}

.topnav li img {
	height: 1.3em;
	vertical-align:middle;
	margin-right: 5px;
}


