/*! system-font.css v1.1.0 | CC0-1.0 License | github.com/jonathantneal/system-font-face */

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: normal;
	font-weight: 300;
	src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Segoe UI Light"), local("Ubuntu Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: italic;
	font-weight: 300;
	src: local(".SFNSText-LightItalic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Light Italic"), local("Ubuntu Light Italic"), local("Roboto-LightItalic"), local("DroidSans"), local("Tahoma");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: normal;
	font-weight: 400;
	src: local(".SFNSText-Regular"), local(".HelveticaNeueDeskInterface-Regular"), local(".LucidaGrandeUI"), local("Segoe UI"), local("Ubuntu"), local("Roboto-Regular"), local("DroidSans"), local("Tahoma");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: italic;
	font-weight: 400;
	src: local(".SFNSText-Italic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Italic"), local("Ubuntu Italic"), local("Roboto-Italic"), local("DroidSans"), local("Tahoma");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: normal;
	font-weight: 500;
	src: local(".SFNSText-Medium"), local(".HelveticaNeueDeskInterface-MediumP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold"), local("Ubuntu Medium"), local("Roboto-Medium"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: italic;
	font-weight: 500;
	src: local(".SFNSText-MediumItalic"), local(".HelveticaNeueDeskInterface-MediumItalicP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold Italic"), local("Ubuntu Medium Italic"), local("Roboto-MediumItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: normal;
	font-weight: 700;
	src: local(".SFNSText-Bold"), local(".HelveticaNeueDeskInterface-Bold"), local(".LucidaGrandeUI"), local("Segoe UI Bold"), local("Ubuntu Bold"), local("Roboto-Bold"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	font-style: italic;
	font-weight: 700;
	src: local(".SFNSText-BoldItalic"), local(".HelveticaNeueDeskInterface-BoldItalic"), local(".LucidaGrandeUI"), local("Segoe UI Bold Italic"), local("Ubuntu Bold Italic"), local("Roboto-BoldItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}

/*@import "darkula"; */

/* color theme
https://color.adobe.com/create/color-wheel/?base=2&rule=Triad&selected=2&name=My%20Color%20Theme&mode=rgb&rgbvalues=0.4686274509803922,0.0707723089235694,0.1156914378654279,0.8071895424836601,0.7823796647805795,0.12190209417100167,0.7686274509803922,0.0392156862745098,0.12156862745098039,0.08587434973989591,0.4109882096586473,0.5686274509803921,0.000478191276510558,0.31575697964541544,0.4686274509803922&swatchOrder=0,1,2,3,4
*/

/*
$secondary: #166991;
$secondary-dark: #005177;
$tertiary: #CEC81F;

$primary: hsl(0, 80%, 75%);
$primary-dark: hsl(0, 90%, 45%);
$secondary: hsl(203, 90%, 55%);
$secondary-dark: hsl(203, 85%, 45%);
*/

* {
	box-sizing: border-box;
}

body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
	margin: 0;
	padding: 0;
}

iframe {
	border: .1em solid #77121E;
	min-width: 280px;
	min-height: 280px;
}

#header-container {
	background: hsl(240, 44%, 55%);
	position: relative;
	height: 4.4rem;
}

#header-container .icon, #header-container .name {
		position: relative;
		display: inline-block;
		line-height: 4rem;
		height: 4rem;
		color: white;
		text-decoration: none
	}

#header-container .icon::after, #header-container .name::after {
			position: absolute;
			right: -4.99rem;
			width: 0; height: 0;
			border-style: solid;
			border-width: 4rem 5rem 0 0;
			display: inline-block;
			content: '';
		}

#header-container .icon {
		position: absolute;
		top: 0.4rem;
		width: 2rem;
		padding-left: 0.5rem;
		background-color: #77121E;
		background-image: url(./icon.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-size: 1.4rem;
		background-position: center right;

		z-index: 5
	}

#header-container .icon::after {
			border-color: #77121E transparent transparent transparent;
		}

#header-container .name {
		background-color: hsl(240, 54%, 25%);
		padding-left: 7rem;
		padding-right: 1rem;
		z-index: 1;
		font-size: 2rem
	}

#header-container .name::after {
			border-color: hsl(240, 54%, 25%) transparent transparent transparent;
		}

#main-container,
#footer-container {
	margin: 0 .5em;
}

article h2 { color: hsl(240, 44%, 55%); }

article h2 > a { text-decoration: none; }

article h3 { color: hsl(240, 44%, 55%); }

article h3 > a { text-decoration: none; }

article h4 { color: hsl(240, 44%, 55%); }

article h4 > a { text-decoration: none; }

article h5 { color: hsl(240, 44%, 55%); }

article h5 > a { text-decoration: none; }

article h6 { color: hsl(240, 44%, 55%); }

article h6 > a { text-decoration: none; }

a, a:visited {
	color: hsl(240, 54%, 25%);
	color: hsl(240, 44%, 55%);
}

article {
	margin-top: 3em;
	overflow-x: auto;
}

article img, article figure, article svg {
		max-width: 100%;
	}

article h1 a,
	article h1 a:visited {
		color: #c40a1f;
	}

article h1 {
		font-size: 1.8rem;
		margin-bottom: 0;
	}

article h2 {
		font-size: 1.4rem;
	}

article h3 {
		font-size: 1.17rem;
	}

article .date {
		color: #aaa;
		font-weight: normal;
		margin-top: 0;
	}

article:first-of-type {
	margin-top: 0;
}

article:last-of-type {
	margin-bottom: 0;
}

#pagination {
	height: 3em;
	margin-top: 3em;
	margin-bottom: 2em;
}

#pagination .left {
		float: left;
	}

#pagination .right {
		float: right;
	}

a.button, .button {
	display: inline-block;
	width: 10rem;
	max-width: 40%;
	background: #c40a1f;
	border: .3rem solid #c40a1f;
	border-radius: .2rem;
	padding: .5rem;
	color: #fff;
	text-decoration: none;
	text-align: center
}

a.button:hover, .button:hover {
		border-bottom-color: #77121E;
	}

a.button.primary, .button.primary {
		background-color: #c40a1f;
		border-color: #c40a1f
	}

a.button.primary:hover, .button.primary:hover {
			border-bottom-color: #77121E;
		}

a.button.secondary, .button.secondary {
		background-color: hsl(240, 44%, 55%);
		border-color: hsl(240, 44%, 55%)
	}

a.button.secondary:hover, .button.secondary:hover {
			border-bottom-color: hsl(240, 54%, 25%);
		}

button.readmore, .button.readmore {
	display: block;
	clear: both;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

/* fixes for mobile view */

article ul, header {
	overflow: hidden;
}

figure img {
	max-width: 100%;
}

/* end fixes for mobile view */

@media screen and (min-width: 800px) {
	#main-container {
		width: 80%;
		margin: 0 auto;
    }
}

@media screen and (min-width: 1200px) {
	#main-container {
		max-width: 1200px;
	}
}

/* prism overwrite styles */

pre[class*="language-"] > code {
    position: relative;
    border-left: 10px solid hsl(240, 44%, 55%);
    box-shadow: -1px 0px 0px 0px hsl(240, 44%, 55%), 0px 0px 0px 1px #dfdfdf;
	background-color: #fdfdfd;
}
