body {
	background-color: #fff;
}

#projects-page {
	position: absolute;
	background: #fff;
	text-align: center;
	z-index: 10;
	padding: 5em;
	box-sizing: border-box;
}
body.projects {
	
}

.project {
	width: 18em;
	height: 12em;
	margin: 0.2em;
	display: inline-block;
	background-size: cover;
	vertical-align: top;	
	position: relative;
	transition: all 0.25s ease-out;
	overflow: hidden;
}

.project a {
	display: block;
	width: 100%;
    height: 100%;
    transition: background-position 0.5s ease-in;
}
.project a:before {
	content: "";
    background-color: #fff;
    display: block;
    position: absolute;
    width: 220%;
    height: 220%;
    top: -6em;
    left: -45em;
    transform: rotate(15deg);
    opacity: 0.1;
    transition: left 1s ease-in-out;
}

.project:hover {
	transform: rotateX(-8deg) rotateY(8deg);
}
.project a:hover:before {
	left: -3em;
}

.project:hover a {
	background-position: -4em;
}

.project:hover .info h1,
.project:hover .info h2 {
	margin-right: 0.5em;
}

.project .info {
	position: absolute;
	width: 100%;
	bottom: 0;
	right: 0;
	font-family: 'Julius Sans One', sans-serif;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 0.5em;
    box-sizing: border-box;
    text-align: right;
}

.project .info h1 {
	font-size: 1em;
	font-weight: 100;
	color: #fff;
 	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
 	transition: margin-right 0.25s ease-in;
}

.project .info h2 {
	font-size: 0.8em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: normal;
    color: #F0A830;
    letter-spacing: 0.05em;
    background-repeat: no-repeat;
    background-position: center;
    transition: margin-right 0.25s ease-in;
    transition-delay: 0.15s;
}

.project.dara {
	background-image: url('../images/projects/small_dara.jpg');
}

.project.daraxmas {
	background-image: url('../images/projects/small_daraxmas.jpg');
}

.project.medikidz {
	background-image: url('../images/projects/small_medikidz.jpg');
}

.project.placeview {
	background-image: url('../images/projects/small_placeview.jpg');
	    background-position: center;
}

.project.rajawali {
	background-image: url('../images/projects/small_rajawali.jpg');
}

.project.rajawali-vuforia {
	background-image: url('../images/projects/small_rajawali_vuforia.jpg');
}

.project.rajawali-vr {
	background-image: url('../images/projects/small_rajawali_vr.jpg');
	background-position: center;
}

.project.min3d {
	background-image: url('../images/projects/small_min3d.jpg');
}

#project-detail {
	width: 100%;
	height: 100%;
	background-color: rgba(255, 0, 0, 0.5);
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.3);
}

#project-detail-content {
    background-color: #fff;
    width: 100%;
    height: 100%;
    margin: auto;
    vertical-align: middle;
    border: none;
}

.project-detail {
	background-color: #fff;
	width: 100%;
	padding: 0;
	margin: 0;
}

.header {
	background-color: #F28978;
	padding: 5em 0 2em 1.5em;
}

.header h2 {
	font-family: 'Raleway', sans-serif;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    line-height: 1.4em;
    margin: auto;
    max-width: 800px;
    text-align: left;
    font-weight: 100;
}

.header .breadcrumb-projects,
.header .breadcrumb-projects a {
	text-decoration: none;
	color: #1c596a;
}

.header .breadcrumb-name {
	color: #fff;
}

.project-detail .description {
    margin: auto;
    text-align: left;
    max-width: 800px;
    padding: 2em 2em 1em 2em;
}

.project-detail .description p {
	margin-bottom: 1em;
}

.project-detail .images {
	margin: auto;
	max-width: 800px;
	text-align: center;
}

.project-detail figcaption {
    margin: 1em 1em 2em 1em;
    font-style: italic;
    text-align: left;
    padding-left: 1em;
}

#menu {
	background-color: rgba(121, 166, 242, 0.9);
	background-position: 1.2em 0.75em;
	top: 0;
}

#menu ul li a {
	color: #eee;
}

@media screen and (max-width: 1200px) {
	.project-detail .description {
	    margin: 0 14%;
	    text-align: left;
	    padding: 2em 2em 1em 2em;
	}

	.project-detail .images {
		margin: 0 14%;
		text-align: center;
	}

	.header h2 {
		margin: 0 15%;
	}
}

@media screen and (max-width: 1000px) {
	.project-detail .images figure iframe,
    .project-detail .images figure img {
    	width: 500px;
    	height: 350px;
    }
}

@media screen and (max-width: 640px) {
	#menu {
		background-position: center 0.8em;
	}
	#projects-page {
	    padding: 5em 0;
	}

	.project-detail .header {
	    padding: 6em 1em 1em 1em;
	}

	.project-detail .description,
	.project-detail .images {
		padding: 2em 1em;
    	width: auto;
    	margin: 0 2%;
    }

    .header h2 {
    	margin: 0 2%;
    }

    .project-detail .images figure iframe,
    .project-detail .images figure img {
    	width: 100%;
    	height: auto;
    }
}