.box-tab {
    margin: 10px 0;
}

.tab .effect {
    position: relative;
    overflow: hidden;
    max-height: 33vh;
    max-width: 100%;
    background: #3085a3;
    background-color: rgb(48, 133, 163);
    text-align: center;
    cursor: pointer;
}

.effect.effect-ten {
    background-color: #162633;
}

.effect {
    margin: auto;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, .07);
    background-color: #fff;
    border: 5px solid #f5f5f5;
}

.effect.effect-ten img {
    transition: all .35s;
    transform: translate3d(-20px, 0, 0) scale(1.1, 1.1);
    -webkit-transition: all .35s;
    -webkit-transform: translate3d(-20px, 0, 0) scale(1.1, 1.1);
}

.tab .effect img {
    position: relative;
    display: block;
    min-height: 100%;
    opacity: .8;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.effect.effect-ten .tab-text {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 300px;
}

.tab .effect .tab-text {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.effect.effect-ten .tab-text::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0) 49%, rgba(132, 132, 132, .45) 50%, rgba(255, 255, 255, .65) 65%);
    transform: rotate3d(-1, 1, 0, 20deg);
    transform-origin: 50% 50%;
    transition: width .2s linear .2s, height .2s linear .2s, bottom .2s linear 0s, right .2s linear 0s;
    -webkit-transform: rotate3d(-1, 1, 0, 20deg);
    -webkit-transform-origin: 50% 50%;
    -webkit-transition: width .2s linear .2s, height .2s linear .2s, bottom .2s linear 0s, right .2s linear 0s;
}

.tab-text h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
}

.effect.effect-ten h2 {
    transform: translate3d(0, 5px, 0);
    -webkit-transform: translate3d(0, 5px, 0);
    transition: all .35s;
    -webkit-transition: all .35s;
    font-family: Oswald;
    z-index: 2;
    position: relative;
    padding-top: 10%;
}

.tab-text p {
    color: #fff;
    margin: 0;
    font-size: 1rem;
}

.effect.effect-ten p {
    font-size: .8rem;
    line-height: 1.1;
    padding-top: 5px;
    transform: translate3d(0, 10px, 0);
    transition: all .35s;
    -webkit-transform: translate3d(0, 10px, 0);
    -webkit-transition: all .35s;
    font-family: Poppins;
}

.effect.effect-ten .tab-text::after {
    content: "";
    width: 180%;
    height: 180%;
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0) 49%, rgba(0, 0, 0, .45) 50%);
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
}

.effect.effect-ten:hover img {
    opacity: .85;
    transform: translate3d(0, 0, 0) scale(1, 1);
    -webkit-transform: translate3d(0, 0, 0) scale(1, 1);
}

.effect.effect-ten:hover .tab-text::before {
    width: 100%;
    height: 100%;
    bottom: 50%;
    right: 50%;
    -webkit-transition: width .2s linear 0s, height .2s linear 0s, bottom .2s linear .2s, right .2s linear .2s;
    transition: width .2s linear 0s, height .2s linear 0s, bottom .2s linear .2s, right .2s linear .2s;
}

.effect.effect-ten:hover h2 {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.effect.effect-ten:hover p {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.effect.effect-ten:hover .tab-text::after {
    top: -80%;
    left: -80%;
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0) 49%, rgba(0, 0, 0, .45) 60%);
}

.vh33 {
    height: 33vh;
}