.btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    color: #fff;
    border: 2px solid #4d92d9;
    background-color: #;
    text-decoration: none;
    transition: 0.4s;
}

.btn:hover {
    background-color: transparent;
    color: #;
    transition: 0.4s;
}

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

/*= Reset CSS End
================= *

/* effect-1 css */

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

.port-1 .text-desc {
    opacity: 0.8;
    top: -100%;
    transition: 0.5s;
    color: #fff;
    padding: 15px 20px 20px;
    font-size: 12px;
    line-height: 22px;
}

.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: 5px 20px 20px;
}

/* effect-1 css end */

/* effect-3 css */

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

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

.port-3.effect-1 .text-desc {
    z-index: -1;
    transition: 0.5s;
    transform: rotateX(80deg);
    transform-origin: center top 0;
    padding: 45px 20px 20px;
    opacity: 1;
}

.port-3.effect-1:hover .text-desc {
    transform: none;
}

.port-3.effect-1:hover img {
    opacity: 0;
    transform: scale(1.2)
}

.port-3.effect-2 .text-desc {
    z-index: -1;
    transition: 0.5s;
    transform: rotateX(80deg);
    transform-origin: center bottom 0;
    top: auto;
    bottom: 0;
    padding: 15px 20px 20px;
}

.port-3.effect-2:hover .text-desc {
    transform: none;
    opacity: 1;
}

.port-3.effect-2:hover img {
    transform: translateY(-100%)
}

.port-3.effect-3 .text-desc {
    z-index: -1;
    transition: 0.5s;
    transform: rotateX(80deg);
    transform-origin: center top 0;
    padding: 45px 20px 20px;
}

.port-3.effect-3:hover .text-desc {
    transform: none;
    opacity: 1;
}

.port-3.effect-3:hover img {
    transform: translateY(100%)
}

/* effect-3 css end */

/* effect-7 css */

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

.port-7 .text-desc {
    opacity: 0.8;
    transition: 0.5s;
    color: #fff;
}

.port-7.effect-1 img {
    transition: 0.5s;
    position: relative;
    width: 100%;
    left: 0;
}

.port-7.effect-1:hover img {
    left: 50%;
}

.port-7.effect-1 .text-desc {
    transform: perspective(600px) rotateY(90deg);
    transform-origin: left center 0;
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 18px 10px;
    background-color: #555;
}

.port-7.effect-1:hover .text-desc {
    opacity: 1;
    transform: perspective(600px) rotateY(0deg);
    z-index: 99;
}

.port-7.effect-2 img {
    transition: 0.5s;
    position: relative;
    width: 100%;
    top: 0;
}

.port-7.effect-2:hover img {
    top: 50%;
}

.port-7.effect-2 .text-desc {
    transform: perspective(600px) rotateX(90deg);
    transform-origin: top center 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 50%;
    padding: 5px 10px;
}

.port-7.effect-2:hover .text-desc {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg);
    z-index: 99;
}

.port-7.effect-3 img {
    transition: 0.5s;
    position: relative;
    width: 100%;
    right: 0;
}

.port-7.effect-3:hover img {
    right: 50%;
}

.port-7.effect-3 .text-desc {
    transform: perspective(600px) rotateY(-90deg);
    transform-origin: right center 0;
    width: 50%;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    padding: 18px 10px;
}

.port-7.effect-3:hover .text-desc {
    opacity: 1;
    transform: perspective(600px) rotateY(0deg);
    z-index: 99;
}

/* effect-7 css end */

.image-box {
    position: relative;
}

.image-box span {
    position: absolute;
    z-index: 999;
    color: #FFF;
    left: 20px;
    bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.fenge {
    height: 100px;
    clear: both;
    float: none;
    line-height: 100px;
    text-align: center;
    font-size: 30px;
}