.grid {
	position: relative;
	width: 100%;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	width: 33.33%;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img.backer {
	position: relative;
	display: block;
	max-width: 100vw;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}



.grid figure h2,
.grid figure p {
	margin: 0;
}


/* Individual effects */

/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-julia {
	background: #2f3238;
}

figure.effect-julia img.backer {
	max-width: none;
	width: 100%;
	-webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	opacity: 0.7;
}

figure.effect-julia figcaption {
	text-align: center;
}

figure.effect-julia div {
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	z-index: 2;
	position: relative;
}
figure.effect-julia h2 img {
	position: relative;
	padding: 0.5em 0;
	opacity: 1;
	-webkit-transition: opacity 0.85s, -webkit-transform 0.85s;
	transition: opacity 0.85s, transform 0.85s;
	width: 13vw;
}

figure.effect-julia p {
	display: inline-block;
	opacity: 0;
	margin: 20px 0 0.25em;
	font-size: 15px;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	font-family:"Panton W01 Bold", Helvetica, Arial, sans-serif;
	letter-spacing:2px;
}

figure.effect-julia:hover img.backer {
	opacity: 0.3;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-julia:hover h2 img {
	opacity: 1;
	-webkit-transform: scale3d(1.2,1.2,1);
	transform: scale3d(1.2,1.2,1);
}

figure.effect-julia:hover p {
	opacity: 1;
}

/* Media queries */
@media screen and (max-width: 46em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		width: 100% !important;
	}
	figure.effect-julia img.backer {
		opacity: 0.2;
		-webkit-transform: scale3d(1.1,1.1,1);
		transform: scale3d(1.1,1.1,1);
	}
	figure.effect-julia h2 img {
		opacity: 1;
		width: 30vw;
	}

	figure.effect-julia p {
		opacity: 1;
	}
}
