
/* effect-1 css */

.text-desc {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    height: 100%;
    opacity: 0;
    width: 100%;
   /*  padding: 20px; */
}


.port-1 {
	float: left;
	width: 100%;
	position: relative;
	overflow: hidden;
	text-align: center;
	border: 4px solid rgba(255, 255, 255, 0.9);
}

.port-1 .text-desc {
	opacity: 0.9;
	top: -100%;
	transition: 0.5s;
	color: #000;
	padding: 0 10px 10px;
}

.port-1 img {
	transition: 0.5s;
}

.port-1:hover img {
	transform: scale(1.2);
}

.port-1.effect-1:hover .text-desc {
	top: 0;
}

.port-1.effect-2 .text-desc {
	top: auto;
	bottom: -100%;
}

.port-1.effect-2:hover .text-desc {
	bottom: 0;
}

.port-1.effect-3 .text-desc {
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	overflow: hidden;
	padding: 0;
}

.port-1.effect-3:hover .text-desc {
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
	padding: 45px 20px 20px;
}
/* effect-1 css end */

