body {
	font-family: "Source Sans 3", monospace;
	font-weight: 400;
	font-style: normal;
	box-sizing: border-box;
}

h1,
h2 {
	font-family: "Source Sans 3", monospace;
	font-weight: 700;
	font-style: normal;
}

header {
	margin: 1em 5em;
	position: sticky;
	top: 0px;
	background-color: white;
}

main,
footer {
	margin: 5em;
}

nav {
	display: grid;
	flex-flow: row wrap;
	grid-template-columns: repeat(2, 1fr);
	align-items: baseline;
	font-size: 20px;
	z-index: 2;
}

#nav_links {
	display: flex;
	flex-flow: row wrap;
}

#nav_links a,
#lang a {
	text-decoration: none;
}

#nav_links a {
	padding: 0 1em;
}

#nav_links a.current-page {
	text-decoration: underline solid;
}

#nav_links a:hover,
#nav_links a:active,
#lang a:hover,
#lang a:active {
	outline: 1px solid grey;
	border-radius: 10px;
}

#lang {
	display: flex;
	flex-flow: column wrap;
	justify-self: end;
}

#lang:hover a {
	display: flex;
}

#lang a {
	display: none;
}

#lang a.selected {
	display: flex;
	align-items: center;
}

#lang a>* {
	padding: 0 1em;
}

.grid-3-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 1em;
}

.card {
	border: 1px solid rgb(202, 202, 202);
	border-radius: 5px;
	padding: 1em;
}

.github-link:after {
	padding-left: .5em;
	content: "";
	display: inline-block;
	background-repeat: no-repeat;
	background-image: url('../resources/img/github-mark.svg');
	background-size: 1em 1em;
	width: 1em;
	height: 1em;
}

a {
	text-decoration: underline dotted;
	color: #1D1B1B;
}

.project {
	padding: 1em;
}

.flex-col {
	display: flex;
	flex-flow: column wrap;
}

@media screen and (max-width: 800px) {
	header {
		margin: 1em 2.5em;
	}
}

@media screen and (max-width: 610px) {
	.grid-3-cols {
		grid-template-columns: 1fr;
		row-gap: 1em;
	}

	#lang {
		width: 100%;
	}
}

@media screen and (max-width: 550px) {
	main {
		margin: 2.5em;
	}

	header {
		margin: 1em 2em;
	}

	nav {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	#nav_links {
		flex-flow: column wrap;
	}

	#lang {
		align-content: center;
	}
}

@media screen and (max-width: 325px) {
	main {
		margin: 1.5em;
	}

	header {
		margin: 1em 0.5em;
	}
}