.ver2 .item {
	box-sizing: border-box;
	background-color: white;
	position: relative;
	display: inline-block;
	/* margin: 1% 1% 1% 1%; */
	overflow: hidden;
	box-shadow: 2px 3px 10px #444444;
	width: 100%;
}

.ver2 .item .overlay {
	color: rgb(255, 255, 255);
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: all 1.5s ease;
	position: absolute;
	top: 0;
	bottom: 0;
}

.ver2 .item img {
	width: 100%;
	filter: grayscale(100%);
	transition: all 0.5s;
}
.ver2 .item:hover img {
	filter: grayscale(0%);
}
/* effect-clean*/
.clean .overlay span:nth-child(3) {
	position: absolute;
	left: 30%;
	top: 35%;
	font-size: 80px;
	font-weight: bold;
	font-family: coustard;
	color: #fff;
	transform: translateX(-50%);
}

.clean .overlay span:nth-child(2) {
	position: absolute;
	top: 20%;
	left: 50%;
	font-size: 16px;
	color: #fff;
	transform: translateX(0%);
}

.clean .overlay span:nth-child(1) {
	height: 1px;
	background-color: rgb(255, 255, 255);
	position: absolute;
	top: 20%;
	left: 20%;
}

.clean .overlay:hover {
	opacity: 0.93;
}

.clean .overlay:hover span:nth-child(1) {
	animation: slide 0.4s;
}

.clean .overlay:hover span:nth-child(2) {
	animation: slide 0.7s;
}

.clean .overlay:hover span:nth-child(1) {
	animation: line 0.5s forwards;
}

@keyframes slide {
	0% {
		transform: translateX(-10%);
	}
	100% {
		transform: translateX(-50%);
	}
}

@keyframes line {
	0% {
		width: 0;
	}
	100% {
		width: 60%;
	}
}

/* effect-uncover*/

.uncover .overlay span:nth-child(1) {
	position: absolute;
	left: 50%;
	top: 35%;
	font-size: 80px;
	font-weight: bold;
	font-family: coustard;
	transform: translateX(-50%);
	opacity: 0;
}

.uncover .overlay span:nth-child(2) {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 17px;
	transform: translateY(-50%);
	transform: translateX(-50%);
	opacity: 0;
}

.uncover .overlay span:nth-child(3) {
	height: 30px;
	background-color: #000;
	position: absolute;
	top: 38%;
	opacity: 0;
}

.uncover .overlay span:nth-child(4) {
	height: 30px;
	background-color: #000;
	position: absolute;
	top: 50%;
	left: 25%;
	opacity: 0;
}

.uncover .overlay:hover {
	opacity: 0.9;
}

.uncover .overlay:hover span:nth-child(1) {
	animation: fadein 0.6s forwards;
	animation-delay: 0.5s;
}

.uncover .overlay:hover span:nth-child(2) {
	animation: fadein 0.6s forwards;
	animation-delay: 0.75s;
}

.uncover .overlay:hover span:nth-child(3) {
	animation: draw-left 0.7s;
}

.uncover .overlay:hover span:nth-child(4) {
	animation: draw-right 0.7s;
	animation-delay: 0.6s;
}

@keyframes draw-left {
	0% {
		opacity: 0;
		width: 0px;
		left: 75%;
	}
	50% {
		opacity: 1;
		left: 25%;
		width: 200px;
	}

	100% {
		opacity: 0;
		width: 0px;
		left: 25%;
	}
}

@keyframes draw-right {
	0% {
		opacity: 0;
		width: 0px;
	}
	50% {
		opacity: 1;
		width: 200px;
	}

	100% {
		opacity: 0;
		width: 0px;
	}
}

@keyframes fadein {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* effect-explode */
.explode .overlay span:nth-child(1) {
	position: absolute;
	left: 10%;
	top: 45%;
	font-size: 200px;
	font-weight: bold;
	font-family: coustard;
	transform: translateX(-50%);
	opacity: 0;
}

.explode .overlay span:nth-child(2) {
	position: absolute;
	top: 80%;
	left: 10%;
	font-size: 17px;
	opacity: 0;
}

.explode .overlay span:nth-child(3) {
	position: absolute;
	top: 90%;
	left: 0;
	height: 60px;
	background-color: #000;
}

.explode .overlay:hover {
	opacity: 0.9;
}

.explode .overlay:hover span:nth-child(1) {
	animation: focus 0.4s forwards;
	animation-delay: 0.2s;
}

.explode .overlay:hover span:nth-child(2) {
	animation: focus 0.4s forwards;
	animation-delay: 0.4s;
}

.explode .overlay:hover span:nth-child(3) {
	animation: block 0.3s forwards;
	animation-delay: 0.15s;
}

@keyframes focus {
	0% {
		transform: scale(1.4) translateX(-30%);
		filter: blur(10px);
		opacity: 0;
	}
	100% {
		transform: scale(1) translateX(0%);
		filter: blur(0px);
		opacity: 1;
	}
}

@keyframes block {
	0% {
		width: 0;
		filter: blur(5px);
		opacity: 0;
	}
	100% {
		width: 100%;
		filter: blur(0px);
		opacity: 1;
	}
}
