/* -------------
  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;
    }



/* -------------
  MENÚ LATERAL
---------------- */

    .menu {
        position: fixed;
        left: 3.4vw;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 55px;
        z-index: 100;
    }

    .menu a {
        position: relative;
        color: #121212;
        text-decoration: underline;
        text-underline-offset: 4px;
        font-size: 15px;
        font-weight: 450;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .menu a:hover {
        opacity: 0.45;
    }



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

    .big-k {
        position: fixed;
        top: 5px;
        left: 30px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 300px;
        font-weight: 300;
        line-height: 0.8;
        letter-spacing: -0.12em;
        text-decoration: none;
        color: #121212;
        z-index: 100;
        transform-origin: top left;
        transition: transform 0.4s ease;
    }

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



/* -------------
  PROYECTOS
---------------- */

    .contenido-proyectos,
    .footer {
        opacity: 0;
        transition: opacity 1.1s ease;
    }

    body.page-visible .contenido-proyectos,
    body.page-visible .footer {
        opacity: 1;
    }



/* -----------
  PROYECTOS
------------- */

    .proyectos {
        position: relative;
        margin-left: 30vw;
        margin-top: 120px;
        display: grid;
        grid-template-columns: 400px 400px;
        gap: 150px;
        padding-bottom: 200px;
    }

    .proyecto {
        width: 350px;
    }

    .proyecto img {
        display: block;
        width: 350px;
        height: 467px;
        object-fit: cover;
    }



/* -------------
  TRANS A COLOR
---------------- */

    .imagen-hover {
        position: relative;
        width: 350px;
        height: 467px;
        display: block;
    }

    .imagen-hover img {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 350px;
        height: 467px;
        object-fit: cover;
        transition: opacity 0.6s ease;
    }

    .imagen-hover .segunda-imagen {
        opacity: 0;
    }

    .imagen-hover:hover .segunda-imagen {
        opacity: 1;
    }



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

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



    /* --------------
       PARTE SUPERIOR
    ----------------- */

        .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;
        }



    /* ---------------
       PARTE INFERIOR
    ------------------ */

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



/* --------
   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 {
        cursor: none;
    }



/* ----------------
   FADE DE PÁGINA
---------------- */

    body.page-exit .menu,
    body.page-exit .big-k,
    body.page-exit .contenido-proyectos,
    body.page-exit .footer {
        opacity: 0;
        transition: opacity 1.1s ease;
    }