body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.title {
    font-size: 2em;
    text-align: center;
}

.haiku {
    text-align: center;
    font-style: italic;
    margin-bottom: 40px;
}

.return-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #FFF;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid #FFF;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.return-button:before {
    content: "←";
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
}

.return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #FFF;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    border: 2px solid #FFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.return-to-top:hover {
    background-color: #FFF;
    color: #000;
}

.photo-story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.photo-story-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.photo-story-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.photo-story-image:hover {
    transform: scale(1.05);
}

.centered-image-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.centered-image {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.photo-lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.photo-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background-color: transparent;
    color: #fff;
}

.social-media-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-media-links li {
    display: inline-block;
    margin: 0 10px;
}

.social-media-links a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.social-media-links img {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 600px) {
    .photo-story-grid, .photo-story-grid2 {
        grid-template-columns: 1fr;
    }
}
