/* standard header, section, and footer elements */
/* do not modify this file: override in style.css instead */

html {
	background: #eee url('../images/shared/background.png') left top repeat;
}

body {
	font-family: myriad-pro, helvetica, arial, sans-serif;
	font-weight: 300;
	font-size: 1.2em;
}

h1, h2, h3, h4, p, li {
	font-weight: 300;
}

a {
	color: #aa1717;
	text-decoration: none;
	font-weight: 400;
}

/*---------------------------------------------*/
/*                  header                     */
/*---------------------------------------------*/

header {
	width: 800px;
	height: 64px;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	background: url('../images/shared/header.png') center top no-repeat;
	background-size: 800px 144px;
}

header div#logo {
	margin: 10px 0px 0px 12px;
	float: left;
}

header div#logo a img {
	width: 196px;
	height: 45px;
}

header nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 10px;

	width: auto;
	height: 64px;
	float: right;
	list-style-type: none;
}

header nav ul li {
	font-size: 0.9em;
 	height: 64px;
 	line-height: 64px;
 	text-align: center;
}

header nav ul li#nav_contact.selected {
	border-radius: 0 0 8px 0;
}

header nav ul li a {
	display: block;
 	padding: 0 14px;
	color: #fff;
	text-decoration: none;
}

header nav ul li a,
header nav ul li a:visited,
header nav ul li a:active,
header nav ul li a:hover {
	color: #fff;
	font-weight: 500;
}

header nav ul li.selected {
	background-color: #bb0000;
}


/*---------------------------------------------*/
/*                 section                     */
/*---------------------------------------------*/

section > * {
	max-width: 800px;
	margin: 0 auto;
}


section {
	text-align: center;
	margin: auto;
}

section h2 {
	text-align: center;
	font-size: 1.8em;
	line-height: 1.2em;
	font-weight: 200;

	margin: 0;
	max-width: 100%;
}

section h3 {
	text-align: left;
	font-weight: 400;
	margin-bottom: 10px;
	font-size: 1.6em;
}

section h4 {
	text-align: left;
	font-weight: 400;
	margin-bottom: 10px;
}

section ul {
	margin: 10px 20px 10px 20px;
}

section li {
	margin-left: 20px;
}

section strong {
	font-weight: 400;
}

/*---------------------------------------------*/
/*                  footer                     */
/*---------------------------------------------*/

footer {
	padding-top: 40px;
	padding-bottom: 40px;
}

footer > * {
	text-align: center;
	margin: 0;
	color: #000;
}

footer p {
	font-size: 0.8em;
	line-height: 1.4em;
	color: #000;
}

footer p.message {
	margin: 10px 40px;
	line-height: 1.2em;
}

footer p.links {
	margin: 20px 40px;
}

footer p#copyright {
	margin: 20px 0;
	padding-bottom: 60px;
	background: url('../images/shared/if_watermark.png') center bottom no-repeat;
	background-size: 46px 46px;
	color: rgba(0, 0, 0, 0.3);
}

footer ul.social {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 30px;
	
	margin: 40px 0;
}

footer ul.social li {
	list-style-type: none;
}

footer ul.social li a {
	display: block;
	width: 24px;
	height: 24px;
	color: transparent;
	overflow: hidden;
}

footer ul.social li.dribbble a {
	background: url('../images/shared/footer_dribbble.png') left top no-repeat;
	background-size: 24px 24px;
}

footer ul.social li.twitter a {
	background: url('../images/shared/footer_twitter.png') left top no-repeat;
	background-size: 24px 24px;
}

footer ul.social li.mastodon a {
	background: url('../images/shared/footer_mastodon.png') left top no-repeat;
	background-size: 24px 24px;
}

footer ul.social li.facebook a {
	background: url('../images/shared/footer_facebook.png') left top no-repeat;
	background-size: 24px 24px;
}

footer ul.social li.patreon a {
	background: url('../images/shared/footer_patreon.png') left top no-repeat;
	background-size: 24px 24px;
}


/*---------------------------------------------*/
/*          media max-width: 900               */
/*---------------------------------------------*/

@media screen and (max-width: 900px) {

}

/*---------------------------------------------*/
/*          media max-width: 800               */
/*---------------------------------------------*/

@media screen and (max-width: 800px) {

	header {
		width: 100%;
		left: 0;
		margin-left: 0px;
	}
	
	section {
		padding-left: 20px;
		padding-right: 20px;
		margin: 0px;
		border-radius: 0;
		margin-top: 0px;
	}
	
	section h2 {
		margin-left: 20px;
		margin-right: 20px;
		max-width: 100%;
	}
		
}

/*---------------------------------------------*/
/*          media max-width: 640               */
/*---------------------------------------------*/

@media screen and (max-width: 640px) {

	header {
		width: 100%;
		height: 112px;
		left: 0;
		margin-left: 0px;
	}
	
	header div#logo {
		float: none;
		width: 100%;
		height: 50px;
		text-align: center;
		margin: 7px 0;
	}
	
	header div#logo a img {
		width: 216px;
		height: auto;
	}


	header nav ul {
		height: 48px;

		float: none;
		margin: 0 auto;
	}
	
	header nav ul li {
	 	height: 48px;
	 	line-height: 48px;
	 	overflow: hidden;
	}	

	header nav ul li#nav_contact.selected {
		border-radius: 0;
	}

}

/*---------------------------------------------*/
/*          media max-width: 480               */
/*---------------------------------------------*/

@media screen and (max-width: 480px) {

}

