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

html{
	-webkit-text-size-adjust: 100%;
}

.clearfix{
	clear: both;
}

body{
	width: 100%;
	background-color: #fafafa;
/* 	background-color: #fbe46e;	 */
	font-family: 'Asap', Arial, Times New Roman, Georgia;
	font-size: 16px;
	line-height: 28px;
	color: #777;
}

/* MENU */

#sidebar header{
	font-family: 'Caveat Brush', cursive, 'Raleway', 'Asap', arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	text-align: center;
	font-size: 46px;
	padding: 65px 0 40px 0;
	
	letter-spacing: 5px;
	
	 -webkit-font-feature-settings: "liga" 0, "clig" 0;
     -moz-font-feature-settings: "liga" 0, "clig" 0;
          font-feature-settings: "liga" 0, "clig" 0;
}

#menu a{
	color: #3c3c3c;
}

#menu{
	text-align: center;
}

a{	
	color: #3c3c3c;
	text-decoration: none;
}
	
ul li{
	list-style: none;
	text-align: center;
	display: inline-block;
	padding: 0 10px 20px;
		
	text-align: center;
	margin: auto;
	visibility:visible;
	opacity: 1;
	
	font-family: 'Raleway';
}

ul li a{
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}

ul li a:hover{
	color: #d62e2e;
	}

#menu-link{
	display: none;
}

/* TILES */

.active img{
	opacity: 0.15;
	}
	
#tiles{
	margin: 0 20% 4% 20%;
	padding: 1%;
	position: static;
	display: block;
	background-color: #fafafa;
}

#tiles img{
	position: relative;
    float: left;
    width: 31.2%;
    margin: 1%;
    transition: opacity 0.3s;
    border-radius: 2px;
}

#tiles a{
	width: 100%;
}

/* MAIN */
#main{
	padding: 2% 22%;
	display: block;
}

img{
	width: 100%;
}

#story{
	padding-top: 20px;
	padding-bottom: 7%;
}

#articleB{
	display: block;
	border-top: dashed #cccccc 2px;
	padding-top: 8%;
}

h1{
	font-size: 20px;
	font-family: 'Raleway', 'Asap', arial, sans-serif;
/* 	font-weight: 900; */
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #3c3c3c;
		
	 -webkit-font-feature-settings: "liga" 0, "clig" 0;
     -moz-font-feature-settings: "liga" 0, "clig" 0;
          font-feature-settings: "liga" 0, "clig" 0;
}

h2{
	font-size: 20px;
	font-family: 'Raleway', 'Asap', arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 18px;
	color: #3c3c3c;
	margin-bottom: -2%;
}

p{
	clear: both;
	padding: 0 0 25px;
}

article > p:first-of-type{
	padding-top: 5%;
}

article > p:last-of-type{
	padding-bottom: 50px;
}

#back{
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 20px;
	font-weight: bold;
	font-family: 'Caveat Brush', cursive;
		
	 -webkit-font-feature-settings: "liga" 0, "clig" 0;
     -moz-font-feature-settings: "liga" 0, "clig" 0;
          font-feature-settings: "liga" 0, "clig" 0;
}

#more{
	background-color: #545454;
}

#more h1{
	color: #ffffff;
	font-size: 14px;
	padding: 45px 0;
	text-align: center;
}

.screen{
	margin-bottom: 20px;
	border: 3px solid #eee;
	border-radius: 1.5px;
}

.screenD{
	margin-bottom: 20px;
}

.caption p{
	display: block;
	font-size: 12px;
	font-style: italic;
	margin: -15px 0px 3px 20px;
}

.caption-icon p{
	display: block;
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

.icon{
	width: 50%;
	float: left;
}

.half{
	width: 49%;
	float: left;
}

.half:nth-child(odd){
	margin-right: 2%;
}

#visualresume{
	margin-top: 40px;
}

.iconM{
	width: 33%;
	float: left;
}

.iconT{
	width: 25%;
	float: left;
	margin-bottom: 30px;
}

.iconVCV{
	width: 16.5%;
	float: left;
}

#icon-container{
	overflow: hidden;
	margin: 2% 0 8% 0;
}

#poster{
	width: 70%;
	margin: 0 15% 10%;
}

/* ABOUT */
#profielfoto{
	width: 200px;
	border-radius: 50%;
/* 	border: 8px solid #dbdbdb; */
	display: block;
	margin: auto;
	margin-bottom: 30px;
}

.about{
	text-align: center;
	width: 80%;
	margin: auto;
}

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

/* MOBILE */
@media only screen and (max-width: 480px){
	
	header{
		padding: 40px 0 10px 0;
	}

	
/* 	TILES */
	#tiles{
		margin: auto;
		background-color: white;
		vertical-align: baseline;
		padding: 4%;
		background-color: #fafafa;
	}
	
	#tiles img{
		width: 98%;
		margin-bottom: 4%;
	}
	
	#tiles a:last-child img{
		margin-bottom: 2px;
	}
	
	.active{
		display: none;
		}
	
/* 	MAIN */

	#main{
		padding: 2% 8%;
	}
	
	#articleB{
		padding-top: 10%;
	}
	
	.about{
		width: 95%;
	}
	
	h1{
		font-size: 20px;
	}
	
	h2 {
		padding: 0 5% 2%;
	}
	
	p{
		padding-bottom:5%;
	}
	
	.resume > p:first-of-type{
		padding-bottom: 5%;
	}

	.screen{
		margin-bottom: 5px;
	}
	
	.caption p{
	margin: -8px 0 0 0;
	}
	
	.icon, .iconM, .half, .iconT{
		width: 100%;
	}
	
	.iconT{
		margin: 0;
	}
	
	.half{
	margin-bottom: 5%;
	}
	
	.iconVCV{
		width: 50%;
	}
	
/* 	ABOUT */
	#profielfoto{
		margin-bottom: 15px;
	}
	
/* 	CONTACT */
	fieldset{
		padding: 5%;
	}
	
	button{
		margin: 5%;
	}
	
	label{
		font-size: 14px;
	}
	
	input, textarea{
		width: 100%;
	}	
}

/* TABLET */
@media only screen and (min-width: 481px) and (max-width: 1024px){
	
/* 	MENU */
	#sidebar,
	#sidebar-container,
	#main,
	#tiles, 
	#menu{
		position: static;
		width: 100%;
		display: block;
		margin: 0;
	}

	header{
		padding: 50px 0 10px 0;
	}
	
	ul li{
		margin-bottom: 20px;
	}
	
/* 	TILES */
	#tiles{
	margin: 0 5% 5% 5%;
	width: 90%;
	}

	#tiles img{
		position: relative;
/* 	    float: left; */
	    width: 31.2%;
	    transition: opacity 0.3s;
	}
	
/* 	MAIN */
	#main{
		padding: 4%;
		
		transition: margin-top 0.5s;
		-webkit-transition: margin-top 0.5s;
		-moz-transition: margin-top 0.5s;
		-o-transition: margin-top 0.5s;
		-ms-transition: margin-top 0.5s;
	}
	
	#main.aan{
		margin-top: 126px;
	}
	
	#story, h1{
		padding-left: 3%;
		padding-right: 3%;
	}
	
	.screen{
		margin-bottom: 10px;
	}
	
	.caption p{
		margin: -8px 0px -5px 20px;
	}
	
/* 	ABOUT */
	#profielfoto{
		margin-bottom: 20px;
	}
	
/* 	CONTACT	 */
	input, textarea{
		width: 100%;
	}
}