@charset "utf-8";
/* CSS Document */


.img-wrapper
{
	width: 31%;
	height: 350px;
	position: relative;
	
	float: left;
	margin-right: 1.5%;
	margin-bottom: 20px;
	
}
.img-wrapper .namebefore{
	
	color: #ffffff;
	text-align: center;
	text-transform: capitalize;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	bottom: -40px;
	width: 80%;
	margin-left: 10%;
	z-index: 5;
	transition: 1s;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 2px;
	height: 50px;
	line-height: 24px;
	transform: perspective(400px) rotateX(0deg);
	transform-origin: bottom;
	vertical-align: middle	;
	padding-top: 20px;
	font-family: 'Poppins' , sans-serif
}
.img-wrapper:hover .namebefore{
	
	transform-origin: bottom;
	bottom: 0px;
	transform: perspective(400px) rotateX(90deg);
	
}



.img-wrapper img
{
	height: 350px;
	width: 100%;
	filter: grayscale(0%) brightness(70%);
	transition: 2s;
}

.img-wrapper h2 i{
	width: 20px;
	height: 20px;
	margin-right: 5px
}
.img-wrapper h2 i:hover{
	background-color: transparent
}
.img-wrapper h2
{
	opacity: 0.8;
	color: #ffffff;
	text-align: center;
	text-transform: capitalize;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 0px;
	font-family: 'Poppins' , sans-serif;
	
	z-index: -1;
	
/*
	transform: perspective(400px) rotateX(90deg);
	transform-origin: bottom;
*/
	transition: 1s;
	font-size: 0px
}

.img-wrapper:hover h2
{
	z-index: 1;
	height: 200px;
	bottom: 0px;
	font-size:17px; 
	padding-top: 140px
/*	transform: perspective(400px) rotateX(0deg);*/
}

.img-wrapper ul
{
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: rgba(255,255,255,0);
}

.img-wrapper ul li
{
	background: #333;
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 40px;
	transform: perspective(800px) rotateY(90deg);
	transition: .5s;
	transform-origin: left;
}

.img-wrapper:hover ul li
{
	transform: perspective(800px) rotateY(0deg);
}

.img-wrapper:hover ul li:nth-child(1)
{
	transition-delay: .2s;
}

.img-wrapper:hover ul li:nth-child(2)
{
	transition-delay: .6s;
}

.img-wrapper:hover ul li:nth-child(3)
{
	transition-delay: .8s;
}

.img-wrapper:hover ul li:nth-child(4)
{
	transition-delay: 1s;
}

.img-wrapper ul li a
{
	
	background: rgba(255,255,255,0);
}

.img-wrapper ul li i
{
	background: rgba(255,255,255,0);
}

.img-wrapper ul li i:hover
{
	color: #fff;
	background: rgba(255,255,255,0);
}

@media screen and (max-width: 500px) {
	.img-wrapper
{
	width: 95%;
	margin-bottom: 50px
	
}
	.img-wrapper img
{
	
}
}