.i51hoverboxes {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    z-index: 5;
    flex-wrap: wrap;
}

.i51hoverboxes .hoverbox {
    background: none;
    border: 0 none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center;
}

.i51hoverboxes .hoverbox .hoverboxinner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 40px;
    background-attachment: scroll;
    padding-bottom: 50%;
    position: relative;
    transition: all .3s ease-in-out;
}

.i51hoverboxes .boxtext {
    opacity: 1;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(49,49,49, 0.2);
    /*transition: all 0.5s ease-in-out;*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.i51hoverboxes h3 {
    padding: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    color: white;
}

.i51hoverboxes .hoverbox a {
    font-size: 0;
    opacity: 0;
    text-indent: 200%;
    white-space: nowrap;
    z-index: 1000;
}

.i51hoverboxes .hoverbox a {
    bottom: 0;
    box-sizing: border-box;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.i51hoverboxes .hoverbox img {
    -webkit-transition: all 0.35s ease 0s;
    -ms-transition: all 0.35s ease 0s;
    -o-transition: all 0.35s ease 0s;
    transition: all 0.35s ease 0s;
    max-width: 95%;
}

.i51hoverboxes .hoverbox:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.i51hoverboxes .hoverbox:hover .hoverboxinner {
    filter: blur(2px);
    transform: scale(1.06);
}

@media (max-width: 980px){
    .i51hoverboxes .hoverbox {
        flex-basis: 50%;
    }
}

@media (max-width: 550px){
    .i51hoverboxes {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .i51hoverboxes .hoverbox {
        flex-basis: 100%;
    }

    .i51hoverboxes .boxtext h3 {
        font-size: 20px;
    }
}
