@import 'fonts.css';
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
body{
	margin:2em auto;
	/* min-width: 1080px;
	max-width: 950px; */
	font-family: 'Basker';
	/* font-size: 14pt; */
	line-height: 1.7;
	letter-spacing: 0.25pt;
	color: rgba(40,40,40,1);
	/*background-color: #d0bba0;*/
	/* background-color: #ecddcb; */
	background-color: #e8d59b;
}
h1, h2, h3, h4, h5, h6{
	font-family: 'Belgika-reg';
	margin-top:1.5em;
}
header#banner{
	width: 100%;
	text-align: center;
}
	header#banner h1{
		font-family: 'Syne';
		font-size: 9vw;
		line-height:1.25;
		margin: 0 auto;
		padding-bottom: 0.5em;
		width: 70%;
	}
	header#banner h1 a{
		text-decoration: none;
		color: darkgoldenrod !important;
	}
nav#menu{
	/* width: calc(100% + 20em); */
	text-align: center;
	/* margin:0 0 0 -11em; */
}
	nav#menu li{
		width: 7.7%;
		min-width: 114px;
		height:10em;
		margin:1em 0;
		padding:1em;
		font-size: 75%;
		line-height: 1.4;
		color: rgba(40,40,40,1);
		border:1px solid;
		border-radius: 1em;
		list-style: none;
		display: inline-block;
		vertical-align: middle;
	}
	nav#menu li.active{
		background-color: #a4e7ff;
	}
	nav#menu li.pagelink{
		height: 2.5em;
	}
	nav#menu a{
		text-decoration: none;
	}

section#content{
	margin: 4% 16.5%;
}

section.body {
	margin: 0 !important;
}

article{
	margin: 3em 0 2em 0;
	padding: 2em 3em 0;
	border-top: 1px solid;
}
	article:first-child{
		background-color: #a4e7ff;
		padding-bottom: 3em;
		margin-bottom: -3em;
	}
/* start button */
article button {
	width: auto;
	top:1em;
	margin:1.5em auto;
	padding:1.5em 3em;
	background-color: rgba(40,40,40,1);
	border:1px solid rgba(40,40,40,1);
	border-radius: 0.5em;
}
	article a button{
		font-family: 'Belgika-reg';
		text-decoration: none !important;
		color: white !important;
		font-size: 16px;
		letter-spacing: 0.1em;
	}
	article a button:hover{
		cursor: pointer;
	}
article h2.page-title a{
	text-decoration: none;
}

/* big boxes for the section titles */
h1.category{
	width: calc(100% - 4em);
	background-color: rgba(40,40,40,1);
	color:white;
	border-radius: 1em;
	padding: 2em 2em 3em 2em;
	margin: 2em 0;
	font-family: "Basker";
	font-size: 32px;
	text-align: center;
	font-weight: normal;
}

/* next & prev buttons */
ul.navprevnext{
	position: relative;
	display: inline-block;
	width: calc(100% - 4em);
	margin:3em 0 0;
}
	ul.navprevnext li.prev,
	ul.navprevnext li.next,
	ul.navprevnext li.done,
	ul.navprevnext li.none{
		position: relative;
		width: 20%;
		height: auto;
		top:0;
		background-color: #a4e7ff;
		border-radius: 1em;
		padding:1em 3em;
		font-size: 9pt;
		line-height: 1.4;
		list-style: none;
		border:1px solid black;
	}
	ul.navprevnext a{
		text-decoration: none;
	}
	ul.navprevnext li.prev:before,
	ul.navprevnext li.next:before{
		display: block;
		font-style:italic;
		margin:0 0 1em 0;
	}
	ul.navprevnext li.prev:before{
		content:'←\00a0\00a0\00a0Go to the previous page';
		margin-left:-1.75em;
	}
	ul.navprevnext li.next:before{
		content:'Go to the next page\00a0\00a0\00a0→';
		margin-right:-2em;
		text-align: right;
	}
	ul.navprevnext li.none,
	ul.navprevnext li.prev{
		float: left;
		left:-14%;
		padding-bottom: 2.5em;
	}
	ul.navprevnext li.next,
	ul.navprevnext li.done{
		float: right;
		right: -11.5%;
		padding-bottom: 1.7em;
	}
	/* you finished this section */
	ul.navprevnext li.done{
		background-color: rgba(40,40,40,1);
		color: white;
	}
	ul.navprevnext li.none{
		background-color: transparent;
		color: transparent;
		border:0;
	}

.footnote{
	font-size: smaller;
}
footer{
	font-style: normal;
	font-size: smaller;
	clear: both;
}

/* general elements */
a,
a:visited,
a:hover,
a:active{
	color: rgba(40,40,40,1);
}
a.nounderline{
	text-decoration: none;
}

hr{
	width: 100%;
	border:0;
	border-bottom:1px solid rgba(40,40,40,1);
	margin:3em auto;
}
sup{
	line-height: 0;
	font-size: 75%;
	padding-left: 0.2em;
}
img,
video{
	width: calc(100% + 6em);
	margin: 2em 0 2em -3em;
}
blockquote{
	font-style: italic;
	font-size: 125%;
	line-height: 1.9;
}
pre,
code{
	color: #c600c6;
}

.lastupdate{
	font-size: smaller;
	margin:4em 0;
}

p {
	word-break: break-word;
}

#menu ul {
	margin: 0;
	padding: 0;
}


/* MOBILE */
@media (max-width:767px) {
	nav#menu {
		width: auto;
		text-align: auto;
		margin: 0;
	}
	nav#menu li {
		width: 80vw;
		height: auto;
		font-size: 0.8em;
		margin: 1em 0.1em;
	}

	header#banner h1 {
		font-size: 11vw;
	}

	h1.category {
		font-size: 1.3em;
	}

	ul.navprevnext li.prev, ul.navprevnext li.next, ul.navprevnext li.done, ul.navprevnext li.none {
		width: 100%;
		height: auto;
	}

	ul.navprevnext li.next, ul.navprevnext li.done {
		/* right: -13%; */
	}

	ul.navprevnext li.none, ul.navprevnext li.prev {
		left: -17%;
		margin-bottom: 1em;
	}

	section#content {
		margin: 1.5em;
	}

	img,
	video{
		width: calc(100% + 3em);
		margin: 2em 0 2em -1.5em;
	}

}


/* TABLET */
@media (min-width:768px and max-width:1024px) {
	nav#menu {
		width: auto;
		text-align: auto;
		margin: 0;
	}

	nav#menu li {
		width: 80vw;
		height: auto;
		font-size: 0.8em;
		margin: 1em 0.1em;
	}

	header#banner h1 {
		font-size: 11vw;
	}

	h1.category {
		font-size: 1.3em;
	}

	ul.navprevnext li.prev, ul.navprevnext li.next, ul.navprevnext li.done, ul.navprevnext li.none {
		width: 25%;
		height: auto;
	}

	ul.navprevnext li.next, ul.navprevnext li.done {
		right: -16%;
	}

	ul.navprevnext li.none, ul.navprevnext li.prev {
		left: -20%;
	}
}
