@font-face {
	font-family: "Comfortaa";
	src: url("Comfortaa-Regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "Comfortaa";
	src: url("Comfortaa-Bold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: bold;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
}

body {
	background-color: #FFFFFF;
	background-image: url("http://refor.ch/img/background.png");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	font-size: 1.1em;
	line-height: 1.6;
	color: #10151F;
	font-family: Comfortaa,  sans-serif;
	text-align: center;
}

header {
	max-width: 920px;
	margin: 0 auto;
}

.content {
	text-align: justify;
	max-width: 800px;
	margin: 0 auto 80px;
}

h1, h2, h3, h4, h5  {
	line-height: 1.3;
	font-weight: bold;
	color: #215627;
}

h1 {
	text-align: center;
}

h2 {
	margin: 40px 0;
}

h3 {
	margin: 0 0 20px;
}

a, a:link, a:hover, a:focus, a:active {
	color: #637bae;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition-duration: 0.3s;
}

a:hover {
	border-bottom-color:  #637bae;
}

a:has(>img):hover {
	border-bottom-color: transparent;
}

nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: space-between;
	margin: 20px 0 80px;
}

nav a, nav a:link {
	display: block;
	background-color: white;
	padding: 8px;
	border: 2px solid #637bae;
	border-bottom: 2px solid #637bae;
	font-size: .9em;
}

nav a:hover {
	background-color: #637bae;
	color: #FFF;
}

nav a.active {
	background-color: #e5ecfb;
	color: #637bae;
}

blockquote {
	color:  #637bae;
	font-style: italic;
	margin: 60px 0 60px 220px;
	width: 580px;
	max-width: 100%;
}

img {
	max-width: 100%;
	width: auto;
	height: auto;
}

button {
	background-color: white;
	color: #637bae;
	text-align: center;
	border: 2px solid #637bae;
	padding: 10px 20px;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	margin: 20px;
	transition-duration: 0.3s;
	cursor: pointer;
}

button:hover {
	background-color: #637bae;
	color: #FFF;
}

button:hover a,
button a:hover {
	border-bottom-color: transparent;
	color: #FFF;
}

.legend {
	font-size: .9em;
	color:  #637bae;
	font-style: italic;
}

.flex {
	display: flex;
	gap: 40px;
	margin: 40px 0;
	align-items: center;
}

.flex .col-1-2 {
	flex: 1 1 400px;
	margin-bottom: 20px;
}

.flex .col-1-4 {
	flex: 1 1 200px;
	margin-bottom: 20px;
}

.flex .col-3-4 {
	flex: 1 1 600px;
	margin-bottom: 20px;
}

.center {
	text-align: center;
	margin: 20px auto;
}

@media screen and (max-width:  640px) {
	.content {
		min-width: 300px;
		max-width: 90%;
		text-align: left;
		font-size: 1em;
	}

	h1 {
		font-size: 2em;
	}

	blockquote {
		margin: 40px 0;
	}

	.flex {
		display: block;
	}
}
