.block-figure-5 {
    margin: 20px auto;
    padding: 50px 0;
    position: relative;
    max-width: 640px;
}
.block-figure-5 .triangle-1, 
.block-figure-5 .triangle-2, 
.block-figure-5 .triangle-1:after,
.block-figure-5 .triangle-2:after  {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.block-figure-5 .triangle-1, 
.block-figure-5 .triangle-2 {
    filter: drop-shadow(2px 6px 6px rgba(0, 0, 0, 0.4));
}
.block-figure-5 .triangle-1:after {    
    clip-path: polygon(0 0, 40% 0, 20% 100%, 20% 100%);
    content: "";
    transition: all .5s ease-in-out;
    background: #337AB7;
}
 
.block-figure-5:hover .triangle-1:after {
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0  100%);    
} 
.block-figure-5 .triangle-2:after {
    clip-path: polygon(80% 0, 100% 100%, 60% 100%, 80% 0);
    content: "";
    transition: all .5s ease-in-out;    
    background: #BFE2FF;
}
.block-figure-5:hover .triangle-2:after {
    clip-path: polygon(100% 0, 100% 100%, 40% 100%, 60% 0);
} 
.block-figure-5 .triangle-txt {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 20px;
    margin: 0 50px;
    left: 0;
    background: #FFF;
    box-shadow: 2px 12px 15px rgba(0, 0, 0, 0.4);    
    transition: all .5s ease-in-out;    
}
.block-figure-5 .triangle-txt h3 {  
    text-transform: uppercase;
    color: #337AB7;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px; 
    margin: 6px 0;
}
.block-figure-5 .triangle-txt p { 
    font-family: Verdana, sans-serif;
    font-size: 16px; 
    margin: 6px 0;
}
@media (max-width: 540px) {
    .block-figure-5 .triangle-txt h3 {  
        font-size: 18px; 
    }
    .block-figure-5 .triangle-txt p { 
        font-size: 14px; 
    }
}
@media (max-width: 400px) {
    .block-figure-5 .triangle-txt h3 {  
        font-size: 16px; 
    }
    .block-figure-5 .triangle-txt p { 
        font-size: 13px; 
    }
}