@font-face{
	font-family: "SanFranciscoBold";
	font-family: "SanFranciscoMedium";
	src:url('../fonts/SanFranciscoDisplay-Bold.otf');
	src:url('../fonts/SanFranciscoDisplay-Medium.otf');
}

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

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

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.98;
}

.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 {
		transition:1s ease all;
}


/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */


.grid figure h2 { 
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

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

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(top, rgba(254, 215, 1,0) 0%, rgba(254, 215, 1,0.8) 75%);
	background: linear-gradient(to bottom, rgba(254, 215, 1,0) 0%, rgba(254, 215, 1,0.8) 75%);
	content: '';
	opacity: 0.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);


}

figure.effect-sadie h2 {
	position: absolute;
	/* text-transform: lowercase; */
	top: 15%;
	left: 0;
	width: 100%;
	color: white;
	-webkit-transition: -webkit-transform 0.35s, color 0.35s;
	transition: transform 0.35s, color 0.35s;
	-webkit-transform: translate3d(0,-15%,0);	
	transform: translate3d(0,-15%,0);


}

figure.effect-sadie figcaption::before,
figure.effect-sadie a {
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: ease-out opacity 0.5s, transform 0.5s;
}

figure.effect-sadie a {
	position: absolute;
	bottom:30%;
	left: 0;
	/* padding: 2em; */
	width: 100%;
	opacity: 0;
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);	
}
figure.effect-sadie a img{
	width:52px !important;
}

figure.effect-sadie:hover h2 {
	transition:  0.5s ease-out ;
	font-size: 27px;
	color: white;
	font-family: "SanFranciscoMedium";
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    transform: translate3d(0,60%,0) translate3d(0,113px,0);
}

figure.effect-sadie:hover figcaption::before ,
figure.effect-sadie:hover a {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

@media only screen and (max-width: 1900px){
	figure.effect-sadie:hover h2{
		-webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    	transform: translate3d(0,50%,0) translate3d(0,50%,0);
	}
}

@media only screen and (max-width: 1200px){
	figure.effect-sadie a{
		bottom:19%;
	}
}