body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: auto;
    background-color: #0d0d0d;
    color: #777;
}
header {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 10px;
}
h1 {
            font-size: 2em;
        }
        @media (max-width: 600px) {
            h1 {
                font-size: 1.5em;
            }
        }
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    padding: 10px;
    align-items: center;
    max-width: 100%; /* Allow full width on smaller screens */
    margin: 0 auto;
}

/* Ensure a max of 5 columns only on wider screens */
@media (min-width: 1200px) {
    .gallery {
        max-width: 1200px;
    }
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
 .menu {
            position: absolute;
            top: 20px;
            left: 20px;
        }
       .menu-button {
            font-size: 30px;
            background: none;
            border: none;
		    color: #F2F2F2;
            cursor: pointer;
        }
        .menu-items {
            display: none;
            background: #0D0D0D;
            padding: 10px;
            position: absolute;
            top: 40px;
            left: 0;
            width: 150px;
        }
        .menu-items a {
            display: block;
            text-decoration: none;
            color: #F2F2F2;
            padding: 8px 0;
        }
	.menu-items a:hover {
            text-decoration: underline;
        }
        .menu.open .menu-items {
            display: block;
        }
	.modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: #0d0d0d;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .modal img {
            max-width: 20%;
            max-height: 20%;
            border-radius: 5px;
        }
        .modal.show {
            display: flex;
        }
        body.modal-open {
            overflow: hidden;
            height: 100vh;
            touch-action: none;
        }