

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
}

.gallery-item {
    width: auto;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

    .gallery-item:hover {
/*        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);*/
    }

.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);
/*    justify-content: center;*/
    align-items: center;
    flex-direction: column; /* Align items vertically */
}

.modal-content {
    margin: auto;
    display: block;
/*    max-width: 80%;
    max-height: 80%;*/
    transition: transform 0.2s;
}

.zoom-controls {
    position: absolute;
    bottom: 20px; /* Position at the bottom */
    display: flex;
    gap: 10px;
}

    .zoom-controls button {
        background-color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px;
        cursor: pointer;
        font-size: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: background-color 0.2s;
    }

        .zoom-controls button:hover {
            background-color: #e0e0e0;
        }

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* Media Query for Mobile */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }

    nav ul {
        display: none; /* Hide navbar items on mobile */
    }

    .overlay-navbar a {
        font-size: 22px;
        padding: 8px 32px;
    }
}