@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;300;400&display=swap');

* html,
body,
a,
button,
p {
    cursor: none !important;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    overflow: hidden;
    cursor: none;
}

.intro-screen {
    background: #f5f5f5;
}

.intro-line {
    color: #000;
}

.index a {
    color: #000;
    text-decoration: none;
}

.index p {
    color: #000;
}

/* INTRO */

.intro-screen {
    position: fixed;
    inset: 0;
    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 100;
}

.intro-line {
    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;
    color: #000;
    line-height: 1;

    opacity: 1;
    transform: translateY(0);
}

.intro-line.hide {
    animation: introExit 1.3s cubic-bezier(.7,0,.2,1) forwards;
}

@keyframes introExit {
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

/* INDEX */

.index a {
    color: #000;
    text-decoration: none;
}
a {
    cursor: none;
}

.index {
    position: fixed;

    top: 40px;
    left: 40px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.25rem;

    z-index: 20;
}

.index p {
    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;
    line-height: 1.1;

    color: #000;

    margin: 0;


}

.index p:first-child {
    opacity: 1;
    margin-bottom: 1.5rem;
}

.index a {
    color: #000;
    text-decoration: none;

    display: inline-block;

    transform: translateX(0);

    transition:
        transform 0.45s cubic-bezier(.22,1,.36,1),
        opacity 0.45s cubic-bezier(.22,1,.36,1);
}
.index a:hover {
    transform: translateX(16px);
}

/* CURSOR */

.cursor {
    position: fixed;
    left: 0;
    top: 0;

    width: 30px;
    height: 30px;
    rotate: 30deg;

        background: rgb(255, 0, 150);
    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    pointer-events: none;
    transform: translate(-50%, -50%);

    z-index: 9999;
    opacity: 0;
}
html,
body,
a,
button {
    cursor: none !important;
}
.trail-star {
    opacity: 0.2;
    position: fixed;

    width: 30px;
    height: 30px;

    background: rgb(68, 214, 0);

    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    pointer-events: none;

    transform: translate(-50%, -50%) rotate(30deg);

    mix-blend-mode:luminosity;

    animation: fadeTrail 1.5s ease forwards;

    z-index: 9998;
}

@keyframes fadeTrail {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
/* TIPO */

@font-face {
    font-family: "NeueFont-Regular";
    src: url("./assets/font/NeueFont-Regular\ copy.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body,
a,
button,
p {
    cursor: none !important;
}

.typography-page {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    background: #f5f5f5;
    overflow: hidden;

    --x: 50vw;
    --y: 50vh;
}

.experiment {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.experiment.active {
    opacity: 1;
    pointer-events: auto;
}

/* 01 LETTER FADE */

.letter-stage {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.fade-letter {
    font-family: "NeueFont-Regular", sans-serif;
    font-size: clamp(80px, 18vw, 220px);
    line-height: 1;
    color: #000;

    opacity: 0;
    transition: opacity 0.22s ease;
}

.fade-letter.is-visible {
    opacity: 1;
}

/* 02 REVEAL HEJ TI */

.reveal-type {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    clip-path: circle(90px at var(--x) var(--y));
    -webkit-clip-path: circle(90px at var(--x) var(--y));
}

.reveal-type p {
    font-family: "NeueFont-Regular", sans-serif;
    font-size: clamp(20px, 5vw, 60px);
    line-height: 1;
    color: #000;
}

/* COUNTER */

.experiment-counter {
    position: fixed;
    left: 40px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    z-index: 100;
}

/* CURSOR */

.type-cursor {
    position: fixed;
    left: -100px;
    top: -100px;

    width: 30px;
    height: 30px;

    background: rgb(255, 0, 150);

    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    pointer-events: none;
    transform: translate(-50%, -50%) rotate(30deg);

    z-index: 9999;
}

.type-cursor.large {
    width: 180px;
    height: 180px;

    mix-blend-mode: difference;
}
.cursor-label {
    position: fixed;

    transform: translateY(-50%);

    font-family: "Roboto Mono", monospace;
    font-size: 8px;
    font-weight: 200;

    color: rgb(255, 0, 150);

    opacity: 0.45;

    pointer-events: none;

    z-index: 10000;
}
.experiment-counter {
    position: fixed;

    right: 40px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    z-index: 100;
}

.type-index-link {
    position: fixed;

    right: 10px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    text-decoration: none;

    z-index: 100;

    cursor: none;
    padding-right: 80rem;

    
}
.type-index-link a:hover {
    transform: translateX(16px);
}

/* 03 KERNING */

/* 03 KERNING */

.kerning-stage {
    width: calc(100vw - 80px);
    height: 100vh;
    height: 100svh;

    margin: 0 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 0.35em;
}

.kerning-line {
    width: 100%;

    font-family: "NeueFont-Regular", sans-serif;
    font-size: clamp(20px, 4vw, 60px);
    line-height: 0.9;

    color: #000;

    margin: 0;

    text-align: justify;
    text-align-last: justify;

    white-space: nowrap;

    animation: kerningBreath 12s ease-in-out infinite;
}

@keyframes kerningBreath {
    0% {
        letter-spacing: -0.02em;
        word-spacing: 0.1em;
    }

    50% {
        letter-spacing: 0.63em;
        word-spacing: 0.8em;
    }

    100% {
        letter-spacing: -0.02em;
        word-spacing: 0.1em;
    }
}

/* 04 DESCRIPTION */

/* 04 DESCRIPTION */

.type-description-stage {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.type-description-stage p {
    max-width: 620px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;
    line-height: 1.35;

    color: rgb(255, 0, 150);

    text-align: center;
    margin: 0;

    opacity: 0;
    transform: translateY(20px);
}

.experiment-04.active .type-description-stage p {
    animation: descriptionReveal 1.4s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes descriptionReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 01 PUBLICATION */

.publication-one-page {
    background: #f5f5f5;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.publication-slideshow {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-slideshow img {
    max-width: 50vw;
    max-height: 50vh;

    object-fit: contain;
    display: block;
}
/* CURSOR */

html,
body,
a {
    cursor: none !important;
}

.type-cursor {
    position: fixed;

    left: -100px;
    top: -100px;

    width: 30px;
    height: 30px;

    background: rgb(255, 0, 150);

    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    transform:
        translate(-50%, -50%)
        rotate(30deg);

    pointer-events: none;

    z-index: 9999;
}

/* INDEX */

.publication-index {
    position: fixed;

    left: 40px;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(-90deg);

    transform-origin: center;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    text-decoration: none;

    z-index: 100;
}

/* PUBLICATION */

/* PUBLICATION I */

.publication-one-page {
    background: #f5f5f5;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

/* EXPERIMENTS */

.publication-experiment {
    position: fixed;
    inset: 0;

    opacity: 0;
    pointer-events: none;
}

.publication-experiment.active {
    opacity: 1;
    pointer-events: auto;
}

/* 01 SLIDESHOW */

.publication-slideshow {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-slideshow img {
    max-width: 50vw;
    max-height: 50vh;

    object-fit: contain;
    display: block;
}

/* 02 DESCRIPTION */

.publication-description-stage {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.publication-description-stage p {
    max-width: 620px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;
    line-height: 1.35;

    color: rgb(255, 0, 150);

    text-align: center;

    opacity: 0;
    transform: translateY(20px);
}

.publication-experiment-02.active .publication-description-stage p {
    animation: descriptionReveal 1.4s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes descriptionReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UI */

.publication-counter {
    position: fixed;

    right: 40px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    z-index: 100;
}

.publication-index-link {
    position: fixed;

    right: 10px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    text-decoration: none;

    z-index: 100;
}

/* CURSOR */

.type-cursor {
    position: fixed;

    left: -100px;
    top: -100px;

    width: 30px;
    height: 30px;

    background: rgb(255, 0, 150);

    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    transform:
        translate(-50%, -50%)
        rotate(30deg);

    pointer-events: none;

    z-index: 9999;
}

html,
body,
a {
    cursor: none !important;
}

.publication-counter {
    position: fixed;

    left: 40px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    z-index: 100;
}

.publication-index-link {
    position: fixed;

    left: 70px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    text-decoration: none;

    z-index: 100;
}
.publication-two-page .publication-slideshow img {
    max-width: 88vw;
    max-height: 88vh;

    object-fit: contain;
    display: block;
}
/* PHOTOGRAPHY */

.photography-page {
    background: #f5f5f5;
    width: 100vw;
    height: 100vh;
    height: 100svh;

    overflow: hidden;
    cursor: none;
}

.photo-stage {
    width: 100vw;
    height: 100vh;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-image {
    max-width: 50vw;
    max-height: 65vh;

    object-fit: contain;
    display: block;

    opacity: 1;
    transition: opacity 0.25s ease;
}

/* UI */

.photo-counter {
    position: fixed;

    left: 40px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    margin: 0;
    z-index: 100;
}

.photo-index-link {
    position: fixed;

    left: 70px;
    bottom: 40px;

    font-family: "Roboto Mono", monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 200;

    color: rgb(255, 0, 150);

    text-decoration: none;

    z-index: 100;
}

/* CURSOR */

html,
body,
a {
    cursor: none !important;
}

.type-cursor {
    position: fixed;

    left: -100px;
    top: -100px;

    width: 30px;
    height: 30px;

    background: rgb(255, 0, 150);

    clip-path: polygon(
        50% 0%,
        61% 31%,
        94% 25%,
        72% 50%,
        94% 75%,
        61% 69%,
        50% 100%,
        39% 69%,
        6% 75%,
        28% 50%,
        6% 25%,
        39% 31%
    );

    transform:
        translate(-50%, -50%)
        rotate(30deg);

    pointer-events: none;

    z-index: 9999;
}

.type-cursor.large {
    width: 180px;
    height: 180px;

    mix-blend-mode: difference;
}