body {
	display: flex;
	flex-direction: column;
	font-family: "Open Sans", sans-serif;
	background-color: #FEFEFE;
	color: #333;
	height: 100vh;
}

main {
	flex: 1;
	margin: 0 1rem;
	line-height: 1.35;
}

table, th, td {
	border-collapse: collapse;
	border: solid 1px;
}

th, td {
	padding: 0.5rem;
}

pre, code {
	font-family: "Inconsolata", monospace;
}

pre {
	overflow: auto;
}

a {
	color: #069;
	text-decoration: none;
}

a:hover {
	color: #7AF;
}

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

.post-summary {
	overflow: hidden;
	margin: 1rem 0 1.5rem;
}

.post-summary > * {
	margin: 0.5rem 0;
}

.post-meta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	line-height: 1.5;
	color: #888;
}

.post-meta > * {
	margin-right: 1rem;
}

.post-meta i {
    margin-right: 0.25rem;
}

.post-meta a {
	color: #888;
}

.post-meta a:hover {
	color: #555;
}

.pagination-menu {
	display: flex;
	justify-content: space-between;
	padding: 0;
}

#post-header {
	margin: 1.5rem 0 2rem;
}

#post-header h1 {
	margin: 0;
}

#post-header .post-meta {
	margin: 0.5rem 0 0;
}

#page-header {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin: 0.5rem 1rem 2rem;
	cursor: default;
}

#page-title {
	align-self: center;
	margin: 0.5rem 0 1rem;
}

#page-subtitle {
	margin: 1rem 1rem 0;
	color: #BBB;
	align-self: center;
}

#page-navbar, #page-footer {
	align-self: center;
}

#navbar-menu, #footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navbar-menu .menu-link {
	display: block;
	margin: 0.5rem;
}

#footer-menu .menu-link {
	display: block;
	font-size: 1.5rem;
	margin: 1rem 0.5rem;
}

.post-summary, #post-content {
    line-height: 1.5;
}

#theme-button {
    position: fixed;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
}

@media (min-width: 1024px) {
	body {
		width: 75%;
		max-width: 60rem;
		margin: auto;
	}
}
