body {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.nav {
    position: absolute;
    left: 20px;
}

.nav,
.nav-icon {
    width: clamp(32px, 5vw, 64px);
    height: auto;

}

.logo {
    width: clamp(200px, 25vw, 1000px);
    height: auto;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.gallery-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    /* Adjust as needed */
}



.subject-preview {
    margin: 0 auto;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.subject-image,
.subject-image-filled {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.subject-image-filled {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Desktop hover effects */
@media (min-width: 768px) {
    .subject-preview:hover {
        transform: scale(1.1);
    }

    .subject-preview:hover .subject-image-filled {
        opacity: 1;
    }

    .subject-preview:hover .subject-image {
        opacity: 0;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .subject-image-filled {
        display: none;
        /* Hide the filled image on mobile */
    }

    .umi {
        max-height: 100px;
    }

    .subject-preview {
        width: 80%;
        /* Adjust for desired mobile width */
        margin-bottom: 20px;
    }
}