html {
	font-size: 16pt;
}
body {
	margin: 0;
	padding: 0;
}
#top-navbar {
	padding: 1em 2em;
}
.menu-link {
	padding: 0 1em;
}
.section-footer {
	text-align: right;
}
.section-header {
	margin: 0 0.5em;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
}
.time {
	float: right;
}
.lastmod::before {
	content: '🕒';
}
.category::before {
	content: '🗄️';
}

.home-section:hover {
	background: repeating-linear-gradient(
  -45deg,
  lightgrey,
  lightgrey 20px,
  whitesmoke 20px,
  whitesmoke 40px
);
	border: 1px solid darkgrey;
}
.home-section:hover .home-card {
	background: white;
}

.tags::before {
	content: '🏷';
}
.pubtime::before {
	content: '🗒';
}

#content {
	margin: 0 2em;
	display: flex;
	align-items: center;
	justify-content: center;
}

main {
	max-width: 1400px;
}

#thoughts-projects-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-template-rows: auto;
	grid-template-areas:
		"thoughts projects projects"
		"thoughts posts posts";
	grid-gap: 1rem;
}

#stream-of-thoughts {
	grid-area: thoughts;
}

#projects-section {
	grid-area: projects;
}

#posts-section {
	grid-area: posts;
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1rem;
}

#posts-section > .home-card:first-child {
	grid-column: span 2;
}

.home-section {
	border-radius: 0.5em;
	border: 1px solid white;
}

.home-card {
	display: flex;
	flex-direction: column;
	height: auto;
  border-left: 0.5em white solid;
  border-right: 0.5em white solid;
	border-radius: 0.4em;
	padding: 0.1em;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link .home-card {
}

.card-link .card-border {
	margin: 0.5em;
	border: 0.1em black solid;
	border-radius: 0.5em;
}

.card-link:hover .home-card {
  border-left: 0.5em black solid;
  border-right: 0.5em black solid;
}

.card-link:visited {
  text-decoration: none;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1em 2em;
	margin: 2em 0;
	line-height: 1.5em;
}

.social-links {
	align-self: flex-start;
	min-width: 240px;
}

.social-links a {
	font-size: 1.5em;
	margin-right: 0.25em;
	color: black;
}

.site-links {
	list-style-type: none;
	margin: 0;
	padding: 0;
	align-self: flex-end;
	display: grid;
	width: 300px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.card-content {
	flex-grow: 1;
}
.card-footer {
	display: inline-block;
	width: 100%;
	align-self: flex-end;
}

blockquote {
	border-left: 0.25em grey solid;
	padding-left: 0.25em;
	font-size: 0.9em;
}

#single-content-wrapper {
	max-width: 100%;
	width: 50em;
}

#single-content {
	font-size: 20pt;
	line-height: 1.5em;
}

#single-content code {
	font-size: 0.9em;
}

#single-content pre > code {
	display: block;
	font-size: 0.75em !important;
	line-height: 2em;
}

#about-content-wrapper {
	max-width: 100%;
	width: 50em;
}

#about-content {
	font-size: 24pt;
	line-height: 1.5em;
}

@media (max-width: 1150px) {
	main {
		max-width: 95% !important;
	}
	#about-content {
		font-size: 20pt;
	}
	#single-content {
		font-size: 16pt;
	}
	#thoughts-projects-posts {
		grid-template-columns: 1fr 1fr !important;
		grid-template-areas: 
			"projects projects"
			"posts posts"
			"thoughts thoughts" !important;
	}
	#stream-of-thoughts {
		grid-area: thoughts;
		display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    	grid-gap: 1rem;
	}
}

@media (max-width: 800px) {
	main {
		max-width: 95% !important;
	}
	#about-content {
		font-size: 14pt;
	}
	#single-content {
		font-size: 16pt;
	}
	#thoughts-projects-posts {
		grid-template-columns: 1fr !important;
		grid-template-areas: 
			"projects"
			"posts"
			"thoughts" !important;
	}
	.home-card {
		grid-column: span 1 !important;
	}
}
