* {
	box-sizing: border-box;
}


html {
	height: 100%;
	min-height: 600px;
}

body {
	min-width: 300px;
	margin: 0px;
	position: relative;
	height: 100%;
}

.rahmen {
	width: 100%;
	position: relative;
	height: 100%;
}

#oben {
	position: absolute;
	margin: 0px;
	background: url(../bilder/startseiteOben.jpg) no-repeat center;
	background-size: auto;
	-webkit-transition: width 1.5s;
	/* For Safari 3.1 to 6.0 */
	transition: width 1.5s;
}

.header-left,
.header-right {
	position: absolute;
	height: 50px;
	width: 100%;
	color: white;
	font-family: Verdana;
	font-size: 24px;
	padding-left: 45px; 
	padding-right: 45px; 
	padding-top: 10px;
}

.header-left {
	top: 0px;
	background-color: rgba( 1, 1, 1, 0.7);
}

.header-right {
	background-color: rgba( 0, 0, 108, 0.8);
	text-align: right;
}

.textbox {
	width: 400px;
	height: auto;
	margin-right: 25px;
	margin-left: 25px;
	background-color: white;
	padding: 15px 25px;
	font-family: Verdana;
	line-height: 1.6;
	border-radius: 25px;
	/* Safari */
	transition: opacity 1.5s ease;
	opacity: 0;
}

#textbox-links {
	position: absolute;
	left: 100px;
	top: 20%;
}

#textbox-rechts {
	position: absolute;
	right: 100px;
	bottom: 20%;
}

.fewoHeader{
	margin-top: 0;
	text-align: right;
}

.textbox a {
	position: absolute;
	bottom: 5px;
	right: 5px;
	display: inline-block;
	text-decoration: none;
	background-color: rgb(0, 0, 108);
	border-radius: 5px;
	color: white;
	padding: 15px;
	margin: 15px;
}

.textbox a:hover {
	box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.4);
}

#unten {
	margin: 0px;
	background: url(../bilder/startseiteUnten.jpg) no-repeat center;
	background-size: auto;
	-webkit-transition: width 1.5s;
	/* For Safari 3.1 to 6.0 */
	transition: width 1.5s;
}





/* Small devices (alles unter 768px) */
@media only screen and (min-width: 0px) {
	#oben,
	#unten {
		position: relative;
		left: 0;
		margin: 0;
		padding: 0;
		float: none;
		width: 100%;
		height: 70%;
	}
	
	.textbox {
		width: auto;
		max-width: 400px;
		opacity: 1;
	}
	
	.textbox h2{
		font-size: 20px;
	}
	
	.textbox p{
		font-size: 14px;
	}
	
	#textbox-links {
		position: absolute;
		left: 25px;
		top: 15%;
	}
	#textbox-rechts {
		position: absolute;
		right: 25px;
		bottom: 2%;
	}
	.header-left,
	.header-right{
		text-align: left;
		font-size: 20px;
	}
	
	.header-right{
		border-top: 3px solid black;
		top: 0;
	}
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	#oben{
		width: 50%;
		height: 100%;
		position: absolute;
	}
	
	#unten{
		width: 50%;
		height: 100%;
		float:right;
	}
	
	#textbox-rechts{
		bottom: 20%;
	}

	.textbox h2{
		font-size: 26px;
	}
	
	.textbox p{
		font-size: 16px;
	}

	.header-left{
		font-size: 22px;
	}
	
	.header-right{
		top: auto;
		bottom: 0px;
		border-top: none;
		text-align: right;
		font-size: 22px;
	}
	
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}
