body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

h1 {
    margin: 0;
}

.gallery-container {
    display: grid;
    /* Adjust minmax(250px, 1fr) to change image size. 250px is the minimum. */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
    max-width: 1200px;
    margin: 20px auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the images fill the square without stretching */
    display: block;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #777;
}

a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
