.image-trail {
    position: absolute;
    inset: 0;
    width: 240px !important;
    height: 180px !important;
    margin-left: -120px;
    margin-top: -90px;
    border-radius: 20px;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
}
@media (max-width: 900px){
    .image-trail {
        width: 160px;
        height: 120px;
    }
}


.scroll-card {
    width: 100vw;
    border-radius: 25px;
    overflow: hidden;
}
.scroll-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}



.scroll-card {
    position: relative;
    width: min(100%, 1200px);
    margin: 0 auto;
    border-radius: clamp(16px, 3vw, 25px);
    overflow: hidden;
}

.scroll-card img {
    display: block;
    width: 100%;
    height: clamp(250px, 60vw, 700px);
    object-fit: cover;
}

/* Tablet */
@media (max-width: 991px) {
    .scroll-card img {
        height: 75vw;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .scroll-card {
        border-radius: 16px;
    }

    .scroll-card img {
        height: 100vw;
    }
}



















.fullpage-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    .progress {
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 0%;
        background: #fff;
        z-index: 20;
    }
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
        }
        .overlay {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #000 0%, transparent 60%);
        }
        .title {
            position: absolute;
            left: 8%;
            top: 40%;
            color: #fff;
            font-size: clamp(34px, 6vw, 70px);
            font-weight: bold;
        }
        .desc {
            position: absolute;
            left: 8%;
            top: 55%;
            color: #fff;
            font-size: clamp(14px, 2vw, 20px);
            opacity: 0.9;
            max-width: 400px;
        }

    }
    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
        color: #fff;
        cursor: pointer;
        z-index: 10;

        padding: 14px 20px;

        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        border-radius: 40px;

        transition: 0.2s;
        &.left {
            left: 40px;
        }
        &.arrow.right {
            right: 40px;
        }
    }
    .thumbWrap {
        position: absolute;
        left: 80%;
        top: 50%;
        transform: translateY(-50%);
        width: 120px;
        height: 180px;
        overflow: hidden;
        z-index: 20;
        .thumbTrack {
            position: absolute;
            width: 100%;
        }
    }
    .thumb {
        width: 100%;
        height: 180px;

        border-radius: 14px;
        overflow: hidden;

        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    @media (max-width: 900px) {
        .thumbWrap {
            left: 70%;
            width: 90px;
            height: 140px;
        }

        .thumb {
            height: 140px;
        }

        .arrow {
            font-size: 22px;
        }
    }
}









.pixper-portfolio{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
}

.portfolio-item img{
width:100%;
height:auto;
}

.portfolio-gallery{
display:flex;
gap:10px;
margin-top:15px;
}

.gallery-item img{
width:80px;
height:80px;
object-fit:cover;
}
















:root {
     --fg: #f3f4f6;
    --muted: #d2d0d3;
}
.pixper-paragraph {
    max-width: 980px;
    .fill-text {
        margin: 0;
        /* font-size: clamp(22px, 4vw, 48px);
        font-weight: 600;
        line-height: 1.15;*/
        letter-spacing: -0.01em;
        text-wrap: pretty; 
        span {
            -webkit-background-clip: text;
            background-clip: text;
            background-color: var(--muted);
            background-image: linear-gradient( 135deg, var(--fg) 50%, var(--muted) 60% );
            background-position: 0 0;
            background-repeat: no-repeat;
            background-size: 0% 200%;
            color: transparent;
            display: inline;
            will-change: background-size;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fill-text > span {
            background-size: 200% 200%;
        }
    }

}




























:root {
    --warm-off-black: #1a1917;
    --warm-off-white: #f8f5f2;
}


section.categories {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Background */
#background-image-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

/* Wrapper */
.categoryes-wrapper {
    width: 100vw;
    /*max-width: 1400px;*/
    margin: 0 auto;
    min-height: 100svh; /* mobile safe */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 80px);
    position: relative;
    z-index: 10;
}

/* Scroll container */
.projects-container {
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding: clamp(10px, 2vw, 30px);

    scrollbar-width: none;
}
.projects-container::-webkit-scrollbar {
    display: none;
}

/* Project item */
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(12px, 2vw, 20px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: relative;
    cursor: pointer;
}

/* Typography FIX (important) */
.project-title,
.project-year {
    font-size: clamp(18px, 2.5vw, 42px);
    font-weight: 300;
    line-height: 100%;
    text-transform: uppercase;
    color: #fff;
    mix-blend-mode: exclusion;
    z-index: 2;
}

/* Hover effect */
.project-item::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 0;
    background: #EC0808;
    transition: height 0.3s ease;
    z-index: 0;
}

.project-item:hover::before {
    height: 100%;
}

/* Tablet */
@media (max-width: 768px) {
    .projects-container {
        max-height: 60vh;
    }
    .project-title {
        font-size: 8vw;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-title {
        font-size: 8vw;
    }

    .project-year {
        font-size: 18px;
    }
}

@keyframes noise-animation {
    0% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-2%, -3%);
    }
    20% {
        transform: translate(-4%, 2%);
    }
    30% {
        transform: translate(2%, -4%);
    }
    40% {
        transform: translate(-2%, 5%);
    }
    50% {
        transform: translate(-4%, 2%);
    }
    60% {
        transform: translate(3%, 0);
    }
    70% {
        transform: translate(0, 3%);
    }
    80% {
        transform: translate(-3%, 0);
    }
    90% {
        transform: translate(2%, 2%);
    }
    100% {
        transform: translate(1%, 0);
    }
    }







section.inspiration {

    .slider {
        width: 100vw;
        height: 100vh;
        overflow: hidden;

        .sidebar {
            width: 100vh;
            height: -moz-max-content;
            height: max-content;
            display: flex;
            align-items: flex-start;
            transform: rotate(-90deg) translate(-100%, 0);
            transform-origin: left top;
            padding: 15px;
            /* font-family: "Teko", sans-serif; */
            
            & > div:nth-child(1) {
                flex: 2;
            }

            & > div:nth-child(2) {
                flex: 2;
                display: flex;
                gap: 3em;
            }

            p#header {
                text-transform: uppercase;
                font-size: 5rem;
                font-weight: 900;
                line-height: 85%;
                margin-bottom: 1rem;
            }

        }
    
        .slider-wrapper {
            position: absolute;
            top: 0;
            display: flex;
            width: max-content;
            padding: 0 600px;
            height: 100%;
            display: flex;
            align-items: center;
            gap: 60px;

            .slide {
                width: 400px;
                height: 500px;
                background-color: #e3e3e3;

                img {
                    width: 100%;
                    height: 100%;
                    -o-object-fit: cover;
                    object-fit: cover;
                }
            }
        }
    }

}



section.book-gallery {

    .scene {
        width: 100vw;
        height: 100svh;
        perspective: 1000px;
        transform-style: preserve-3d;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;

        .galeria-book-3d {
                position: relative;
                width: 200px;
                height: 300px;
                perspective: 1000px;
                transform-style: preserve-3d;
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 10;

                --spine-shift: 0px;

                transform: translateX(var(--spine-shift));
                transition: --spine-shift 0.5s ease;

                &.book-open {
                    --spine-shift: 100px;
                }

                .galeria-book-3d__item {
                    position: absolute;
                    /* width: 250px;
                    height: 375px; */
                    perspective: 1000px;
                    transform-style: preserve-3d;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    transform-origin: left center;
                    --page-rotate: 0deg;
                    transform: rotateY(var(--page-rotate));
                    transition: --page-rotate 0.5s ease-in-out, z-index 0s;
                    transition-delay: calc((4 - var(--i)) * 0.1s),
                        calc((4 - var(--i)) * 0.1s + 0.25s);
                    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
                    cursor: pointer;
                    z-index: calc(10 - var(--i));

                    &.is-open {
                        --page-rotate: -180deg;
                        transition-delay: 0s, 0s;
                        z-index: calc(20 + var(--i));
                    }

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        position: absolute;
                        top: 0;
                        left: 0;
                        background: #f4f4f4;
                        backface-visibility: hidden;

                        &:nth-child(2) {
                            transform: rotateY(180deg) translateZ(1px);
                            z-index: 1;
                        }

                    }
                }
            }
    }

}



.image-effect-canvas {
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    .slide {
        position: relative;
        filter: contrast(2000%);
        overflow: hidden;        

        &::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            bottom: -50%;
            right: -50%;
            background: radial-gradient(circle at center, #333, #fff);
            background-size: 0.25em 0.25em;
            transform: rotate(20deg);
        }

        img {
            position: relative;            
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
                object-fit: cover;
            -o-object-position: center;
                object-position: center;
            mix-blend-mode: hard-light;
            filter: grayscale(1) brightness(80%) contrast(150%) blur(2px);
        }
    }
}




.portfolios-wrapper {
    width: 100vw;
    overflow-x: hidden;
    a {
        text-decoration: none;
        width: inherit;
        height: 100vh;
        position: relative;
        color: #fff;
        display: block;

        filter: blur(20px);
        transform: scale(1.05);
        image-rendering: pixelated;

        transition: filter .8s ease, transform .8s ease;

        &.loaded{
            filter: blur(0);
            transform: scale(1);
        }

        .details {
            position: absolute;
            position: absolute;
            left: 50px;
            bottom: 50px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 15px;

            h2 {
                font-size: clamp(12rem, 3vw + 1.2rem, 20rem);
                font-weight: 800;
                line-height: 100%;
                display: block;                
                text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
            }
            span {
                display: block;
                font-size: 25px;
                font-weight: 600;
            }
        }
        
    }
}





section.background-parallax {
    width: 100vw;
    height: 100vh;

    h2 {
        font-size: clamp(1rem, 5vw, 5rem);
        font-weight: 900;
        line-height: .9;
        text-align: center;
        /* letter-spacing: 0.5em; */
        /* margin-right: -0.5em; */
        color: hsl(0, 0%, 100%);
        width: 90vw;
        max-width: 1200px;
    }

    .background-wrapper {
        width: 100vw;
        height: 100vh;
        top: 0;
        position: fixed;
        visibility: hidden;

        .outer, .inner {
            width: 100%;
            height: 100%;
            overflow-y: hidden;
        }

        .bg {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            width: 100vw;
            height: 100vh;
            top: 0;
            background-size: cover;
            background-position: center;

            h2 {
                z-index: 2;
            }

            .clip-text {
                overflow: hidden;
            }

        }


    }

            .first .bg {
                background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(https://images.unsplash.com/photo-1617478755490-e21232a5eeaf?crop=entropy&cs=srgb&fm=jpg&ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYxNzU1NjM5NA&ixlib=rb-1.2.1&q=75&w=1920);
                width: 100vw;
                height: 100vh;
            }

            .second .bg {
            background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://images.unsplash.com/photo-1617128734662-66da6c1d3505?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYxNzc3NTM3MA&ixlib=rb-1.2.1&q=75&w=1920");
                width: 100vw;
                height: 100vh;
            }

            .third .bg {
            background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(https://images.unsplash.com/photo-1617438817509-70e91ad264a5?crop=entropy&cs=srgb&fm=jpg&ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYxNzU2MDk4Mg&ixlib=rb-1.2.1&q=75&w=1920);
                width: 100vw;
                height: 100vh;
            }

            .fourth .bg {
            background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(https://images.unsplash.com/photo-1617412327653-c29093585207?crop=entropy&cs=srgb&fm=jpg&ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYxNzU2MDgzMQ&ixlib=rb-1.2.1&q=75&w=1920);
                width: 100vw;
                height: 100vh;
            }

            .fifth .bg {
            background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://images.unsplash.com/photo-1617141636403-f511e2d5dc17?crop=entropy&cs=srgb&fm=jpg&ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYxODAzMjc4Mw&ixlib=rb-1.2.1&q=75w=1920");
            background-position: 50% 45%;
            
                width: 100vw;
                height: 100vh;
            }

            h2 * {
                will-change: transform;
            }
        }


.reveal-it {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    /* height: 550px; */

    .before-wrap {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 0;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .after-wrap {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 1;
        clip-path: inset(0 50% 0 0);
        transition: clip-path 0.1s ease;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    input.slider {
        position: absolute;
        z-index: 2;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        appearance: none;
        height: 3px;
        background: transparent;
        border-radius: 5px;
        outline: none;
        cursor: pointer;
        &::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            background: #fff;
            border-radius: 50%;
        }
    }
}

.slider-it {
    display: flex;
    overflow: hidden;
    position: relative;
    
    .track {
        display: flex;
        width: max-content;
        gap: 15px;

        .item {
            width: 450px;
            flex-shrink: 0;
            display: flex;               
            flex-direction: column;
            gap: 15px;

            .item-media {
                width: 450px;
                height: 450px;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }

            }

            .item-body {
                display: flex;                            
                flex-direction: column;
                gap: 5px;

                h3 {
                    font-size: 22px;
                    font-weight: 500;
                    display: block;
                    line-height: 100%;
                    letter-spacing: 0.5px;
                }

                h6 {
                    display: block;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 100%;
                }

            }
            
        }

    }

}



/* section.portfolios-section{
    .portfolios-item {
        position: relative;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        
        .item-text {
            h1 {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                color: #000;
                font-size: 12vw;
                width: 100%;
                text-align: center;
                font-weight: 600;
                text-transform: uppercase;
            }
        }

        .item-img {
            width: 1080px;
            height: 500px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            img {
                width: 100%;
                height: 100%;
                -o-object-fit: cover;
                    object-fit: cover;
            }
        }

        @media (max-width: 900px) {
            h1 {
                font-size: 30px;
            }
            .item-img {
                width: 225px;
                height: 125px;
            }
        }

    }
} */