/* Marquee Carousel Styles for WordPress */
/* Works with body.full-screen class toggle */

/* Common Marquee Styles */
.floating-cursor-text {
    pointer-events: none;
    white-space: nowrap;
    z-index: 999999 !important;
}

.selected-work .marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: none;
}

.selected-work .marquee-inner {
    display: flex;
    width: fit-content;
    cursor: grab;
    user-select: none;
    will-change: transform;
}

.selected-work .marquee-inner.dragging {
    cursor: grabbing;
}

.selected-work .marquee-box {
    flex-shrink: 0;
    margin-right: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.full-screen .marquee-box {
    margin-right: 0;
}


/* Hide full-screen section by default */
.selected-work.full-screen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show full-screen section when body has full-screen class */
body.full-screen .selected-work.full-screen {
    display: block;
    opacity: 1;
}

/* Hide fold section when in full-screen mode */
body.full-screen .selected-work.fold {
    display: none;
    opacity: 0;
}

.selected-work.fold {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Common work-box styles */
.selected-work .marquee-box .work-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Show content in fold view */
.selected-work.fold .marquee-box .content {
    display: block;
}

/* Hide content in full-screen view */
body.full-screen .selected-work.full-screen .marquee-box .content {
    display: none;
}

/* Show client-name in full-screen view */
body.full-screen .selected-work.full-screen .client-name {
    display: block;
}

/* Hide client-name in fold view */
.selected-work.fold .client-name {
    display: none;
}



/*.selected-work.fold .marquee-box .work-box {
    width: calc(100vw / 3.5);
}

body.full-screen .selected-work.full-screen .marquee-box .work-box {
    width: calc(100vw / 2.5);
}*/





/* Custom cursor */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: opacity 0.3s ease;
    opacity: 0;
}
.cursor-text::before {
  content: "[";
}

.cursor-text::after {
  content: "]";
}

.custom-cursor.active {
    opacity: 1;
}

.cursor-text  {
  background: transparent;
  font-size: 13px;
  color: #fff;
}



.selected-work .marquee-box .image-video.loading {
    background: linear-gradient(90deg, #e2e2e2 25%, #f0f0f0 50%, #e2e2e2 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}





