:root {
	--darkestColor: #315659;
	--darkColor: #253031;
	--lightColor: #e6f8c9;
	--lightestColor: #fff;
	--primaryColor: #dad865;
	--accentColor: #87C06C;
}

::selection {
	background: var(--lightColor);
}

* {
	font-family: "IBM Plex Sans", sans-serif;
}

html {
	line-height: 1.6;
}

body {
	margin: 0;
	font-family: sans-serif;
	background: var(--darkColor);
	color: var(--lightColor);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--lightestColor);
	font-family: "Jersey 25", monospace;
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: none;
	color: #E1F8D0;
	text-shadow: 1px 1px var(--accentColor);
}

h1 {
	margin-top: 0;
	line-height: 1em;
	font-size: 2.5em;
}

h2 {
	margin-top: 50px;
	line-height: 1em;
	font-size: 2em;
}

h3 {
	margin-top: 0;
	line-height: 1em;
	font-size: 1.75em;
}

h4 {
	margin-top: 0;
	line-height: 1em;
	font-size: 1.2em;
}

h5 {
	margin-top: 0;
	line-height: 1em;
	font-size: 1em;
}

hr {
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	margin: 10px 0 20px 0;
}

a {
	color: var(--primaryColor);
	transition: color 0.35s;
	text-decoration: none;
}

a:hover {
	color: var(--lightestColor);
}

code {
	font-size: 1em;
	color: rgba(var(--lightColor), .8);
	text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-family: "IBM Plex Mono", monospace;
}

pre {
	font-size: 1rem;
	line-height: 1.2em;
	margin: 0;
	overflow: auto;
	font-family: "IBM Plex Mono", monospace;
}

.app-header {
	padding: 2.5em;
	background: var(--darkestColor);
	min-height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 20rem;
}

.app-header-avatar {
	width: 15rem;
	height: 15rem;
}

.app-container {
	padding: 2.5rem 5rem 2.5rem 5rem;
	max-width: 60rem;
	min-width: 250px;
	line-height: 1.8em;
	margin-left: 20rem;
}

.app-header-social {
	display: flex;
	font-size: 2em;
	color: var(--lightestColor);
}

.app-header-social a:not(:last-child) {
	margin-right: 0.4em;
}

.app-header-title {
	color: var(--lightestColor);
	display: block;
	font-size: 2em;
	margin: 0.67em 0;
	font-weight: bold;
	font-family: "Jersey 25", monospace;
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: none;
	text-shadow: 1px 1px var(--accentColor);
}

div.footnotes {
	font-variant: small-caps;
	text-transform: lowercase;
	line-height: 1.2em;
}

@media (max-width: 940px) {
	.app-header {
		width: 100rem;
		min-height: 0vh;
		padding: 1em 1em 0.1em 1em;
		position: static;
		text-align: center;
		width: 100%;
	}

	.app-container {
		padding: 1rem 1.5rem;
		margin: 0;
	}

	.app-header-avatar {
		width: 5rem;
		height: 5rem;
	}

	.app-header-title {
		margin: 0;
	}

	.app-header-social {
		align-items: center;
		justify-content: center;
		font-size: 1.2em;
	}
}

@media (max-width: 450px) {
	.tags-list {
		padding: 0;
	}

	.tags-list-item {
		display: flex;
		align-items: center;
		list-style: none;
		padding: 0.4em 0;
	}

	.tags-list-item>.icon {
		margin-right: 0.4em;
	}

	.tags-list-item>.icon:not(:last-child) {
		border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
	}
}

.error-404 {
	text-align: center;
}


.error-404-image {
	margin: 0 auto;
	display: block;
	max-height: 400px;
	mix-blend-mode: lighten;
}

* {
	box-sizing: border-box;
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
}

.tags-list-item {
	width: calc(50% - 1em);
}

.tags-list-item:nth-child(even) {
	margin-left: 1em;
}

.tags-list-item:nth-last-child(2) {
	border: none;
}


.tag {
	display: inline-block;
	margin-right: 0.2em;
	padding: 0 0.6em;
	font-size: 0.9em;
	border-radius: 0.2em;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.1);
	transition: color 0.35s, background 0.35s;
}

.tag:hover {
	transition: color 0.25s, background 0.05s;
	background: rgba(255, 255, 255, 0.3);
}


.posts-list {
	padding: 0;
}

.posts-list-item {
	list-style: none;
	padding: 0.4em 0;
}

.posts-list-item:not(:last-child) {
	border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.posts-list-item-description {
	display: flex;
	align-items: center;
	font-size: 0.8em;
}

.posts-list-item-description>.icon {
	margin-right: 0.4em;
}

.posts-list-item-separator {
	margin: 0 0.4em;
}

.post-title {
	color: var(--lightestColor);
}

.tags-title {
	color: var(--lightestColor);
}

.post-meta>div {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.2em;
	font-size: 0.8em;
}

.post-meta>div .icon {
	margin-right: 0.4em;
}

.post-content>pre,
.post-content .highlight {
	margin: 1em 0;
}

.post-content>pre,
.post-content .highlight>pre,
.post-content .highlight>div {
	border-left: 0.4em solid var(--primaryColor);
	padding: 1em 1em;
}

.post-content blockquote {
	border-left: 0.4em solid var(--primaryColor);
	margin: 1em 0em;
	padding: 0.5em 1em;
	background: var(--darkestColor);
}

.post-content blockquote p {
	margin: 0.5em 0;
}

.post-content img {
	max-width: 100%;
}


.pagination {
	display: block;
	list-style: none;
	padding: 0;
	font-size: 0.8em;
	text-align: center;
	margin: 3em 0;
}

.page-item {
	display: inline-block;
}

.page-item .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
}

.page-item.active .page-link {
	color: var(--lightestColor);
	border-radius: 2em;
	background: var(--primaryColor);
}

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-top: -0.125em;
}