body {
	background-color: hsl(220, 90%, 7%);
	color: white;
}

.paginate-nav {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 2em;
}

body { font-size: 120%; margin: 0 }

article, header, footer, main {
	box-sizing: border-box;
}

main, header, footer, .container {
	max-width: 100%;
	width: 60em;
	margin: 0 auto;
}

main, .container {
	background-color: hsl(220, 20%, 13%);
}

main {
	padding: 0.5em 2em;
}

.blog-list ul {
	list-style: none;
	padding-left: 0;
}

.blog-list h2 {
	margin-bottom: 0.5em;
	margin-top: 1em;
}

header, footer {
	background-color: hsl(220, 10%, 8%);
}

footer {
	height: 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

header nav {
	height: 4rem;
	font-size: 105%;
	line-height: 4rem;
}

header nav ul, ul.socials {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	display: flex;
	flex-direction: row;
	margin: 0;
}

ul.socials {
	justify-content: center;
	width: 100%;
}

ul.socials li { margin-left: 1em; }
ul.socials li:first-of-type { margin-left: 0; }

header nav ul li:first-of-type {
	margin-right: auto;
}

header nav ul li:last-of-type {
	margin-right: 1em;
}

header nav ul li {
	padding-left: 0;
	margin-left: 1em;
}

header {
	border: 1px solid hsl(195, 30%, 70%);
	border-top: none;
}

.published {
	border: 1px solid darkgrey;
	border-left: none;
	border-right: none;
	width: fit-content;
	padding: 0.75em 1em;
	margin: 1em 0;
	font-style: italic;
}

.published > * {
	font-style: initial;
}

.no-border { 
	border: none !important;
}

.published.no-border {
	border:none;
	padding: 0;
	margin: 0;
	font-style: italic;
}

header a, header a:visited, footer a, footer a:visited { color: white }

main a, main a:visited {
	color: hsl(200, 90%, 50%);
}

.results a { text-decoration: none; }
.results a:hover { text-decoration: underline; }

main {
	min-height: calc(100vh - 8rem);
}

pre code.hljs {
	border: 2px solid #ccc;
	border-radius: 0.5em;
	overflow: auto;
	width: 80%;
	min-width: 17em;
	margin: 1.5em auto;
	padding: 1.2em 2em;
}

footer img { width: 1em; }

.figure-elem {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.color-blue { color: rgb(51, 125, 255); }
.color-violet { color: rgb(237, 123, 237); }
.color-teal { color: rgb(114, 255, 255); }
.color-red { color: rgb(255, 26, 26); }

img {
	margin: 1em auto;
	max-width: 80%;
}

table {
	width: 90%;
	margin: 0.5em auto;
	border-collapse: collapse;
}

td {
	padding: 0.25em 0.5em;
}

.row-top-border {
	border-top: 1px solid white;
}

.border-left {
	border-left: 1px solid white;
}

.border-right {
	border-right: 1px solid white;
}

.text-center, .center { text-align: center; }


