@charset "utf-8";

/*
* CSS-Design
* Online-Schule für Gestaltung: Webdesign-Kurs
* RESPONSIVE WEBSEITE
*/


/* Reset * * * * * * * * */

/* Reset * * * * * * * * */
*{
	margin: 0;
	padding: 0;	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html{	
	font-size: 100%; /* Browserstandard: 16px */
}


img{
	max-width: 100%;
}



/* Layout * * * * * * * * */

body{
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.5;
	background: #ffffff;
	color:  #333;
}


.wrapper{
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

header{
	background: #ffffff; 
	margin-top: 50px;
	color: #333;
	text-align: center;
	
}


#main{
	width: 73%;
	float: left;
}

#main article{
	margin-bottom: 25px;
	background: #fff;
	padding: 25px;
}

.sidebar{
	background: #fff;
	width: 25%;	
	float: right;
	padding: 25px;
}

footer{
	width: 100%;
	float: left;
	background: #fff;	
	margin-top: 25px;
	color: #333;
	padding: 25px;
}



/* Navigation * * * * * * * * */

#mobile-menu-btn{
display: none;	
}

#navigation{
	margin-top: 80px;
}

#navigation ul li{
	display: inline;
}

#navigation a{
	color: #b1b1b2;
	padding: 7px 20px;
	margin: 0 10px;
}


#navigation a:hover{
	color: #ed008c;
	
}



/* Typografie * * * * * * * * */

h1, h2{
	font-family: 'Open Sans Condensed', sans-serif, Georgia, Times, serif;
	font-weight: normal;	
	margin-bottom: 15px;
	
}

h1{
	font-size: 48px;
	font-size: 3rem;
}

h2{
	font: Arial;
	font-size: 5px;
	font-size: 1.4rem;
	text-align: center;
	color: #7d7d7d;	
}

h2.white{
	font-size: 30px;
	font-size: 1.75rem;
	color: #fff; 
	display: block;
}

h3 {
	font-size: 8px;
	font-size: 0.8rem;
	color: #b1b1b2;
	text-align: center;
	margin: 10px;
		

}


p {
	font-size: 16px;
	font-size: 1rem;
	color: #b1b1b2;
	text-align: left;
	
}


h4{
	font: Arial;
	font-size: 1px;
	font-size: 1.5rem;
	text-align: left;
	color: #7d7d7d;	
}


h5{
	font-family: 'Raleway', sans-serif;
	font-family: 'Montserrat', sans-serif;
	font-size: 5px;
	font-size: 1.4rem;
	text-align: left;
	color: #7d7d7d;	
}


h6 {
	font: Arial;
	font-size: 1px;
	font-size: 1.5rem;
	text-align: left;
	color: #000000;
}

h7 {
	font-size: 16px;
	font-size: 1.4rem;
	color: #838a78;
	text-align: right;
}


h8 {
	font-family: sans-serif, Georgia, Times, serif;
	font-size: 9px;
	font-size: 1.4rem;
	color: #000000;
	text-align: center;
	
}



a{
	color: #b1b1b2;
	text-decoration: none;
	font-size: 16px;
	font-size: 1.2rem;
}

a:hover{
	color: #a91160;
	text-align: center;
}

#footer a:hover{
	color: #a91160;
}


/* Raster * * * * * * * * */


 .column {
float: left;
background: #ffffff;

margin: 25px 0 25px 2%;
}

 .column1 {
float: left;
background: #000000;
padding: 25px;
margin: 25px 0 25px 2%;
}


 .column2 {
float: left;
background: #fff;
padding: 25px;
margin: 25px 0 25px 2%;
}


 .column3 {
float: left;
background: #dfe75b;
padding: 25px;
margin: 25px 0 25px 2%;
}


 .column4 {
float: center;
background: #b1b1b2;
padding: 25px;
margin: 25px 0 25px 2%;
}


.row{
	width: 100%;
	float: left;
	

}

 .column:first-child {
margin-left: 0;
}

.column1:first-child {
margin-left: 0;
}

.column3:first-child {
margin-left: 0;
}

.column4:first-child {
margin-left: 0;
}


.full { width: 100%; }
.half { width: 49%; }
.third { width: 32%; }
.two-thirds { width: 66%; }
.fourth { width: 23.5%; }
.three-fourth {width:74.5%;}





/* Media Queries * * * * * * * * */

@media only screen and (min-width: 980px) and (max-width: 1279px) {

header{
	background: #ffffff;	/* Blau */
}

}

@media only screen and (min-width: 760px) and (max-width: 979px) {

header{
	background: #ffffff;	 /* Orange */
}

.wrapper{
	width: 760px;
}

 #main, .sidebar{
	 width: 100%;
 }
 
}

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

header{
	background: #ffffff; /* Viollet */
}

.wrapper{
	width: 100%;
}

.full, .two-thirds, .half, .third, .fourth, .three-fourth, #main, .sidebar{
	width: 96%;
	margin: 25px 2% !important;
}

a#mobile-menu-btn{
	display: block;
	background: #ffffff;
	color: #b1b1b2;
	text-decoration: none;
	text-transform: uppercase;
	padding: 10px 0;
	margin: 25px 0 0;
}


#navigation{
	display: none;
	margin: 0px 0 0;	
}
#navigation ul li {
	display: block;
	float: none;
}

#navigation ul li a{
	display: block;
	background: #333;
	color: #b1b1b2;
	margin: 1px 0;
	border: 0;
}

#navigation a{
	color: #333;
	text-decoration: none;
	padding: 7px 20px;
	margin: 0 10px;
	border: 1px solid #333;
}


#navigation a:hover{
	color: #333;
	background: #fff;
}


#footer{
	background: #e8e8e8;
	padding: 20px 0 50px;
	margin-top: 50px;
	margin-bottom: 20px;
	color: #fff;
	left: 0;
	bottom: 0;
	height: 200px;
	width: 100%;
}	

a.hover {
position:relative;
display:inline-block;
width:200px;
}
 
a.hover:hover:before {
content:"";
background:url(images/maus1.jpg);
background-size:cover;
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
opacity:.5;
}




/* Slider  * * * * * * * * */
#sequence{
	margin-bottom: 25px;
}

