/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

:root {
  color-scheme: light dark;
}

html {
	font-size: 15px;
	font-family: sans-serif;
	line-height: 1.4;
}

main {
	width: 600px;
	margin: 0 auto;
}

nav {
	display: flex;
	align-items: center;
	margin-top: 1rem;
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
	text-decoration: none;
}

pre, code {
	font-size: 0.9em;
}

code {
	padding: 0 0.2em;
}

pre > code {
	padding: 0;
}

.logo {
	height: 2rem;
}

a.home {
	text-decoration: none;
	padding-left: 0.5rem;
	font-size: 1.5rem;
}

hr {
	font-size: 3rem;
}

.blog-posts-list {
	max-height: 50vh;
	overflow-y: scroll;
}

section.content {
	p img {
		width: 100%;
	}
}

.codehilite > pre {
	overflow: scroll;
	padding: 0.5rem;
}

@media (width < 600px) {
	main {
		width: 100%;
		margin: auto;
	}

	nav, footer, section.content {
		padding: 0 1rem;
	}
}
