html {
    width: 100%;
}

body {
    font-family: Helvetica;
    color:#000000;
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    margin: 0; 
}
    
.div {
    background-color: #ffffff;
    flex-grow: 1; 
    position: relative;
    width: 100%; 
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #000000;
}

a:hover {
    color:#ff3399;
    font-style: bold;
}

.menu {
    height: auto;
    position: sticky;
    top: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    z-index: 1000;
    margin: 0;
}


.navbar {
    flex-direction: row;
    position: static;
    padding: 0;
    margin-right: 5%;
    justify-content: flex-end;
    gap: 10px;
}

.navbar a {
    color: #000000;
    background-color: transparent;
    font-size: 30px;
    padding: 10px 0;
}

.navbar a:hover {
    color: #ff3399;
}

.espacio {
    font-size: 1.75vw;
}

.logo {
    height: 70px;
    object-fit: cover;
    margin-left: 5vw;
    margin-top: 20px;
    margin-bottom: 20px;
}

.hamburger {
    display: none;
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(1);
    }
}



/*LINKS Y FOOTER*/
/* Links */

.links {
    display: flex;
    justify-content: space-between;
    padding: 20px 10vw;
}

.column {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 28pt;
    font-weight: bold;
    margin-bottom: 10px;
}

.line {
    width: 100%;
    height: 4px;
    margin: 0;
    margin-top: 10px;
    background-color: #000000;
    border: none;
}

.link-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.link-columns .column {
    width: 45%;
}

.link-columns .column ul {
    list-style: none;
    padding: 0;
    font-size: 20pt;
    line-height: 2;
}

.link-columns .column:nth-child(2) {
    text-align: right;
}



/*FOOTER*/

.footer {
    background-color: #ff3399;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.logo-2 {
    height: 120px;
    width: auto;
    margin-top: 30px;
    margin-bottom: 0px;
}

.texto-footer {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin-top: 0px;
    
}


.d-erechos {
    margin-left: 5vw;
    margin-right: 5vw;
}

.politicas {
    margin-left: 5vw;
    margin-right: 5vw;
}

.politicas a {
    color: #ffffff; 
    text-decoration: none; 
}

.politicas a:hover {
    color: #000000;
} 


@media (max-width: 1260px){
    .links {
        padding: 20px 8vw;
    }
    
    .link-columns {
        gap: 2vw;
    }
    .title {
        font-size: 2em;
    }

    .link-columns .column ul {
        font-size: 1.6em;
    }

}


@media (max-width: 1050px) {
    .navbar a {
        font-size: 2.85vw;
        padding: 10px 0;
    }
    .espacio {
        font-size: 0.25vw;
    }


    /*LINKS*/
    
    .links {
        padding: 20px 5vw;
    }



    /*FOOTER*/

    .logo-2 {
        height: auto;
        width: 37vw;
    }
    .texto-footer {
        font-size: 1.20em;
        flex-direction: column;
    }
    .d-erechos {
        margin-left: 0;
        margin-right: 0;
    }
    
    .politicas {
        margin-left: 0;
        margin-right: 0;
    }
    


}

@media (max-width: 950px){
    .title {
        font-size: 1.8em;
    }

    .link-columns .column ul {
        font-size: 1.4em;
    }
}

@media (max-width: 825px){
    .title {
        font-size: 1.65em;
    }

    .link-columns .column ul {
        font-size: 1.25em;
    }
}


@media (max-width: 767px) {
    
    .navbar {
        display: none; /* Oculta el menú en versión móvil por defecto */
        flex-direction: column; /* Los enlaces estarán en una columna */
        background-color: #ff3399; /* Fondo rosado */
        position: fixed; /* El menú será fijo */
        top: 100px; /* Posicionado debajo de la barra de navegación */
        left: 0;
        width: 100vw;
        height: 80vh;
        padding: 20px 0;
        z-index: 999;
        justify-content: center;
    }

    .navbar a {
        font-size: 18pt;
        font-weight: 400;
        color: #ffffff; /* Color blanco para los enlaces en móvil */
        text-align: center;
        width: 100%;
        padding: 1.25vw;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .espacio {
        font-size: 32pt;
    }

    

    .navbar a:hover {
        text-decoration: underline;
        color: #ffffff;
    }

    .hamburger {
        display: flex; /* Mostrar el botón de hamburguesa en pantallas pequeñas */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin-right: 5vw;
        gap: 5px;
        position: sticky;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #000000;
        transition: all 0.3s ease;
    }

    /* Mostrar el menú cuando la clase 'active' esté presente */
    .navbar.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(1);
        }
    }


    /*Links*/
    .links {
        flex-direction: column;
        margin-right: 2vw;
        margin-left: 2vw;
    }
    .title {
        font-size: 2em;
    }

    .link-columns .column ul {
        font-size: 1.6em;
    }


    

    /*FOOTER*/
    .logo-2 {
        height: auto;
        width: 45vw;
    }

    .texto-footer {
        font-size: 1em;
    }
}


@media (max-width: 825px){
    .title {
        font-size: 1.6em;
    }

    .link-columns .column ul {
        font-size: 1.2em;
    }
}

@media (max-width: 435px){
    .title {
        font-size: 1.5em;
    }

    .link-columns .column ul {
        font-size: 1.1em;
    }
}



/* Estilos proyecto */
@property --k {
    syntax: '<number>';
    initial-value: 0;
    inherits: true;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
}

section {
    height: 500vh;
    background: #fff;
}

@supports (animation-timeline: view()) {
    section {
        background: linear-gradient(90deg, rgba(255, 51, 153, calc(1 - round(down, var(--k)))) calc(var(--k) * 100%), #fff 0) 0 0 / 100% .5rem no-repeat fixed #fff;
        animation: k 1s both;
        animation-timeline: view();
        animation-range: contain;
    }
}

@keyframes k {
    to {
        --k: 1;
    }
}

.img-proyecto {
    width: min(30vmax, 70vmin);
    object-fit: cover;
}


.wrap img {
    height: 420px;
    width: auto;
}
.wrap video {
    height: 420px;
    width: auto;
}

.stick {
    box-sizing: border-box;
    display: grid;
    container-type: inline-size;
    position: sticky;
    top: 0;
    padding: 2em;
    height: 100vh;
}

.wrap {
    display: grid;
    grid-auto-flow: column;
    translate: calc(var(--k) * (50cqw - 100%));
    border-width: 4px;
    border-color: #000000;
    margin-top: 85px;
}

aside {
    position: fixed;
    bottom: 0;
    padding: 2em;
}

@supports (animation-timeline: view()) {
    .box-info-scrollani {
        display: none;
    }
}

.work {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.work .div {
    background-color: #ffffff;
    height: auto; 
    position: relative;
    width: 100%; 
    max-width: 1440px; 
}

.botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 20px;
}

.carrusel {
    position: relative;
    width: 100%;
    min-height: 50vh; 
}

.space-holder {
    position: relative;
    width: 100%;
}

.sticky {
    position: sticky;
    top: 0; 
    height: 60vh;
    width: 100%;
    overflow-x: hidden;
}

.horizontal {
    position: absolute;
    height: 100%;
    will-change: transform;
}

.cards {
    position: relative;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}

.sample-card {
    position: relative;
    height: 400px; 
    background-color: #111f30;
    flex-shrink: 0;
}

.sample-card img {
    position: relative;
    height: 400px; 
    width: auto; 
    background-color: #111f30;
    flex-shrink: 0;
}

.work .texto {
    display: flex;
    gap: 20%; 
    position: absolute;
    top: 500px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    padding: 30px;
    margin-top: 40px;
}

.work .texto a{
    text-decoration: underline;
    transition: color 0.3s ease;
    color: #000000;
}


.work .texto a:hover {
    color:#ff3399;
    font-style: bold;
}

.work .columna-izquierda {
    display: flex;
    flex-direction: column;
    width: 30%; 
}

.work .columna-derecha {
    width: 50%; 
}

.work .descripcion {
    color: #000000;
    font-family: "Inter-Regular", Helvetica;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    width: 100%; 
    margin-top: 0; 
}

.work .categorias {
    color: #000000;
    font-family: "Inter-Regular", Helvetica;
    font-size: 20px; 
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    width: 100%; 
    margin-top: 10px; 
}

.work .titulo {
    color: #000000;
    font-family: "Inter-Regular", Helvetica;
    font-size: 32px; 
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    width: 100%; 
    margin-bottom: 20px; 
}

.work .line {
    background-color: #000000; 
    height: 2px;
    width: 100px; 
    margin-bottom: 10px; 
}

.work .anterior {
    color: #000000;
    font-family: "Inter-Regular", Helvetica;
    font-size: 20px; 
    font-weight: 400;
    text-decoration: none; 
}

.work .anterior:hover {
    color:#ff3399; 
}

.work .siguiente {
    color: #000000;
    font-family: "Inter-Regular", Helvetica;
    font-size: 20px; 
    font-weight: 400;
    text-decoration: none; 
    text-align: right; 
}

.work .siguiente:hover {
    color:#ff3399; 
}