@charset "UTF-8";

.clue-hover {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 0px;
	list-style: none;
	text-align: center;
	overflow: auto;
}

/* Common style */
.clue-hover a {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0px;
	max-height: 360px;
	width: 25%;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	display: block;
}

.clue-hover a .julia-bg {
	position: relative;
	display: block;
	min-height: 100%;
	min-width: 100%;
	opacity: 0.5;
}

.clue-hover a figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 20px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.clue-hover a figcaption::before,
.clue-hover a figcaption::after {
	pointer-events: none;
}

.clue-hover a figcaption,
.clue-hover a 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 */
.clue-hover a figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.clue-hover a h2 {
	font-weight: 200;
}

.clue-hover a h2 span {
	font-weight: 700;
}

.clue-hover a h2,
.clue-hover a p {
	margin: 0;
}

.clue-hover a p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* Individual effects */

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

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

a.effect-julia .julia-bg {
	width: 100%;
	height: 360px;
	-webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

a.effect-julia figcaption {
	text-align: left;
}

a.effect-julia h2 {
	position: relative;
	padding: 0px;
}

a.effect-julia p {
	display: inline-block;
	margin: 20px 0px;
	padding: 20px 0px;
	/* background: rgba(255,255,255,0.9); */
	color: white;
	border-width: 4px 0px 4px 0px;
	border-color: white;
	border-style: solid;
	text-transform: none;
	font-weight: 400;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-500px,0,0);
	transform: translate3d(-500px,0,0);
}

a.effect-julia .julia-icon {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-500px,0,0);
	transform: translate3d(-500px,0,0);
	margin-top: 10px;
}

a.effect-julia p:first-child {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

a.effect-julia p:nth-of-type(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

a.effect-julia p:nth-of-type(3) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

a.effect-julia:hover p:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

a.effect-julia:hover p:nth-of-type(2) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

a.effect-julia:hover p:nth-of-type(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

a.effect-julia:hover .julia-bg {
	opacity: 0.1;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

a.effect-julia:hover p,
a.effect-julia:hover .julia-icon {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

@media (max-width: 800px) {
	.clue-hover a {
		width: 50%;
	}
	
	.clue-hover a figcaption {
		font-size: 18px;
	}
}

@media (max-width: 500px) {
	.clue-hover a {
		width: 100%;
	}
	
	.clue-hover a figcaption {
		font-size: 16px;
	}
}