/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/https/danb.me/blog/fonts/inter-v7-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/https/danb.me/blog/fonts/inter-v7-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-600 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('/https/danb.me/blog/fonts/inter-v7-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/https/danb.me/blog/fonts/inter-v7-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-700 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('/https/danb.me/blog/fonts/inter-v7-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/https/danb.me/blog/fonts/inter-v7-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


:root {
	--primary: #2791D0;
}

html, body {
	padding: 0;
	margin: 0;
}

body {
	background-color: #FFFFFF;
	font-family: 'Inter', -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

header {
	border-top: 8px solid var(--primary);
	font-weight: bold;
}


header a {
	text-decoration: none;
	color: #444;
}
header a:hover {
	text-decoration: underline;
}


h1 {
	margin-block-start: .2em;
	margin-block-end: 0;
	font-size: 3rem;
	line-height: 1.2;
}

h2, h3 {
	margin-block-start: 1.5em;
	margin-block-end: .75em;
}

blockquote {
	border-left: 3px solid var(--primary);
	margin-left: 0;
	padding: 8px 24px;
	font-style: italic;
	color: #444;
	background-color: #EEE;
	box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.3);
	position: relative;
	font-size: 0.95rem;
}

blockquote > p:last-child {
	margin-bottom: 0;
}

p {
	margin-top: 0;
	margin-bottom: 1.4rem;
}

a {
	color: var(--primary);
}
a:hover {
	color: #026E9E;
}

pre {
	font-family: monospace;
	border-radius: 3px;
	box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, 0.12);
	color: #444;
	overflow-x: scroll;
	padding: 16px;
	font-size: 0.8em;
}
pre code {
	display: block;
}

p > code {
	background-color: rgba(27, 31, 35, 0.05);
	font-family: monospace;
	font-size: 0.85em;
	padding: .2em .4em;
	border-radius: 4px;
}

hr {
    border: none;
    border-top: 3px dotted #DDD;
    margin: 2rem 0;
}

footer {
	text-align: center;
	font-size: 0.9rem;
	font-style: italic;
	margin-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.container {
	padding: 12px 16px;
	max-width: 800px;
	margin: 0 auto;
}

.float-right {
	float: right;
}

.posts .post {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1rem 0;
}
.posts h2 {
	margin: 0;
	font-size: 1rem;
}
.posts h2 a {
	color: #222;
	text-decoration: none;
}
.posts h2 a:hover {
	color: var(--primary);
	text-decoration: underline;
}

.posts .post-date {
	font-size: 1rem;
	color: #666;
	font-family: monospace;
}

.post-meta {
	margin-block-end: 2em;
}

.post-date {
	color: #444;
	margin-inline-end: 0.4rem;
	display: inline-block;
	font-weight: bold;
}

.post-meta .post-date {
	margin-bottom: 0;
}

.post-meta .post-tags a {
	text-decoration: none;
	font-weight: 600;
}

.post-footer {
	margin-block-start: 2em;
	border-top: 3px dotted #DDD;
	padding-block-start: 2em;
	font-size: 0.9em;
	color: #222;
}

.post-footer .post-list {
	border-top: 3px dotted #DDD;
	margin-block-start: 2em;
	padding-block-start: 1em;
	margin-block-end: 2rem;
}

.tag-list > div {
	display: flex;
	column-gap: 1rem;
	row-gap: .2rem;
	flex-wrap: wrap;
}
.tag-list a {
	text-decoration: none;
}

.blogpost-list-small {
	text-decoration: none;
}

.list-header h1 {
	margin-block-end: 0;
}

.pagination {
	margin-top: 1rem;
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.10);
}

.content-flex-row > p {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.content-flex-row > p > * {
	flex: 1;
	min-width: 200px;
}

.content-update {
	background-color: #E2EDF3;
	padding: 0.7rem 1rem 0.5rem 1rem;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	line-height: 1.4;
	border: 1px solid var(--primary);
	position: relative;
	box-sizing: border-box;
}
.content-update p:last-child {
	margin-bottom: 0;
}
.content-update-header {
	font-weight: 600;
	font-size: 0.6rem;
	color: #FFF;
	margin-bottom: 0.2rem;
	background-color: var(--primary);
	padding: 2px 8px;
	position: absolute;
	top: -10px;
	left: -1px;
}

.ll-nam { /* words */
    color: #2196f3;
}
.ll-num { /* numbers */
    color: #ec407a;
}
.ll-str { /* strings */
    color: #43a047;
}
.ll-rex { /* regular expressions */
    color: #ef6c00;
}
.ll-pct { /* operators, punctation */
    color: #666;
}
.ll-key { /* keywords */
    color: #555;
    font-weight: bold;
}
.ll-com { /* comments */
    color: #aaa;
    font-style: italic;
}

@media screen and (max-width:  600px) {
	h1 {
		font-size: 2rem;
	}
}

/**
 * Code Syntax Highlighting
 */

/* Background */ .bg { color: #f8f8f2; background-color: #272822; }
/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #272822; }
/* Other */ .chroma .x {  }
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
/* CodeLine */ .chroma .cl {  }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #66d9ef }
/* KeywordConstant */ .chroma .kc { color: #66d9ef }
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
/* KeywordPseudo */ .chroma .kp { color: #66d9ef }
/* KeywordReserved */ .chroma .kr { color: #66d9ef }
/* KeywordType */ .chroma .kt { color: #66d9ef }
/* Name */ .chroma .n {  }
/* NameAttribute */ .chroma .na { color: #a6e22e }
/* NameBuiltin */ .chroma .nb {  }
/* NameBuiltinPseudo */ .chroma .bp {  }
/* NameClass */ .chroma .nc { color: #a6e22e }
/* NameConstant */ .chroma .no { color: #66d9ef }
/* NameDecorator */ .chroma .nd { color: #a6e22e }
/* NameEntity */ .chroma .ni {  }
/* NameException */ .chroma .ne { color: #a6e22e }
/* NameFunction */ .chroma .nf { color: #a6e22e }
/* NameFunctionMagic */ .chroma .fm {  }
/* NameLabel */ .chroma .nl {  }
/* NameNamespace */ .chroma .nn {  }
/* NameOther */ .chroma .nx { color: #a6e22e }
/* NameProperty */ .chroma .py {  }
/* NameTag */ .chroma .nt { color: #f92672 }
/* NameVariable */ .chroma .nv {  }
/* NameVariableClass */ .chroma .vc {  }
/* NameVariableGlobal */ .chroma .vg {  }
/* NameVariableInstance */ .chroma .vi {  }
/* NameVariableMagic */ .chroma .vm {  }
/* Literal */ .chroma .l { color: #ae81ff }
/* LiteralDate */ .chroma .ld { color: #e6db74 }
/* LiteralString */ .chroma .s { color: #e6db74 }
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
/* LiteralStringChar */ .chroma .sc { color: #e6db74 }
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
/* LiteralStringEscape */ .chroma .se { color: #ae81ff }
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
/* LiteralStringOther */ .chroma .sx { color: #e6db74 }
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
/* LiteralNumber */ .chroma .m { color: #ae81ff }
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
/* Operator */ .chroma .o { color: #f92672 }
/* OperatorWord */ .chroma .ow { color: #f92672 }
/* Punctuation */ .chroma .p {  }
/* Comment */ .chroma .c { color: #a8a38d }
/* CommentHashbang */ .chroma .ch { color: #a8a38d }
/* CommentMultiline */ .chroma .cm { color: #a8a38d }
/* CommentSingle */ .chroma .c1 { color: #a8a38d }
/* CommentSpecial */ .chroma .cs { color: #a8a38d }
/* CommentPreproc */ .chroma .cp { color: #a8a38d }
/* CommentPreprocFile */ .chroma .cpf { color: #a8a38d }
/* Generic */ .chroma .g {  }
/* GenericDeleted */ .chroma .gd { color: #f92672 }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr {  }
/* GenericHeading */ .chroma .gh {  }
/* GenericInserted */ .chroma .gi { color: #a6e22e }
/* GenericOutput */ .chroma .go {  }
/* GenericPrompt */ .chroma .gp {  }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #a8a38d }
/* GenericTraceback */ .chroma .gt {  }
/* GenericUnderline */ .chroma .gl {  }
/* TextWhitespace */ .chroma .w {  }