/* -------------
  CONF GENERAL
---------------- */

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

    body { 
        background: white; 
        color: #1c1c1b; 
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
        overflow-x: hidden; 
        opacity: 0; 
        transition: opacity 0.8s ease;
    } 

    body.page-visible { 
        opacity: 1; 
    } 

    body.page-exit { 
        opacity: 0; 
    }



/* -------------
  MENÚ SUPERIOR
---------------- */

    .top-menu {
        position: fixed;
        top: 50px;
        right: 150px;
        display: flex;
        gap: 80px;
        z-index: 1000;
        transition: transform 0.25s cubic-bezier(0.77, 0, 0.18, 1);
    }

    .top-menu a {
        color: #1c1c1b;
        text-decoration: none;
        font-size: 17px;
        font-weight: 460;
        transition: opacity 0.3s ease;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .top-menu a:hover {
        opacity: 0.45;
    }

    .top-menu.menu-hidden {
        transform: translateY(-150px);
    }

    .top-menu.menu-hidden {
        transform: translateY(-100px);
    }



/* ------
    K
-------- */

    .big-k {
        position: fixed;
        top: 30px;
        left: 30px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 70px;
        font-weight: 200;
        line-height: 0.8;
        letter-spacing: -0.12em;
        text-decoration: none;
        color: #1c1c1b;
    }

    .big-k {
        transition: transform 0.4s ease;
        transform-origin: top left;
    }

    .big-k:hover {
        transform: scale(1.08);
    }



/* ------
  HEADER
-------- */

    .project-info {
        width: calc(100% - 160px);
        margin: 200px 150px 0px 10px; 
        padding-left: 150px;
        display: grid;
        grid-template-columns: 7fr 1fr 1fr 1fr;
        column-gap: 80px;
        align-items: start;
    }

    .project-description h1 {
        font-size: 70px;
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.03em;
    }

    .project-description h2 {
        font-style: italic;
        font-size: 30px;
        font-weight: 200;
        line-height: 1;
        letter-spacing: -0.01em;
    }

    .project-text p {
        margin: 0;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 400;
    }



/* ------
   GIF 
-------- */

    .gif {
        width: 1500px;
        height: auto;
        display: block;
        margin: 0px auto 0;
    }

    .gif-page {
        margin: 100px 150px 150px auto;
        box-sizing: border-box;
        width: 80vw;
        font-size: 52px;
        line-height: 1.2;
        font-weight: 400;
        letter-spacing: -1.5px;
        word-spacing: 50px;
        text-transform: uppercase;
        text-align: justify;
    }



/* -----------------
   INFO DESPLEGABLE
-------------------- */

    .gif-info {
        width: 400px;
        margin: -50px 960px 150px auto;
    }

    /* BOTÓN */

    .gif-button {
        background: none;
        border: none;
        padding: 0;
        font-family: inherit;
        font-size: 15px;
        font-weight: 450;
        color: #1c1c1b;
        cursor: none;
            opacity: 1;
            transition: opacity 0.5s ease;
            text-decoration: underline;
            text-underline-offset: 4px;
    }

    .gif-button:hover {
        opacity: 0.45;
    }


/* TEXTO OCULTO */

    .gif-text {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;

        font-size: 18px;
        line-height: 1.3;
        font-weight: 300;
        letter-spacing: -0.20px;
        word-spacing: 15px;
        text-align: justify;

        transition:
            max-height 0.6s ease,
            opacity 0.4s ease,
            margin-top 0.6s ease;
    }


/* TEXTO ABIERTO */

    .gif-text.open {
        max-height: 500px;
        opacity: 1;
        margin-top: 40px;
    }

    .gif-text p {
        margin-bottom: 25px;
    }



    .foto1 { 
        width: 80%; 
        margin: 100px auto 100px;
    } 

    .foto1 img { 
        width: 100%; 
        height: auto; 
        display: block; 
        margin-bottom: 30px;
    }



/* -----------------
   PASSAR PROJECTE
-------------------- */

.project-navigation {
    width: 100%;
    height: 180px;
    padding: 150px 150px;
    margin-top: -160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.project-arrow {
    font-family: inherit;
    font-size: 15px;
    font-weight: 450;
    color: #1c1c1b;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.project-arrow:hover {
    opacity: 0.45;
}



/* -------
  FOOTER
---------- */

    .footer {
        width: 100%;
        height: 400px;
        background-color: #121212;
        color: white;
        padding: 40px 40px 40px 40px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-top {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 80px;
    }

    .footer-item {
        display: flex;
        flex-direction: column;
        font-size: 15px;
        line-height: 2;
        font-weight: 300;
        text-align: center;
    }


    .footer-label {
        margin-bottom: 5px;
    }


    .footer-item a {
        color: white;
        text-decoration: none;
    }

    .footer-item a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        width: 100%;
        text-align: right;
        padding-right: 90px;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 400;
    }

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

    .footer-bottom a:hover {
        text-decoration: underline;
    }



/* ---------
  CURSOR
----------- */

    html {
        cursor: none;
    }

    .cursor {
        position: fixed;
        width: 20px;
        height: 20px;
        border: 2px solid #1c1c1b;
        border-radius: 50%;
        background: transparent;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition:
            width 0.2s ease,
            height 0.2s ease,
            background 0.2s ease,
            border 0.2s ease;
    }

    .cursor.cursor-active {
        background: #1c1c1b;
    }

    a,
    button,
    .project-link {
        cursor: none;
    }