.image-overlay{
    border-radius: 5%;
    padding: 15px ;
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
.img-overlay{
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%) !important;
    text-align: center;
}

.show-overlay:hover>.image-overlay{
    opacity: 0.3;
}

.show-overlay:hover .img-overlay {
    opacity: 1;
    z-index: 1000;
}

@media screen and (min-width: 250px) and (max-width: 1200px){
    .image-overlay{
        opacity: 0.3;
    }

    .img-overlay {
        opacity: 1;
    }
}

.text-ovr {
    color: #d0061e;
    font-weight: bold;
    font-size: 16px;
    padding: 16px 32px;
}