/*Begin reset*/
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}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}
/*End reset*/

:root {
scroll-behavior: smooth;
}

/*Begin elements*/
body {
	box-sizing: border-box;
	font-family: monospace;
	font-size: 12px;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: #714846;
}

a:hover {
	text-decoration: underline;
}

.center {
	max-width: 1000px;
	margin: 0 auto;
}

#bar {
	padding: 1em;
	background: #666;
	color: #fff;
}

.nav {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1.5fr;
	column-gap: 1em;
}

.nav a {
	text-decoration: none;
	color: #fff;
	display: grid;
	justify-content: center;
	align-content: center;
	font-size: 1.2em;
}

.nav a:hover {
	background: rgba(255,255,255,0.4)
}

.hide {
	opacity: 0;
	pointer-events: none;
}

.comicnav {
	padding: 0 1em;
	margin-bottom: 1em;
	height: 18em;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

}

.comicnav a {
	display: grid;
	font-size: 3em;
	justify-content: center;
	align-content: center;
	text-decoration: none;
	color: #000;
}

.comicnav a:hover {
	background: rgba(0,0,0,0.4);
	color: #fff;
}

#home {
	width: 100%;
	height: 0;
	background: url('img/logo1.png') 0 0 / contain no-repeat;
	padding-top: 60.9%; /* aspect ratio of img */
}

.main {
	display: grid;
	grid-template-columns: 1fr;
}

.main p {
	margin: 1em 1em;
	font-size: 1.3em;
	line-height: 1.2em;
}

time {
	color: #666;
}

.main img {
	width: calc(100% - 2em);
	max-height: 100%;
	padding: 1em;
}

.post img {
	width: auto;
	max-width: 100%;
}

#midnav {
	background: url('img/beera.png') no-repeat center / contain content-box;
	padding: 0.5em 0.25em;
}

#midnav:hover {
	background: url('img/beera.png') no-repeat center / contain content-box, rgba(0,0,0,0.4);
}

.post {
	padding: 0 1em;
}

.post p {
	margin-left: 0;
}

h2 {
	font-size: 1.75em;
	font-weight: bold;
}

ol {
	margin-top: 5em;
	margin-left: 1em;
	font-size: 1.2em;
	line-height: 4em;
}

.bio {
	display: grid;
	grid-template-columns: 1fr 3fr;
	border-top: 0.25em solid rgba(0,0,0,0.1);
}

.bio:nth-of-type(1), .aside + .bio {
	border-top: 0.25em solid rgba(0,0,0,0);
}

.bio div {
	display: grid;
	align-content: center;
	padding: 1em 0 1em;
}

#bios img {
	max-width: 15em;
}

#bios p {
	margin-left: 0;
}

dl {
	padding-right: 1em;
	line-height: 1.4em;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 1em;
	opacity: 0.6;
}

.aside {
	margin: 1em 0;
	text-align: center;
	font-style: italic;
	color: rgba(0,0,0,0.3);
	background-image: linear-gradient( to bottom, #fff, #fff 40%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.1) 65%, #fff 65% );
}

.aside em {
	background: #fff;
	padding: 0 1.5em;
}

#footer {
	background: rgba(0,0,0,0.3);
	color: #fff;
	margin-top: 5em;
	padding: 5em 0;
}

#footer p {
	padding: 1em 1em 0;
}

/*Begin pseudo*/
::selection {
	background: #f99e9b;
}
/*End pseudo*/

@media(max-width: 600px) {
	.aside {
		background: none;
	}
}
