/* Basic Reset and Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body, html {
    font-family: Arial, sans-serif;
    color: #e9e9e9;
    background-color: black;
    height: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #e9e9e9;
}

a:hover {
    -webkit-text-stroke: 1px;
}

.content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
}

.gallery {
    position: relative;
    width: 100%;
    background-color: black; /* Ensure blend effect works */
}

.gallery::-webkit-scrollbar {
    display: none;
}

.image-container {
    width: 100%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    z-index: 0;
    mix-blend-mode: lighten;
    transition: opacity 0.5s; /* Smooth transition on opacity */
}

.image-container:hover {
    mix-blend-mode: normal;
}

.image-container img {
    position: sticky;
    top: 50%;
    /* transform: translateY(-50%); */
    width: 90%;
    max-height: 90vh;
    object-fit: contain;
    filter: url(#threshold) invert(1) grayscale(100%);
    transition: filter 0.2s; /* Smooth transition on filter change */
}

.image-container img:hover {
    filter: none; /* Reveal original image on hover */
}

.empty {
    width: 100%;
    height: 0; /* This will be dynamically set by JS */
    background: transparent; /* Ensure it is invisible */
}