body { 
	font-family: 'Raleway', sans-serif;
	background-color:#ccc; 
	color:#242424;
	padding-top:79px;
}

* {
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
header {
	padding:0 20px;
	float:left;
	width:100%;
	font-weight:200;
	position:fixed;
	border-bottom:1px dashed #242424;
	top:0;
	z-index:3000;
	left:0;
	background-color:#f5f5f5; 
}
h1 {
	font-size: 2em;
	font-weight:200;
	float:left;
	line-height: 1.1;
	padding-right: 120px;
}
header > div {
	position: relative;
	width: 100%;
}
header ul {
	margin:0;
	padding:0;
	position: absolute;
	top: 0;
	right: 0;
	list-style:none;
	line-height:4.866667em;
	font-weight:200;
	
}
header ul li {
	margin-left:10px;
	float:left;
}
header ul li a {
	color:#363636;
	text-decoration:none;
}

.container {
	width:100%;
	float:left;
}
.portfolio-item {
	height: calc(100vh - 79px);
	width:100%;
	display:block;
	overflow:hidden;
	position:relative;
	padding:0;
	float:left;
}
.portfolio-item img {
	left: 50%;
	height: calc((100vh -  79px) * 0.75);
	max-height: calc(100vw / 1.6);
	max-width: none;
	position:absolute;
	top: 0;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index:4;
}

.portfolio-item .blur-image {
	position: absolute;
	top: -10%;
	left: -10%;
	bottom: 0;
	right: 0;
	-webkit-filter: blur(30px);
	filter: blur(30px);
	background-size: cover;
	background-position: center center;
	width: 120%;
	height: 120%;

}

.no-cssfilters .portfolio-item .blur-image {
	opacity: 0.1;
}

img {
	max-width:100%;
	height: auto;
}
.description {
	display:block;
	z-index:5;
	position:absolute;
	bottom:0;
	left:50%;
	-webkit-overflow-scrolling: touch;
	background-color:rgba(255, 255, 255, 0.55);
	height: calc((100vh -  79px) * 0.25);
	min-height: calc((100vh - 55px) - (100vw / 1.6));
	max-width: calc((((100vh - 79px) * 0.75) * 1.6));
	top: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 100%;
	padding: 20px;
}


.portfolio-item h3 {
	margin-bottom:0;
	margin-top:0;
	font-size:3em;
}
.portfolio-item h3 a {
	color:#242424;
	text-decoration:none;
}
.portfolio-item h3 + h4  {
	margin:0.25em 0 0 0;
	font-weight:200;
}


@media all and (max-height:970px) {
	.description {
		overflow-y:scroll;
	}
}

@media all and (max-width:1500px),  all and (max-height:700px) {
	.portfolio-item h3 {
		font-size:2.4em;
	}
}

@media all and (max-width:1300px), all and (max-height:600px) {
	.portfolio-item h3 {
		font-size:2em;
	}
}

@media all and (max-width: 600px), all and (max-height:480px) {
	.portfolio-item h3 {
		font-size:1.6em;
	}
}

@media all and (max-width:1000px) {
	body {
		padding-top: 55px;
	}
	header {
		font-size: 14px;
	}
	
	h1 {
		font-size: 1.6em;
	}
	
	header ul {
		line-height: 3.9em;
	}
	
	.portfolio-item {
		height: calc(100vh - 55px);
	}
	.portfolio-item img {
		height: calc((100vh -  55px) * 0.75);
	}


	.description {
		height: calc((100vh -  55px) * 0.25);
		max-width: calc((((100vh - 55px) * 0.75) * 1.6));
	}

}

@media all and (max-width:730px) {
	body {
		padding-top: 47px;
	}
	header {
		font-size: 12px;
	}	
	
		.portfolio-item {
		height: calc(100vh - 47px);
	}
	.portfolio-item img {
		height: calc((100vh -  47px) * 0.75);
	}


	.description {
		height: calc((100vh -  47px) * 0.25);
		max-width: calc((((100vh - 47px) * 0.75) * 1.6));
	}
}

@media all and (max-width:600px) {
	body {
		padding-top: 66px;
	}	
	
		.portfolio-item {
		height: calc(100vh - 66px);
	}
	.portfolio-item img {
		height: calc((100vh -  66px) * 0.75);
	}


	.description {
		height: calc((100vh -  66px) * 0.25);
		max-width: calc((((100vh - 66px) * 0.75) * 1.6));
	}
}

@media all and (max-width:364px) {
	header {
		font-size: 10px;
	}
}
