body, html {
	background: #252839;
	padding: 0;
	margin: 0;
	font-family: Montserrat;
}

.page_body {
    width: 1180px;
    margin: 0 auto;
	position: relative;
}

.square {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b5b5b7+0,252839+100 */
	background: rgb(181,181,183); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(181,181,183,1) 0%, rgba(37,40,57,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(181,181,183,1) 0%,rgba(37,40,57,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(181,181,183,1) 0%,rgba(37,40,57,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5b5b7', endColorstr='#252839',GradientType=0 ); /* IE6-9 */
    
	width: 75%;
	padding-bottom: 75%;
	position: absolute;
	transform: rotate(45deg);
	margin-top: -38%;
	right: 67%;
	opacity: .8;
}

.heading {
    position: relative;
    width: 100%;
    padding-bottom: 64%;
}

.heading > * {
	position: absolute;
}

.heading h1 {
    width: 100%;
    text-align: right;
    text-transform: uppercase;
    font-size: 88px;
    margin: 0;
    padding: 0;
    color: #b5b5b7;
    top: 24%;
}

span.yellow {
	color: #f2b632;
}

.desc {
    right: 0;
    text-align: right;
    top: 39%;
    font-size: 30px;
    color: #fff;
}

.desc p {
	margin: 10px 0;
}

.desc a {
    border: 3px solid #f2b632;
    border-radius: 1000px;
    text-decoration: none;
    color: #b5b5b7;
    padding: 6px 24px;
    font-size: 20px;
    margin-top: 48px;
    display: inline-block;
	transition: all .6s ease;
	-webkit-transition: all .6s ease;
}

.desc a:hover {
    background: #f2b632;
    color: #fff;
}

.block h2 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 48px;
    color: #b5b5b7;
}

.block p {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    padding: 0;
    margin: 5px 2px 32px;
    width: 75%;
}

.container {
    display: block;
    width: 100%;
	margin: 10px 0 120px;
}

.container:after {
    display: block;
    width: 100%;
	clear: both;
	content: "";
}

.project {
    display: block;
    width: 590px;
    height: 440px;
    background-size: cover;
    background-position: 50% 100%;
    float: left;
	position: relative;
	transition: transform .6s ease;
	-webkit-transition: transform .6s ease;
	z-index: 5;
}

@media screen and (min-width: 769px) {

	.project:hover {
		transform: scale(1.1);
		-webkit-transform: scale(1.1);
		z-index: 10;
	}

	.project.pos_tl:hover {
		transform: scale(1.1) translate(-4.5%, -4.5%);
		-webkit-transform: scale(1.1) translate(-4.5%, -4.5%);
	}

	.project.pos_tr:hover {
		transform: scale(1.1) translate(4.5%, -4.5%);
		-webkit-transform: scale(1.1) translate(4.5%, -4.5%);
	}

	.project.pos_bl:hover {
		transform: scale(1.1) translate(-4.5%, 4.5%);
		-webkit-transform: scale(1.1) translate(-4.5%, 4.5%);
	}

	.project.pos_br:hover {
		transform: scale(1.1) translate(4.5%, 4.5%);
		-webkit-transform: scale(1.1) translate(4.5%, 4.5%);
	}

}

.project > div {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 10px 16px;
    color: #fff;
}

.project h3 {
    margin: 0 -2px;
    font-size: 54px;
    text-transform: uppercase;
    line-height: 54px;
}

.project > div span {
    font-style: italic;
    margin-top: 4px;
    display: block;
}

.project_details {
	display: none;
    position: fixed;
    z-index: 100;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
    background: rgba(0,0,0,.6);
}

.project_details::after {
    content: '';
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    display: block;
    bottom: 0;
    background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 90%, rgba(0,0,0,0) 100%);
    height: 64px;
}

.details_inner {
	position: absolute;
	display: block;
    padding: 24px;
    background: #fff;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 1180px;
    max-height: 92%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -48%);
    overflow-y: scroll;
    overflow-x: hidden;
}

.details_close {
    position: absolute;
    top: 22px;
    right: 10px;
    color: #000;
    z-index: 15;
    font-size: 100px;
    display: block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    transform: rotate(45deg);
    cursor: pointer;
    font-weight: 300;
}

.project_details h3 {
    text-transform: uppercase;
    font-size: 48px;
    margin: 0 0 16px;
}

.project_details .video {
    width: 100%;
    position: relative;
    padding-bottom: 56.4%;
    background: #111;
	margin-bottom: 10px;
}

.project_details .video iframe {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.project_details p {
    width: 100%;
    color: #000;
    margin: 16px 16px 16px 2px;
}

@media screen and (max-width: 1400px) {
	
	.page_body {
		width: 960px;
	}
	
	.heading h1 {
		font-size: 66px;
	}
	
	.desc {
		font-size: 22px;
	}
	
	.desc a {
		font-size: 16px;
		margin-top: 36px;
	}
	
	.block h2 {
		font-size: 36px;
	}
	
	.project {
		width: 480px;
		height: 360px;
		background-size: 100% auto !important;
	}
	
	.project h3 {
		font-size: 40px;
		line-height: 40px;
		margin: 0;
	}
	
	.project > div span {
		font-size: 14px;
		margin-top: 1px;
	}
	
	.project > div {
		padding: 8px 14px;
	}
	
	.details_inner {
		max-width: 960px;
	}
	
}

@media screen and (max-width: 1024px) {
	
	.page_body {
		width: 700px;
	}
	
	.square {
		right: 96.7%;
	}
	
	.heading {
		padding-bottom: 360px;
	}
	
	.heading h1 {
		font-size: 64px;
		top: 10%;
		text-align: left;
	}
	
	.block h2 {
		font-size: 24px;
	}

	.block p {
		width: 100%;
	}
	
	.project {
		width: 50%;
		height: 260px;
		background-size: auto 100%;
		background-position: 50% 50%;
	}
	
	.container {
		margin: 8px 0 64px;
	}
	
	.project > div span {
		font-size: 10px;
	}
	
	.project h3 {
		font-size: 26px;
		line-height: 26px;
	}
	
	.project > div {
		padding: 5px 8px;
	}
	
	.details_inner {
		max-width: 700px;
	}
	
}

@media screen and (max-width: 768px) {
	
	.page_body {
		width: 320px;
		padding: 0 20px;
	}
	
	.square {
		right: 96.7%;
	}
	
	.heading {
		padding-bottom: 320px;
	}
	
	.heading h1 {
		font-size: 36px;
		top: 6%;
		text-align: left;
	}

	.block p {
		font-size: 14px;
	}
	
	.desc {
		text-align: left;
		font-size: 14px;
		top: 24%;
		padding: 0 10px;
	}
	
	.desc br {
		display: none;
	}
	
	.desc a {
		font-size: 12px;
		padding: 4px 10px;
		border: 2px solid #f2b632;
		margin-top: 24px;
		background: #f2b632;
		color: #fff;
	}
	
	.block h2 {
		font-size: 24px;
	}
	
	.project {
		width: 320px;
		height: 240px;
	}
	
	.container {
		margin: 8px 0 64px;
	}
	
	.project > div span {
		font-size: 10px;
	}
	
	.project h3 {
		font-size: 26px;
		line-height: 26px;
	}
	
	.project > div {
		padding: 5px 8px;
	}
	
	.details_inner {
		max-width: 320px;
	}
	
	.details_close {
		top: 10px;
		right: -6px;
		font-size: 64px;
	}
	
	.project_details h3 {
		font-size: 24px;
	}
	
}