.tab-gallery {
    display: block; /* Make sure all galleries are displayed */
}

.gallery img {
    max-width: 100%;
    height: auto;
   
}

.tab-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    color: #000;
    text-align: center !important;
    font-weight: 500;
    text-transform: uppercase !important;
}

.tab-button:hover {
    color: #555;
}

.tab-button.active-button {
    color: #d62155
    
}
.tabs {
    text-align: center !important;
}


@media only screen and (min-width: 768px) {
    .overlay {
       position: relative;
       width: 100%;
       height: 100% !important;
    }
 }

 .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
 }

 .overlay:hover .overlay-content {
    opacity: 1;
 }

 .portfolio-img {
    color: #fff !important;
    text-decoration: none;
    display: inline-block;
    position: relative;
 }

 .overlay-content img {
    max-width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    /* Optional: Add border-radius for a rounded image */
 }

 .isotope-filters {
    text-align: center;
    margin-bottom: 20px;
 }

 .isotope-filters button {
    margin: 5px;
    padding: 8px 12px;
    background-color: #f0f0f0;

    cursor: pointer;
    line-height: 13px !important;
 }

 .isotope-filters button.active {
    background-color: #3498db;
    /* Set the active button background color */
    color: #fff;
    /* Set the active button text color */
    /* Set the active button border color */
 }