.grid {
	position: relative;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0;	/*change here for spacing*/	
	width: 33.333333333%;
	text-align: center;
	cursor: pointer;
}
.grid figure a{
	color:#fff;
}

.grid figure img {
	position: relative;
	display: block;
	width: 100%;
	opacity: 1;
	transition-duration:1s;
}

.caps{text-transform:uppercase;}

.grid figure figcaption {	
	color: #fff;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.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 p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* Individual effects */

/*---------------*/
/***** Oscar *****/
/*---------------*/

figure.effect-oscar figcaption p, figure.effect-oscar figcaption h6{margin-bottom:0px; padding-bottom:0px;}

figure.effect-oscar figcaption {}
figure.effect-oscar figcaption.oneline h6 {} 
figure.effect-oscar figcaption.oneline h6.oneline {padding-top: 0%;} 
figure.effect-oscar figcaption h6{
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
	font-weight:bold;
	font-size:30pt;
}
 

figure.effect-oscar figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-oscar figcaption::before,
figure.effect-oscar p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-oscar:hover figcaption {
	background-color: rgba(0,0,0,0.4);
}

figure.effect-oscar:hover img {
	opacity: 1;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
	transition-duration:1s;
}


@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		width: 50%;
	}
}


@media (max-width: 639px) {
	.grid figure {width: 100%;}
}