@font-face {
	font-family: Oswald;
	src: url('/assets/fonts/Oswald/Oswald-Light.ttf');
}
@font-face {
	font-family: PT;
	src: url('/assets/fonts/PT/PT_Serif-Web-Regular.ttf');
}
@font-face {
	font-family: Oxygen;
	src: url('/assets/fonts/Oxygen/Oxygen-Regular.ttf');
}
html, body {
	margin: 0;
	padding: 0;
}

body {
	display:flex;
	flex-direction: column;
	background: whitesmoke;
	min-height: 100vh;
}

h1 {
	font-family: Oswald;
}

a {
	text-decoration: none;
	color: #040E14;
}

a:hover, a:active {
	text-decoration: none;
}

/*a:link, a:visited, a:focus {
	text-decoration: none;
}*/

/* HEADER
---------------------------------------------------------------- */
#header {
	background: linear-gradient(to right, orange, white);
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, .2);
	justify-content: center;
}

#header #h1 {
	display: flex;
	flex-direction: row;
	align-items: center;
}

#header #h1 .gnu {
	width: 16vmin;
	/*margin-right: 20em;*/
	margin-right: 22vmin;
}

#header #h2 {
	width: 100%;
	background: #383838;
	color: white;
	font-family: Oxygen;
}

#header #h2 > div {
	margin-left: 22vmin;
}

#header .title {
	flex-grow: 1;
	margin-left: 22vmin;
	color: black;
	font-size: 2em;
}

#header .iconBar {
	display: inline-block;
	margin-right: 8vmin;
}

#header .iconBar .icon {
	width: 30px;
	opacity: .5;
}

#header .iconBar .icon:hover {
	opacity: .9;
}

/* MAIN
------------------------------------------------------------- */
#main {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	position: relative;
}

/* MAIN - SIDEBAR
------------------------------------------------------------- */
#sideBar {
	/*background: white;*/
	display: flex;
	flex-direction: column;
	padding: 2em;
	font-family: Oxygen;
}

/* MAIN - SIDEBAR - MENU
------------------------------------------------------------- */
#sideBar ul {
	padding: 0;
	margin: 0;
	text-align: center;
}

#sideBar li {
	list-style-type: none;
}

#sideBar li a {
	display: block;
	padding: .5em 6em .5em 6em;
	white-space: nowrap;
}

/* MAIN - SIDEBAR - MENU
------------------------------------------------------------- */
#sideBar #menu {
	background: white;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

#sideBar #menu li:hover {
	background: rgb(255,211,131);
}

/* MAIN - SIDEBAR - BLOGROLL
------------------------------------------------------------- */
#sideBar #blogroll {
	margin-top: 2em;
	background: white;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

#sideBar #blogroll p {
	background: #383838;
	color: white;
	margin: 0;
	padding: .5em 6em .5em 6em;
	text-align: center;
}

#sideBar #blogroll li:hover {
	background: rgb(255, 211, 131);
}

/* MAIN - SIDEBAR - FIREFOX
------------------------------------------------------------- */
#sideBar #firefox {
	margin-top: 2em;
	text-align: center;
	filter: drop-shadow(0 0 3px rgba(20, 20, 20, .9));
}

/* MAIN - CONTENT
------------------------------------------------------------- */
#content {
	flex-grow: 1;
	padding: 2em 0;
}

/* MAIN - CONTENT - ARTICLE
------------------------------------------------------------- */
.article {
	padding: 0 1em 0em 1em;
	margin: 0 auto 0em auto;
	max-width: 800px;
}

.article a:hover, a:active {
	text-decoration: underline;
}

.article h2 {
	text-align: center;
	font-family: Oswald;
	font-size: 2em;
}

.article .image img {
	width: 100%;
}

.article .date {
	text-align: center;
	font-style: italic;
}

.article .article-content {
	font-family: PT, Georgia, sans-serif;
	font-size: 1.2em;
	line-height: 1.4;
	color: rgb(50, 50, 50);
}

.article .categories {
	text-align: right;
	/*font-style: italic;*/
}

.article .categories a {
	text-decoration: underline;
	font-style: italic;
}

.article + .article:before {
	content: '';
	display: block;
	width: 95%;
	height: 2px;
	background: grey;
	margin: 10em auto;
}

/* MAIN - ARTICLE - COMMENTS
------------------------------------------------------------- */
#comments {
	padding: 0 1em 0 1em;
	margin: 0 auto 0 auto;
	max-width: 800px;
	font-family: PT;
}

#comments form {
	display: flex;
	flex-direction: column;
}

#comments form textarea {
	width: auto;
	height: 10em;
}

#comments form > * {
	margin-top: 1em;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,.12);
	border: 1px rgb(20,20,20);
	padding: .6em;
}

#comments form .captcha {
	border: none;
	box-shadow: none;
	padding: 0;
}

.captcha {
	border: none;
	box-shadow: none;
	display: flex;
	flex-direction: row;
}

.captcha > * {
	border: 1px rgb(20,20,20);
	box-shadow: 0 1px 2px 0 rgba(0,0,0,.12);
}

.captcha [type="text"] {
	flex-grow: 1;
	margin-left: 1em;
	padding: .6em;
}

#comments [type="submit"] {
	background: #383838;
	color: white;
	opacity: .9;
	width: 25%;
	margin: 1em auto;
	cursor: pointer;
}

#comments [type="submit"]:hover {
	opacity: .6;
}

#comments + .commentBox:before {
	content: '';
	display: block;
	width: 95%;
	height: 2px;
	background: grey;
	margin: 10em auto;
}

.commentBox {
	display: flex;
	flex-direction: row;
	margin-top: 2em;
	background: white;
	box-shadow: 0 3px 2px 0 rgba(0,0,0,.12);
	border: 1px rgb(20,20,20);
	padding: 1em;
}

.commentBox > * {
	
}

.commentBox .date {
	font-style: italic;
}

.commentInfo {
	display: flex;
	flex-direction: column;
}

.commentInfo .date {
	padding-top: 1em;
}

.comment {
	flex-grow: 1;
	padding-left: 2em;
	word-wrap: break-word;
	flex-basis: -moz-max-content;
}

/* MAIN - PAGINATION
------------------------------------------------------------- */
.pagination {
	text-align: center;
	padding-top: 3em;
}

.pagination a {
	background: #383838;
	color: white;
	opacity: .9;
	padding: 1em;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}

.pagination a:hover {
	opacity: .6;
}

.pagination a + a {
	margin-left: 2em;
}

/* FOOTER
------------------------------------------------------------- */
#footer {
	color: rgba(91, 91, 75, .8);
	text-align: center;
	padding-top: 2em;
}

#footer span {
	margin: 0 .3em 0 .3em;
}

/* MEDIA QUERIES
------------------------------------------------------------- */
@media (max-width: 880px) {
	#header #h1 {
		flex-direction: column;
	}

	#header #h1 .title {
		margin-left: 0;
	}

	#header #h1 .gnu {
		display: none;
	}

	#main {
		flex-direction: column;
	}

	#main #content .article {
		margin: 0;
	}
}
