* {
    box-sizing: border-box;
}

a {
    color: #4ab19a;
}

.clear {
    clear: both;
    float: none;
    width: 100%;
}

.container {
    max-width: 95%;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

    .container .gallery a img {
        float: left;
        width: 20%;
        height: 300px;
        object-fit: cover;
        object-position: center top;
        border: 2px solid #fff;
        -webkit-transition: -webkit-transform .15s ease;
        -moz-transition: -moz-transform .15s ease;
        -o-transition: -o-transform .15s ease;
        -ms-transition: -ms-transform .15s ease;
        transition: transform .15s ease;
        position: relative;
    }

    .container .gallery a:hover img {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -o-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        z-index: 5;
    }

    .image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

h3.text-center {
    transition: transform .15s ease;
    background: #822f71;
    color: #fff;
    padding:20px;
}
a.big.img-responsive {
    overflow: hidden;
}

.container .gallery a.big img {
    width: 25%;
}

.align-center {
    text-align: center;
}
