body {
    background-color: black;
    color: white;
    font-family: "Goudy Bookletter 1911", serif;
    margin: 0;
    padding: 20px;
    text-align: center;
	font-size: 1.25em;
}

h1 {
    font-family: "Instrument Serif", serif;
    color: #609F2D;
    font-size: 3.5em;
    margin-bottom: 0;
}

h2 {
    font-family: "Instrument Serif", serif;
    color: #609F2D;
    font-size: 2.5em;
    margin-top: 0.5em;
    margin-bottom: 0;
}

h3 {
    font-family: "Instrument Serif", serif;
    color: #609F2D;
    font-size: 1.5em;
    margin-bottom: 5px;
	margin-top: 0px;
	
}

.header-line {
    border: 0;
    height: 1px;
    background: #609F2D;
    margin: 10px 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
	max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
	align: center;
}

.category-container {
    border: 3px solid white;
    border-radius: 8px;
    overflow: hidden; /* Ensures images don't overflow on hover */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.category-container:hover {
    transform: scale(1.05); /* Expand slightly on hover */
}

.category-header {
    padding: 0px; /* Padding for title and subtitle */
    background-color: black; /* Matches body background */
}

.subtitle {
    font-size: 0.9em;
    margin: 0;
    color: white; /* Slightly muted for subtlety */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    margin: 0; /* No margin around image grid */
}

.image-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0px;
    margin: 0; /* No margin on images */
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover h3 {
    color: white;
}

footer {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #609F2D;
}

footer a {
    color: #609F2D;
}

footer a:hover {
    color: white;
}

input[type="submit"],
button {
    background-color: #609F2D;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 1em;
    margin: 10px;
}

input[type="submit"]:hover,
button:hover {
    background-color: white;
    color: #609F2D;
}

.images-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.images-table th, .images-table td {
    border: 1px solid #609F2D;
    padding: 8px;
    text-align: left;
}

.images-table th {
    background-color: #609F2D;
    color: black;
}

.group-header td {
    background-color: #333;
    font-weight: bold;
    text-align: center;
}

.preview-img {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.message.success {
    background-color: #28a745;
    color: white;
}

.message.error {
    background-color: #dc3545;
    color: white;
}

.goudy-bookletter-1911-regular {
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-style: normal;
}

.fira-code-<uniquifier> {
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Switch to 1 column on mobile */
    }

    body {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    h1 {
        font-size: 2em; /* Slightly smaller headings */
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }

    .category-header {
        padding: 10px; /* Adjust padding on mobile */
    }

    .header-line {
        width: 80%; /* Wider lines on mobile for better centering */
    }

    footer {
        padding: 10px;
    }

    .images-table th, .images-table td {
        padding: 4px; /* Smaller table padding */
        font-size: 0.9em;
    }

    .preview-img {
        width: 80px; /* Smaller previews */
    }
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 20px;
    max-width: 1000px; /* Caps the grid width */
    margin-left: auto; /* Centers the grid horizontally */
    margin-right: auto;
}

.photo-grid a {
    display: block; /* Makes the link fill the grid cell */
    text-decoration: none;
}

.photo-grid-img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensures no cropping */
    border-radius: 4px;
    transition: transform 0.3s ease; /* Smooth expand on hover */
}

.photo-grid-img:hover {
    transform: scale(1.05); /* Expand on hover */
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 5px;
        max-width: 100%; /* Full width on mobile, no cap */
    }
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-size: 1em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #333;
    color: white;
    border: 1px solid #609F2D;
    border-radius: 4px;
    font-family: "Goudy Bookletter 1911", serif;
}

.contact-form textarea {
    height: 150px;
}

.contact-form input[type="submit"] {
    margin-top: 20px;
    background-color: #609F2D;
    color: white;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover {
    background-color: white;
    color: #609F2D;
}
footer a {
    color: #609F2D;
    text-decoration: none;
}

footer a:hover {
    color: white;
}