.maincontent {
    max-width: 1450px;
    margin: 0 auto;
    padding: 70px 0;
    text-align: center;
}

#gallery-button-row {
    max-width: 1450px;
    width: 100%;
    margin: 25px auto 35px;
}
#gallery-button-row ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
#gallery-button-row ul li {
    width: 23%;
    margin: 1%;
    flex: 1 1 200px;
}

.gallery-button {
    display: block;
    padding: 10px 20px;
    width: 100%;
    background: transparent;
    border: 3px solid var(--pink);
    color: var(--accent-color);
    font-weight: 600;
    transition: all .3s;
}
.gallery-button:hover,
.gallery-button.selected-gallery {
    background: var(--pink);
    color: #fff;
}

h6 {
    font-size: 1.5em;
    color: var(--accent-color);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0 3%;
    margin-bottom: 70px;
}
.gallery-column {
    margin: 0 auto;
    max-width: 24.5%;
}
.gallery-item {
    max-width: 24.5%;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px .25% 0;
}
.gallery-item img {
    width: 100%;
}
.gallery-item .img-horizontal {
    width: auto;
    height: 100%;
}
.gallery-item i {
    position: absolute;
    top: 45%;
    left: 50%;
    font-size: 3.5em !important;
    border-radius: 50%;
    margin: -41px 0 0 -41px;
    padding: 10px;
    color: #000;
    opacity: 0;
    transition: all .25s;
}
.gallery-item:hover i {
    top: 50%;
    opacity: 1;
}
.gallery-item:hover img {
    opacity: .6;
}
@media screen and (max-width: 1200px) {
    .gallery-item {
        flex: 33%;
        max-width: 32.5%;
    }
}
@media screen and (max-width: 992px) {
    .gallery-item {
        flex: 50%;
        max-width: 49.5%;
    }
}
@media screen and (max-width: 600px) {
    .gallery-item {
        flex: 100%;
        max-width: 100%;
    }
    .gallery-item {
        height: auto;
        display: block;
    }
    .gallery-item img {
        width: 100%;
    }
    .gallery-item .img-horizontal {
        width: 100%;
        height: auto;
    }
}