@charset "utf-8";
.demo{
	padding: 2em 0;
}
.box{
	background: linear-gradient(#c0c0c0,#3c3939);
	/*   #736969,#736969*/
	font-family: 'Merriweather Sans', sans-serif;
	border-radius: 7px;
	position: relative;
	/* overflow: hidden; */
}
.box:before{
	content: "";
/* 	background: -webkit-repeating-linear-gradient(45deg,rgba(0, 0, 0, 0.1) 10px,
				transparent 10px,transparent 20px,rgba(0,0,0,0.1) 20px,rgba(0,0,0,0.1) 30px,
				transparent 30px,transparent 40px,rgba(0,0,0,0.1) 40px,rgba(0,0,0,0.1) 50px,
				transparent 50px,transparent 60px,rgba(0,0,0,0.1) 60px,rgba(0,0,0,0.1) 70px,
				transparent 70px,transparent 80px,rgba(0, 0,0, 0.1) 80px,
				rgba(0, 0,0, 0.1) 90px,transparent 90px); */
	width: 100%;
	height: 100%;
	opacity: 1;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	transition: all 0.5s;
}
.box img{
	width: 100%;
	height: auto;
	transition: all 0.5s ease;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.box:hover img{
	opacity: 0.1;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.box .box-content{
	color: #fff;
	text-align: center;
	width: 100%;

	opacity:1;

	transform: translateX(-50%) translateY(-50%) ;
	/* rotate(-55deg) */
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	transition: all 0.5s;
}
.box:hover .box-content{
	opacity: 1;
	transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
.box .title{
	font-size: 25px;
	font-weight: 700;
	opacity: 1;
	text-transform: uppercase;
	text-shadow: 0 0 5px #000;
	margin: 0 0 3px 0;
}
.box .post{
	font-size: 16px;
	text-shadow: 0 0 5px #000;
	text-transform: capitalize;
	display: block;
}
@media only screen and (max-width:990px){
	.box { margin: 0 0 0px; }
}
@media only screen and (max-width:479px){
	.box .title{ font-size: 20px; }
}