
/* Global reset
   http://meyerweb.com/eric/tools/css/reset/ 
*****************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Extended base styles (site specific)
*****************************************************************/

html { 
/*	overflow-y: scroll;  always force a scrollbar in non-IE */
	}
body {
	overflow-x: hidden;
	height: 530vh;
	line-height: 1.5;
	color: #fff;
    background-color: #000;
	font-size: 13px;
	font-family:'helvetica','helvetica neue', Arial ,sans-serif;
}
/*
#reprogram h1, #reprogram h2{
    background-color: #000;
    display: inline;
    padding: 0.35rem;
    line-height: 1.5;
  }
*/

h2 {
    
    font-size: 2.4em;
    line-height: 1.1;
    font-weight: lighter;
    letter-spacing: 1px;

}
a, a:link,
a:active,
a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#fc7260;
	outline: none;
	text-decoration:none;
	}
	a:hover { 
		color:#000;
		}
img { 
	display:block;
	}
p {
	margin:1em 0;
    font-size: 1.4em;
    line-height: 1.3;
	}

/* Common shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	height: 3px;
}

/* Page structure
*****************************************************************/

#wrapper {
	position: relative;
}


/* Nav
*****************************************************************/

nav#primary {
	z-index: 4;
	position: fixed;
	top: 50%;
	right: 1.5em;
	margin-top: -40px;
}
nav#primary li {
	position: relative;
	height: 20px;
}
nav#primary a {
	display: block;
	width: 10px;
	height: 10px;
	text-indent: -9999px;
    background-color: #fc7260;
}
nav#primary a:hover, nav#primary a.active {
    background-color: #fff;
}
nav#primary h1 {
	position: absolute;
	right: 22px;
	top: -15px;
	display: none;
    font-size: 1em;
	padding: 4px 15px 4px 7px;;
	color: #fff;
	white-space: nowrap;
	background-color: #fc7260;
	}



/* Parallax
*****************************************************************/

/* content */
#content {
	z-index: 4;
	position: relative;
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content article {
		width: 80%;
		}
		#reprogram ,
		#info,
		#teilnehmer,
		#about {
			padding-top: 105px;
			}
		#reprogram {
			position: absolute;
			top: 22em;;
			}
		#info {
			position: absolute;
			top: 100vh;
			}
		#teilnehmer {
			position: absolute;
			top: 400vh;
			}
			#content h1 {
				margin: 0 0 25px 0;
				font-size: 4.3em;
				font-weight: bold;
				line-height: 0.9;
                
				}
		#about {
			position: absolute;
			top: 200vh;
			}


#teilnehmer img {
    margin-top: 2em;
    width: 100%;
    height: auto;
    max-width: 380px;
    float: left;
}
/* foreground */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 90%;
	margin-left: -45%; /* move left by half element's width */
	}
	/* balloon */
	#bg3-1 {
		position: absolute;
		top: 64em;
		left: 10%;
		}
	#bg3-2 {
		position: absolute;
		top: 1em;
		left: 50%;
		}
	#bg3-3 {
		position: absolute;
		top: 80em;
		left: -42%;
		}
	#bg3-4 {
		position: absolute;
/*		top: 370vh;*/
        top: 380vh;
        left: -5px;
        background-color: #000;
		}
/* midground (clouds) */
#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 90%;
	margin-left: -45%; /* move left by half element's width */
	}
	#bg2-1 {
		position: absolute;
		top: 1em;
		left: 10%;
		}
	#bg2-2 {
		position: absolute;
		top: 12em;
		left: 40%px;
		}
	#bg2-3 {
		position: absolute;
		top: 22em;;
		left: 50%;
		}
	#bg2-4 {
		position: absolute;
		top: 40em;
		left: 30%;
		}
	#bg2-5 {
		position: absolute;
		top: 30em;
		left: 25%;
		}

/* background */
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 90%;
	margin-left: -45%; /* move left by half element's width */
    max-width: 1700px;
	}
	#bg1-1 {
		position: absolute;
		top: 1em;;
		left: 50%;
        width: 90%;
        height: auto;
		}
	#bg1-2 {
		position: absolute;
		top: 3em;;
		left: 40%;
         width: 100%;
        height: auto;
		}
	#bg1-3 {
		position: absolute;
		top: 57em;
		left: -5%;
        width: 100%;
        height: auto;
		}
	#bg1-4 {
		position: absolute;
		top: 60em;
		left: 10px;
        width: 100%;
        height: auto;
		}

@media screen and (max-width: 400px) {

#content h1 {
    font-size: 2.8em;
    line-height: 1.1;
}
    h2 {
        font-size: 1.3em;
        letter-spacing: 1px;
    }
		#reprogram {
			position: absolute;
			top: 16em;
			}
		#info {
			position: absolute;
			top: 100vh;
			}
		#teilnehmer {
			position: absolute;
			top: 590vh;
			}
		#about {
			position: absolute;
			top: 350vh;
			}
    #parallax-bg1, #parallax-bg3, #parallax-bg2 {
	margin-left: -55%;
        left: 45%;
    }
    	#bg3-3 {
        left: 45%;
            width: 200%;
        }