.gallery-wrapper {
    max-width: 1450px;
    width: 100%;
    margin: 50px auto;
}
.gallery-message {
    font-size: 1.25em;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
    text-align: center;
    flex: auto;
    font-weight: 600;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.gallery-item {
    position: relative;
    max-width: 24%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px .5% 0;
}
.gallery-item img {
    width: auto;
    height: 115%;
    transition: opacity .5s, transform .5s;
}
.gallery-item img.vertical-img {
    width: 115%;
    height: auto;
}
.gallery-icon {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    fill: #111;
    opacity: 0;
    transition: opacity .5s, top .5s;
}
.gallery-item:hover .gallery-icon {
    top: 50%;
    opacity: 1;
}
.gallery-item:hover img {
    opacity: .6;
    transform: scale(1.05);
}

@media screen and (max-width: 1200px) {
    .gallery-item {
        flex: 33%;
        max-width: 32%;
    }
}

@media screen and (max-width: 900px) {
    .gallery-item {
        flex: 50%;
        max-width: 49%;
    }
}

@media screen and (max-width: 600px) {
    .gallery-item {
        flex: 100%;
        max-width: 100%;
        height: auto;
    }
    .gallery-item img {
        width: 100%;
        height: auto;
    }
}
.h2-heading,
.h3-heading {
  margin: 20px auto;
  line-height: 1.3em;
  text-align: center;
  letter-spacing: .05em;
  color: #444;
  font-weight: 500;
}
.h2-heading {
  font-size: 1.8em;
}
.h3-heading {
  font-size: 1.25em;
}