.gallery-section-header {
    margin-top: 80px;
    padding: 100px 0 40px;
    background: #fbfaf3;
}
.gallery-header {
    max-width: 820px;
    margin: 0 auto;
}
.gallery-title {
    font-size: 38px;
    font-weight: 300;
    color: #232323;
    margin-bottom: 18px;
}
.gallery-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin: 0 auto;
}
.gallery-section {
    padding: 0 0 90px;
    background: #fbfaf3;
}
#gallery-container {
    /* padding-top: 20px; */
}
#gallery-container .row {
    margin-left: 0;
    margin-right: 0;
}
#gallery-container .gallery-item {
    padding-left: 7px !important;
    padding-right: 7px !important;
    margin-bottom: 14px;
}
#gallery-container .boxes {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
#gallery-container .boxes .da-image,
#gallery-container .boxes .image {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
#gallery-container .boxes:hover .da-image,
#gallery-container .boxes:hover .image {
    transform: scale(1.03);
}
#gallery-container .overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 10;
    background-clip: content-box;
    padding-left: 7px !important;
    padding-right: 7px !important;
}
#gallery-container .overlay a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../images/enlarge.svg');
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1024px) {
    .gallery-section-header {
    margin-top: 60px;
    }
    .gallery-section {
    padding: 0 0 50px;
    }
}
@media (max-width: 767px) {
    .gallery-section-header {
        padding: 50px 0 25px;
    }
    .gallery-title {
        font-size: 28px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}
