body {
    font-family: 'Inconsolata', monospace; /* Use Inconsolata font */
    background-color: #fff;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}
.credit {
    padding: 20px;
}
.nodeco {
    text-decoration: none;
	color:black;
}

.back-arrow {
    position: absolute;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.title {
    font-family: 'Inconsolata', monospace;
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}
.container {
  justify-content: center;
}
.photo {
  justify-content: center;
  margin-top:30px;
	margin-bottom: 10px;
}
.link {
    text-decoration: underline;
    color: #000;
    font-size: 32px;
    margin: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Always 4 columns */
    gap: 20px; /* 20px spacing between photos */
    justify-items: center;
    align-items: center;
    margin: 0 auto; /* Center the gallery */
    max-width: 660px; /* 4x150px + 3x20px = 660px total width */
}

/* Additional unchanged styles */
.thumbnail {
    width: 150px;
    height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 10px; /* Space between photos on mobile */
        padding: 10px;
        max-width: calc(100% - 20px); /* Full width minus margin */
    }

    .thumbnail {
        width: calc(100% - 20px);
        height: auto;
        margin: 10px auto;
    }
}
.slideshow-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slideshow {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.slideshow img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}
