﻿.hoverContainer {
    position: relative;
    /*width: 50%;*/
}

.hoverImage {
    opacity: 1;
    display: block;
    /*width: 100%;
    height: auto;*/
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius:25px; 
    min-width:250px;
}

.hoverMiddle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
}

.hoverContainer:hover .hoverImage {
    opacity: 0.2;
}

.hoverContainer:hover .hoverMiddle {
    opacity: 1;
}

.hoverText {
    color: black;
    font-size: 24px;
    padding: 16px 32px;
}
