   /* Gallery Grid Layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.share-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.share-button:hover {
    background-color: #233563;
    color: #fff;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.5s;
}

.popup-modal.show {
    display: block;
}

.popup-modal .close {

    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.popup-modal .close:hover,
.popup-modal .close:focus {

    color: #bbb;
    text-decoration: none;
}

.popup-content {

    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    transition: transform 0.3s ease;
    border-radius: 10px;
	    padding-top: 200px;
}

/* Animation for fade in and fade out */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
