body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
    color: white;
    overflow-x: hidden;
}

.logo {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 24px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
}

/* New style for nav link */
.nav {
    position: fixed;
    top: 55px; /* Push it down right below the logo */
    left: 10px;
    font-size: 20px; /* Smaller font size */
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border-radius: 5px;
    pointer-events: all; /* Ensures link is clickable */
}

.nav a {
    color: white;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

.gallery {
    display: flex;
    flex-direction: column;
    margin-top: 0px;
    gap: 4px;
}

.gallery-row {
    display: flex;
    width: 100%;
    gap: 4px;
    justify-content: center;
}

.gallery-row img {
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto;
    outline: 0;
}

/* Hover effect - optional */
.gallery-row img:hover {
    outline: 4px solid white;
    animation: flash 0.3s ease;
}

@keyframes flash {
    0% { filter: brightness(1); }
    50% { filter: brightness(2); }
    100% { filter: brightness(1); }
}

/* Zoomed image effect */
.gallery-row img.zoomed {
    z-index: 100;
    transform: scale(2);
    position: relative;
}
