/* CSS Document | RB Kreativ Schreiner RAIMUND BASTL */  


/***  font/hinzugefügte Schriftarten
typekit: forma-djr-banner, sans-serif; | ff-nexus-sans, sans-serif; 
***/


:root {
		font-size: 1.0em;
}


html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	font-family: forma-djr-banner, sans-serif;
	font-weight: 300;
	letter-spacing: 0.15em;
	word-spacing: 0.10em;
	color: #494949;	
}


section {min-height: 100%;} /** section hat 100%-ansicht, egal welches BROWSER-FORMAT **/

a {text-decoration: none;}

li {list-style-type: none;}


h1, h2, a {
	font-weight: lighter;
	color:#494949;
}	

h3 {
	font-family: ff-nexus-sans, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	padding-top: 8%;
	margin-bottom: 5px;
}

h4 {
	font-family: ff-nexus-sans, sans-serif;
	font-weight: 700;
	font-size: 5.5em;
	color: #cc0000;
	margin-bottom: 5px;
}


hr {
	width: 50px;
	height: 1px;
	background-color: #999999;
	border: 0;
	margin: 0 auto 5% auto;
	z-index: 5;
}

	
/*** HEADER ********************************************/

header {
	width: 100%;
	height: 75px;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255, 0.85);
	box-shadow: 0 1px 3px rgba(0,0,0, 0.55); /** schatten unter dem header **/
	z-index: 1;
}

#logo {
	width: 140px;
	float: left;
	margin: 10px 0 0 50px;
	transition: all 350ms;
	-webkit-transition: all 350ms;
	-moz-transition: all 350ms;
	-o-transition: all 350ms;
}

#logo:hover {
	opacity: 0.6;
}

#logo img {
	width: 40%; /** groesse logo -> sollte eigentlich 100% sein, dann muss das aber ident der vorlagengroesse sein! **/
}

header nav {
	float: right;
	margin: 10px 50px 0 0;
}

header nav ul li {
	float: left;
  	margin-left: 25px;
	font-size: 1.5em;
}


header nav ul li:hover {
	padding-top: 5px;
	transition: all 350ms;
	-webkit-transition: all 350ms;
	-moz-transition: all 350ms;
	-o-transition: all 350ms;
}

/*** HOME ********************************************/

#home {
	background: url("../images/RB_cover.jpg");
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;  /** bild bleibt im hintergrund fixiert, scrollt nicht mit **/
}

#home h1 {
	margin: 450px auto 0  auto;  /** ACHTUNG: 25% von oben d.h. benötigt "etwas, wovon sich die h1 abstossen" kann! daher eine linie <hr> im html davor einfügen!!! **/
	font-size: 7rem;
}

#home h2 {
	margin: 0 auto 0 auto;
	font-size: 2.5rem;
}

#home img {
	width: 5%;
	margin-top: 2%;
	opacity: 0.75;
}

#home img:hover {
  	width: 3.5%;
	opacity: 1;
	transition: all 500ms;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	-o-transition: all 500ms;
}


/*** ABOUT ********************************************/

#about img {
	width: 25%;
}

#about img:hover {
	transform: scale(1.8);
	transition: all 500ms;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	-o-transition: all 500ms;
}


#about p {
	font-size: 2.5em;
	width: 75%;
	line-height: 2.25;
	margin: 2em auto 2em auto;
}

#about h2 {
	font-size: 2.5rem;
	margin-bottom: 10%;
}

#about a {
	font-family: ff-nexus-sans, sans-serif;
	font-weight: 700;
	font-size: 1.2em;
	color: #cc0000;
	letter-spacing: 0.010em;
	word-spacing: 0.10em;
	border-bottom: 2px solid #494949;
}


/*** MOTTO ********************************************/


#motto {
	width: 70%;
	height: auto;
	margin: 1% 15%;
	background-color: red;
}


.image-text {
	background-image: url("../images/RB_texture_holz.jpg"); /* TEXT mit bildhintergrund */
	background-clip: text;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	-o-background-clip: text;
	color: transparent;
}

#motto h2 {
	font-weight: 700;
	font-size: 11em;
	line-height: 0.52;
	text-align: center;	
}

#motto h4 {
	font-size: 3.0rem;
}



/*** WORK ********************************************/

#work {
	background-image: url("../images/RB_work.jpg");
	background-size: cover;
/*			background-color: #D6D6D6;  	*/
	margin: 10% auto 0 auto;
}

#work-projects {
	width: 90%;
	margin: 0 auto 0 auto;
}

#work-projects ul {
	padding: 0;  /** da <ul> immer links ein abstand hat, muss dieser auf NULL gesetzt werden. ansonsten nicht mittig **/
}

#work-projects ul li {
	float: left;
	width: 33.33%;	
	margin-top: 7%;
	margin-bottom: 2%;
}

#work-projects img {
	width: 75%;
	height: 50%;
	border-radius: 10px;
}

#work-projects img:hover {
	transform: scale(1.4);
	transition: all 500ms;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	-o-transition: all 500ms;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5)
}


/*** CONTACT ********************************************/



#contact img {
	width: 4%; /** groesse logo -> sollte eigentlich 100% sein, dann muss das aber ident der vorlagengroesse sein! **/
}

#contact h3 {
	margin-top: 10%;
	margin-bottom: 5px;
}


#contact h4 {
	font-size: 3.5em;
	color: #cc0000;
}

#contact p {
	font-size: 2.25rem;
	width: 75%;
	line-height: 1.75;
	margin: 3% auto 10% auto;
}


/*** IMPRESSUM ********************************************/


#impressum p {
	font-size: 1.0em;
	width: 75%;
	line-height: 1.25;
	margin: 2em auto 2em auto;
}


/*** FOOTER ********************************************/

footer {
	width: 100%;
	height: 5%;
	background-color: #DCDCDC;
}

footer p {
	font-size: 0.75em;
	color: #777;
	padding-top: 1%;
}


/********************** MEDIA QUERIES ********************************************/

/*** TABLET ********************************************/


:root {
		font-size: 0.8em;
}

@media screen and (max-width: 1024px) {
	header {
		height: auto;
	}
	
	#logo {
		width: 100px;
		margin-top: 5px;
		margin-left: 5px;
	}	
		
	header nav {
		margin: 5px 20px 0 0;
	}
	
	header nav ul li {
		font-size: 1.1rem;
	}
	
	#home {
		background-attachment: scroll;  
	}
	
	
	#about p, #contact p {
		font-size: 2.0em;
		width: 75%;
		line-height: 2.25;
		margin: 2em auto 2em auto;
	}
	
	#about h2 {
		font-size: 2.0em;
}
	
	#about h4, #contact h4 {
		font-size: 3.5em;
	}
	
	
	#about a {
		font-size: 1.2em;
		line-height: 1.0;
}

	
	#motto {
		width: 90%;
		height: auto;
		margin: 1% 5%;
	}
	
	#motto h2 {
		font-size: 7em;
}
	
	
	#work-projects {
		width: auto;	
	}
	
	#work-projects ul li {
		float: none;
		width: 80%;	
		margin: auto 10% 10% 10%;
		}

	#work-projects ul li:last-child {
		padding-bottom: 15%;
	}
	
	#work-projects img {
		width: 55%;
		height: auto;
	}
}



/*** MOBILE ********************************************/


@media screen and (max-width: 480px) {

	:root {
		font-size: 0.55em;
}
	
	section {min-height: 80%;} 

	
	#logo {
		width: 80px;
		margin-left: 5px;
	}	
	
	
	header nav {
		margin-top: 0.6em;
	}
	
	header nav ul li {
		font-size: 1.5em;
	}

	#home {
		background: url("../images/RB_cover_mobil.jpg");
		background-position: center top;
		background-repeat: no-repeat;
		background-attachment: scroll;  
	}
	
	
	#motto {
		width: 90%;
		margin: 1% 5%;
		background-color: red;
	}

	#motto h2 {
		font-size: 9em;
		line-height: 0.54;
	}

	#work-projects img {
		width: 75%;
		height: auto;
	}

	
	
}


















