:root {
	--font-color:#393939;
	--dark-grey: #888888;
	--grey: #c0c0c0;
	--light-grey: #eeeeee;
	--contast: #b51f29;
	--white: #ffffff;
}

body {
	background: url("img/background.png");
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	display: grid;
	grid-template-rows: 10rem 20rem calc(100vh - 30rem);
	padding: 0;
	margin: 0;
	justify-items: center;
	background-repeat: no-repeat;
	background-position: center center;
}

article, h1, h2, h3, h4, h5, h6, p, div {
	color: var(--font-color);
}

a {
	color: var(--contast);
	text-decoration: none;
}


header {
	margin-top: 2rem;
	width: 53rem;
}

main {
	align-self: start;

	display: grid;
	grid-template-rows: 5rem auto;

	min-width: 800px;

}

menu {
	padding: 0;
	margin: 0;
	font-size: 20px;
}

menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: auto auto auto auto;
}

menu ul li {
	cursor: pointer;
	color: var(--white);
	background: var(--dark-grey);
}

menu ul li a {
	padding: 1rem 0.6rem;
	color: inherit;
	display: inline-block;
	width: 12rem;
	text-align: center;
}

menu ul li:hover {
	background-color: var(--light-grey);
	color: var(--dark-grey);
}

menu ul li.active {
	background-color: var(--contast);
	color: var(--white);
}

article {
	max-width: 47rem;
	max-height: calc(100vh - 23rem);
	overflow: auto;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 2rem 3rem;
}


footer {
	font-size: 16px;
	align-self: end;
	justify-self: start;
	display: grid;
	grid-template-columns: auto auto;
	background: var(--dark-grey);
	color: var(--white);
	width: 100vw;
}

#footer-links {
	display: flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
	justify-self: end;
}


#footer-links li, #copyright-info {
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	color: var(--white);
}

#footer-links li:not(:last-child) {
	border-right: 1px solid var(--white);
}


#footer-links li a {
	text-decoration: none;
	color: inherit;
}

#footer-links li a:hover {
	text-decoration: underline;
}

ul.link-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

a.pdf {
	display: flex;
	align-items: center;
}

a.pdf:hover {
	text-decoration: underline;
}

a.pdf:before {
	content: url("img/pdf-icon.png");
	margin-right: 0.5rem;
}

a.button {
	padding: 1rem 2rem;
	background-color: var(--light-grey);
	border: 1px solid var(--grey);
	color: var(--contast);
	border-radius: 5px;
	margin-block: 1rem;
	display: inline-block;
}

a.button:hover {
	background: var(--contast);
	border: 1px solid var(--contast);
	color: white;
}
