:root {
	--text-color: #1e1e2e;
	--highlight-color: #000000;
	--background-color: #e1e1e2;
	--second-background-color: #ffffff;
	--third-background-color: grey;
}

body {
	margin-top: 0px;
	padding:0;
	font-family: "IBM Plex Sans Condensed", sans-serif;
	font-size:100%;
	line-height:150%;
	background-color: var(--second-background-color);
	color: var(--text-color);
}

.container {
	width: 80%;
	height: 100%;
	padding: 1rem;
	margin:auto;
	background-color: var(--background-color);
}

a:link, a:visited {
	text-decoration: none;
	color: var(--text-color);
}

a:hover	{
	text-decoration: underline;
}


#main {
	width: 80%;
	margin: 0 auto;
}

header h1 {
	text-align: center;
}

#nav {
	text-align:center;
	margin:auto;
	margin-top:0px;
	padding-top:0px;
	margin-bottom:5px;
	padding-bottom:5px;
	border-bottom: 1px solid var(--text-color);;
}

#content-left {
	text-align:left;
	margin:auto;
	padding-top:5px;
	margin-bottom:20px;
	padding-bottom:20px;
}

#content {
	text-align:center;
	margin:auto;
	margin-top:20px;
	padding-top:20px;
	margin-bottom:20px;
	padding-bottom:20px;
}

#footer {
	text-align:center;
	margin:auto;
	font-size:0.8em;
	margin-bottom:10px;
	padding-bottom:10px;
	border-top: 1px solid var(--text-color);;
}

#logo	{
	text-align:center;
	margin: 20px auto 20px auto;
}

#logo img {
	max-width: 50%;
}

#content-left a:link, #content-left a:visited	{
	text-decoration: underline;
	color: var(--text-color);
}

#content-left a:hover	{
	text-decoration: none;
}

#post-short a:link, #post-short a:visited	{
	text-decoration: none;
	color: var(--text-color);
}

#post-short a:hover	{
	text-decoration: underline;
}

#post-short h3, #post h2	{
	margin-bottom: 0px;
}

#post-short i	{
	font-size:0.8em;
	color: var(--highlight-color);
}

#post i	{
	font-size:0.9em;
	color: var(--highlight-color);
}

#categories a, #categories a:link, #categories a:visited {
	background-color: var(--background-color);
	text-decoration: none;
	padding: 0.1em 0.5em 0.1em 0.5em;
	border-radius: 25px;
}

#categories a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 850px) {
	#main {
		width: auto;
		margin: 0 auto;
		padding: 10px;
	}

	#logo, #nav, #content-left,	#footer {
		display: block;
		width: 100%;
	}

	#logo img {
		max-width: 80%;
	}

	#nav {
		font-size: 2em;
		padding-bottom: 0.5em;
	}

	h2 {
		font-size: 3em;
	}

	h3 {
		font-size: 2em;
	}

}

@media screen and (max-width: 400px) {
	#main {
		width: auto;
		margin: 0 auto;
		padding: 10px;
	}

	#logo, #nav, #content-left,	#footer {
		display: block;
		width: 100%;
	}

	#logo img {
		max-width: 80%;
	}

	#nav {
		font-size: 1.1em;
		padding-bottom: 0.5em;
	}

	h2 {
		font-size: 2em;
	}

	h3 {
		font-size: 1.5em;
	}

}

/*
custom global things generated from the markdown
*/

table {
  table-layout: fixed;
  width: 60%;
  min-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  border: 2px solid var(--highlight-color);
  background-color: var(--second-background-color);
}

th,
td {
  padding: 0.6em;
}

tbody tr:nth-child(odd) {
  background-color: var(--background-color);
}
