@charset "UTF-8";

html, body {
height: 100%;
width: 100%;
}

header, nav, section, aside, footer {
display: block;
}

body {
	background: #f4e7db;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'textfont', sans-serif;
	font-weight: normal;
}


#wrapper { 
	margin: 10px auto;
	position: relative;
	overflow: hidden;
	width: 100%; 
}

/*---------- Header -----------*/ 
header a {
	display: block;
	width: 95%;
	margin: auto;
}

/*---------- Navigation -----------*/
nav {
	float: none;
	font-family: 'handfont', sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	margin: 0 auto 10px auto;
	width: 95%;		
}


nav ul {
	list-style: none;
	padding-left: 0;
}


nav li {
	display: block;
	float: left;
	width: 50%;
	margin: 0;
}

nav li a {
	display: block;
	text-align: center;
	line-height: 1.3em;
	text-decoration: none;
	transition: font-size .3s ease;
	cursor: pointer;
}

nav li .grafik {
	color: #c00;
}
nav li .illustration {
	color: #09c;
}
nav li .design {
	color: #093;
}
nav li .kontakt {
	color: #fc0;
}

nav li a:hover {
	font-size: 1em;
	color: #fff;
}


/*---------- Inhalt -----------*/
section {
	position: relative;
	background: #ebd9c3;
	color: #333;
	width: 95%;
	padding: 0;
	margin: auto;
	clear: both;
	z-index: 10;
}

.content {
	position: relative;
	width: 100%;
	margin: 10px;
	height: auto;
	min-height: 400px;
}

.farbe,
.deko {
	display: none;
}




/*---------- Footer -----------*/
footer {
	font-family: 'handfont', sans-serif;
	font-size: 1.2em;
	padding: 0;
	margin: 0;	
	text-align: center;
	width: 90%;
	clear: both;
}


footer a {
	text-decoration: none;
	color: #333;
}

footer ul {
	list-style: none;
}

footer ul li {
	display: block;
	margin-right: 20px;
}

/*-----------------------------------------------*/
/*-----------------Desktop Variante----------------*/
/*-----------------------------------------------*/

@media only screen and (min-width: 700px) {

	#wrapper {
		width: 1000px;
		overflow: visible;
	}
	
	header a {
		margin-left: 50px;
		width: 500px;	
	}
	
	/*---------- Navigation -----------*/
	nav {	
		float: left;
		width: 170px;
		margin: 0 0 15px 0;	
	}
	
	nav li {
		float: none;
		margin-bottom: 15px;
		width: auto;
	}
	
	nav li a {
		text-align: right;
		line-height: 25px;
	}
	
	nav li a:hover {
		font-size: 1.5em;
	}
	
	nav li .grafik:hover {
		color: #c00;
	}
	nav li .illustration:hover {
		color: #09c;
	}
	nav li .design:hover {
		color: #093;
	}
	nav li .kontakt:hover {
		color: #fc0;
	}
	
	
	section {
		clear: none;
		background: transparent url(../images/back.png) 0 0 no-repeat;
		float: left;
		width: 600px;
		height: 506px;
		padding: 10px;
		margin-left: 20px;	
	}
	
	.content {
		margin: 9px 0 0 5px;
		width: 570px;
		height: 470px;
		overflow: hidden;	
	}
	
	.deko {
		display: block;
		position: absolute;
		color: #ff0000;
		top: 210px;
		left: 450px;
		width: 302px;
		height: 490px;
		z-index: 1;
	}
	
	#grafik {
		background: transparent url('../images/pinsel.png') 0 0 no-repeat;
	}
	
	#design {
		background: transparent url('../images/linial.png') 0 0 no-repeat;
	}
	
	#illustration {
		background: transparent url('../images/stift.png') 0 0 no-repeat;
	}
	
	#kontakt {
		background: transparent url('../images/filzer.png') 0 0 no-repeat;
	}
	
	.farbe {
		display: block;
		position: absolute;
		color: #ff0000;
		top: 400px;
		left: 300px;
		width: 220px;
		height: 160px;
		z-index: 1;
	}
	
	#grafik-farbe {
		background: transparent url('../images/farbe-grafik.png') 0 0 no-repeat;
	}
	
	#design-farbe {
		background: transparent url('../images/farbe-design.png') 0 0 no-repeat;
	}
	
	#illustration-farbe {
		background: transparent url('../images/farbe-illustration.png') 0 0 no-repeat;
	}
	
	#kontakt-farbe {
		background: transparent url('../images/farbe-kontakt.png') 0 0 no-repeat;
	}
	
	/*---------- Footer -----------*/
	footer {
		text-align: right;
		width: 800px;
	}
	
	
	footer ul li {
		display: inline;
	}


}



/* =================== fonts  ===================  */
@font-face {
 font-family: handfont;
 src: url("../fonts/handfont.eot") /* EOT file for IE */
}
@font-face {
 font-family: handfont;
 src: url("../fonts/handfont.ttf") /* TTF file for CSS3 browsers */
}
@font-face {
 font-family: textfont;
 src: url("../fonts/textfont.eot") /* EOT file for IE */
}
@font-face {
 font-family: textfont;
 src: url("../fonts/textfont.ttf") /* TTF file for CSS3 browsers */
}
