* {
    margin: 0;
    padding: 0;
}

/* MAIN */

body {
	background: #fcfcfc;
	color: #646464;
	font-family: 'IBM Plex Serif', serif;
	font-size: 13px; font-weight: 400;
    font-optical-sizing: auto;
	line-height: 27px;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

main {
	margin: 50px auto 0 auto;
	width: 100%;
	max-width: 1160px;
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	position: relative;
}

/* TOPBAR */

nav, footer {
	max-width: 1160px;
	margin: 30px auto;
	height: 50px;
    color: #010101;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
	text-align: right;
	text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #010101;
    border-radius: 25px;
    box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 20px;
	overflow: hidden;
	position: relative;
	z-index: 25;
}

nav .logo, footer .logo {
	width: 50px; height: 50px;
	background-color: #010203;
	background-image: url("../images/logo.png");
	background-position: center center;
	background-size: 28px;
	background-repeat: no-repeat;
	border-radius: 100%;
}

nav .mobilelogo, footer .mobilelogo {
	width: 25px; height: 25px;
	background-color: #010203;
	background-image: url("../images/logo.png");
	background-position: center center;
	background-size: 14px;
	background-repeat: no-repeat;
	border-radius: 100%;
	display: inline-block;
}

nav .navhr, footer .footerhr {
	flex: 1;
}

nav .navhr hr, footer .footerhr hr {
	width: 100%;
	height: 2px;
	background: #010203;
	border: none;
	display: block;
}

nav ul.menu, footer ul#cred {
	margin: 0 20px 5px 0;
    padding: 0;
	text-align: right;
	display: inline-block;
	position: relative;
	z-index: 25;
}

nav ul.menu li, footer ul#cred li {
    margin: 0;
	padding: 0;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
}

nav ul.menu li::after, footer ul#cred li::after {
	content: '–';
    margin: 0 3px 0 6px;
	display: inline-block;
	position: relative;
}

nav ul.menu li:last-child::after, footer ul#cred li:last-child::after {
    display: none;
}

#show-menu {	
	background: transparent;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;	
	position: relative;
	display: none;
}

#show-menu #inner {
	display: flex;
	align-items: center;
	column-gap: 10px;
}

#rmenu, .active {
	display: block;
}

/* HEADER */

header {
	width: 100%;
	height: 460px;
	background-image: url("../images/header.png");
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0 auto;
	position: relative;
}

/* POSTS */

main::before {
	content: '';
    background-color: #f0f0f0;
    width: 2px;
    height: 100%;
    display: table;
    position: absolute;
    top: 0; left: 0;
    margin: auto 0 0 359px;
	z-index: 10;
}

section#content {
	min-width: 800px;
	max-width: 800px;
}

section#nfcontent {
	min-width: 100%;
	max-width: 100%;
}

article {
	margin: 0 auto 100px auto;
	padding: 0;
	display: block;
	position: relative;
}

article .pinfo {
	margin: 0 auto;
	padding-left: 40px;
}

article .pinfo span {
	margin: 0 auto;
	padding: 8px 16px;
	font-size: 10px;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid #646464;
	border-radius: 12px;
	display: table;
}

article .pinfo span strong {
	font-weight: 600;
	color: #252561;
}

article h1.title, article h2 {
	margin: 20px auto 0 auto;
	padding: 0 0 20px 40px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 100%;
	color: #010101;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	border-bottom: 2px solid #f0f0f0;
	box-sizing: border-box;
	position: relative;
	display: block;
	z-index: 15;
}

article h1.title::before {
	content: '';
	position: absolute;
	bottom: -6px; left: -5px;
	margin: auto; 
	width: 6px; height: 6px;
	background: #f0f0f0;
	border: 2px solid #252561;
	outline: 6px solid #fcfcfc;
	border-radius: 100%;
	display: block;
	z-index: 20;
}

/* POST CONTENT */

article .entry {
	margin: 20px auto 0 auto;
	padding: 0 0 0 40px;
	text-align: justify;
	box-sizing: border-box;
	position: relative;
	display: block;
	z-index: 20;
}

/* CATEGORIES */

article .cbox {
	margin-top: 25px;
	margin-left: 40px;
	font-size: 10px;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	position: relative;
}

article .cbox hr {
	position: absolute;
	top: 2px; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	width: 100%; height: 2px;
	background: #f0f0f0;
	border: none;
	display: block;
	z-index: 20;
}

article .cbox span {	
	margin: 0 auto;
	padding: 0 20px;
	background: #fcfcfc;
	line-height: 100%;
	display: table;
	text-align: center;
	position: relative;
	z-index: 30;
}

article .cbox ul.post-categories {
	margin: 0;
	padding: 0;
	position: relative;
	display: block;
}

article .cbox ul.post-categories li, aside .proj ul.links li {
	list-style-type: none;
	display: inline-block;
}

article .cbox ul.post-categories li::after, aside .proj ul.links li::after {
	content: '–';
	margin: 0 3px 0 6px;
	display: inline-block;
	position: relative;
}

article .cbox ul.post-categories li:last-child::after, aside .proj ul.links li:last-child::after { 
	display: none; 
}

article .cbox ul.post-categories::before, article .cbox ul.post-categories::after {
	content: '';
	position: absolute;
	top: 0; left: -23px; bottom: -2px;
	margin: auto;
	width: 6px; height: 6px;
	background: #bebede;
	border-radius: 100%;
	z-index: 30;
}

article .cbox ul.post-categories::after {
	left: unset;
	right: -23px; 
}

/* POST ELEMENTS */

article .entry p, aside .sidebox p {
	margin: 0 0 12px 0;
}
 
article .entry b, article .entry strong, aside .sidebox b, aside .sidebox strong {
	color: #010101;
	font-weight: 700;
}

article .entry a, aside .sidebox a {
	color: #252561;
	font-weight: 700;
}

article .entry img, article .entry img a, aside .sidebox img, aside .sidebox img a  {
	background: transparent;
	margin: 4px; padding: 0;
}

article .featured {
	margin: 15px auto;
	background: transparent;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	display: block;
}

article .featured img {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: auto;
	border: none;
	position: relative;
	z-index: 25;
	vertical-align: bottom;
}

article .entry ul li, aside .sidebox ul li {
	background: transparent;
	list-style: none;
	width: 100%;
	max-width: 100%;
	padding: 6px 0;
	margin: 6px auto;
	border-bottom: 1px solid #f0f0f0;
}

article .entry ul li::before {
	content: '';
	margin: 0 6px 3px 0;
	background: #a3a3a3;
	width: 12px; height: 1px;
	display: inline-block;
	position: relative;
}

aside .sidebox ul li i {
	margin: 0 8px 0 0;
	font-size: 11px;
}

iframe, embed, object, video {
	max-width: 100%;
	margin: 10px auto;
	padding: 0;
}

/* COMMENTS */

article .entry ol.commentslist {
	clear: both;
	margin: 15px auto 0 auto;
}

article .entry ol, article .entry ul { 
    list-style: none;
}

article .entry ol.commentslist li {
    margin-bottom: 20px;
	text-indent: 0px;
	border: none;
	line-height: 24px;
	list-style-type: none;
}

article .entry ol.commentslist li::before {
	display: none;
}

article .entry ol.commentslist ul.children { 
    margin: 15px 0 0 15px; 
    background: transparent; 
    border-width: 0 0 0 1px; 
    border-style: solid; 
    border-color: #f0f0f0;
    padding: 0 15px; 
    box-sizing: border-box; 
}

article .entry ol.commentslist li .avatar { 
	margin: 0 8px 0 0;
	padding: 3px;
	background: #f0f0f0;
	float: left;
	border: none;
}

article .entry ol.commentslist cite, article .entry ol.commentslist cite a, article .entry ol.commentslist .comment-meta a {
	color: inherit;
	font-weight: 700;
	font-style: normal;
}

article .entry ol.commentslist p {
	margin: 15px 0px;
	text-transform: none;
	text-align: left;
}

article .entry ol.commentslist .cancel-comment-reply {
	margin-left: 10px;
}

#commentform input[type=text], #commentform textarea {
	outline: none;
	margin: 10px 10px 10px 0; padding: 10px;
    background: #f0f0f0;
	color: #646464;
	font-family: 'IBM Plex Serif', serif;
	font-size: 13px; font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.05em;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
}
 
#commentform input[type=text]:focus, #commentform textarea:focus, article .entry input:focus {
	background: #fcfcfc;
	outline: none !important;
	border-color: #f0f0f0;
}

article .entry input {	
	margin: 0 10px 0 0;
	padding: 10px;
    background: #f0f0f0;
	color: #646464;
	font-family: 'IBM Plex Serif', serif;
	font-size: 13px; font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.025em;
	text-transform: none;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
}

article #submit {
	margin: 12px 0;
	padding: 7px 8px 8px 8px;
	font-family: 'IBM Plex Serif', serif;
	font-size: 10px; font-weight: 700;
	line-height: 100%;
    background: #010101; 
    color: #fcfcfc;
    text-transform: uppercase;
    text-decoration: none;
	letter-spacing: 0.1em;
    display: inline-block;
	border: none;	
	cursor: pointer;
}  

.error { font-size: 12px; font-style: italic; padding: 5px 0; color: #ff0000; }
input.error, textarea.error { background: transparent; color:#646464; }

/* SIDEBAR */

aside {
	min-width: 340px;
	max-width: 340px;
}

aside .sidebox {
	margin: 0 auto 60px auto;
	font-size: 12px;
	text-align: justify;
	position: relative;
	display: block;
}

aside h4.sidetitle {
	margin: 0 auto 20px auto;
	padding: 10px;
	background: #010101;
	color: #fcfcfc;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	box-sizing: border-box;
	display: block;
	position: relative;
}

/* PROJECTS */

aside .proj {
	margin: 0 auto 40px auto;
	padding: 0;
	display: block;
	position: relative;
}

aside .proj img {
	margin: 0; padding: 0;
	border: none;
}

aside .proj ul.links {
	margin: 15px auto 0 auto;
	padding: 10px;
	font-size: 10px;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
	display: block;
	position: relative;
}

aside .proj ul.links li {
	width: auto;
	margin: 0;
	padding: 0;
	border-bottom: none;
}

aside .proj ul.links li a {
	color: inherit;
	font-weight: 400;
}

article .entry blockquote, aside blockquote {
	width: 100%;
	max-width: 100%;
	margin: 20px auto;
	padding: 15px;
	color: inherit;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
	quotes: "\201C" "\201D" "\2018" "\2019";
	position: relative;
	z-index: 25;
}

article .entry blockquote::before {
	content: '\201C';
	font-family: 'Old Standard TT', serif;
	font-size: 40px;
	font-weight: 700;
	position: absolute;
	top: 0; left: 0;
	height: 2px;
	margin: -2px 0 0 8px;
	padding: 0 5px;
	background: #fcfcfc;
	color: #a3a3a3;
	text-align: center;
	display: inline-block;
	z-index: 25;
}

aside blockquote {
	font-style: italic;
}

aside blockquote p:only-of-type {
	margin-bottom: 0;
}

article .gallery {
	margin: 20px 0;
	background-image: url("../images/gallery.png");
	background-position: left center;
	background-repeat: no-repeat;
	max-width: 100%;
	min-height: 70px;
	padding-left: 95px;
	box-sizing: border-box;
	position: relative;
	display: -webkit-box;
	display: -moz-box;
	-webkit-box-align: center;
	-moz-box-align: center;
}

article a.more-link {
	margin: 25px auto 0 auto;
	font-size: 10px;
	font-weight: 700;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	position: relative;
}

article a.more-link span {
	background: #010101;
	color: #fcfcfc;
	padding: 7px 8px 8px 8px;
	display: inline-block;
	position: relative;
	z-index: 25;
}

aside #searchform {
	margin: 0 auto;	
	color: #646464;
}

#searchform {
	margin: 0 auto;
	color: #646464;
	position: relative;
}

#searchform #s {
	width: 100%;
	background: #f0f0f0;
	color: #646464;
	margin: 0 auto; padding: 10px;
	font-family: 'IBM Plex Serif', serif;
	font-size: 13px; font-weight: 400;
	text-transform: none;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
	display: block;
}

#searchform::after {
	content: "\f002";
	position: absolute;
	top: 20%; right: 10px;
	margin: auto;
	color: #646464;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

#searchform input#s:focus { background: #fffaff; outline: none; border-color: #646464; }
input::-webkit-input-placeholder { color: #646464 !important; }
input::-moz-placeholder { color: #646464 !important; }
input::-ms-input-placeholder { color: #646464 !important; }
#searchsubmit, .screen-reader-text { display:none; }

/* PAGINATION */

#pagination {
	margin: 0 auto;
	padding: 0 0 0 40px;
	font-size: 10px;
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
	display: block;
}

#pagination a, #pagination span {
	background: transparent;
	color: #646464;
	margin: 0 3px;
	padding: 7px 10px 8px 10px;
	line-height: 100%;
	display: inline-block;
	border: 1px solid #f0f0f0;
}

#pagination .total {
	margin-left: 0;
	margin-right: 9px;
	padding: 7px 10px 8px 10px;
	letter-spacing: 0.1em;
}

#pagination .current {
	background: #f0f0f0;
	color: #646464;
	border-color: #f0f0f0;
}

#pagination .total {
	background: #010101;
	color: #fcfcfc;
	border-color: #010101;
}

/* FOOTER */

footer {
	margin-top: 50px;
}

footer ul#cred {
	margin: 0 0 5px 20px;
}