html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* 1. Incluir las fuentes */
@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainExtralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainExtralightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}


@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainExtrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'PPValve';
    src: url('fonts/PPValve-PlainExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}


/* -------- Estilos Globales ----------*/
body {
    text-rendering: optimizeLegibility;
    overflow: hidden;
}


:root {

    /* Colores */
    --black: #2D2D2D;
    --gray: #8f8f8f;
    --white: #ffffff;
    --cream: #fef9e7;
    --blue: #170A5C;
    --green: #E8F5A3;
    --rose: #FF63C1;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: var(--black);
}


h1 {
    font-family: "panel-mono", monospace;
    font-weight: 400;
    font-size: 36pt;
}

h2 {
    font-family: "panel-mono", monospace;
    font-style: normal;
    font-size: 28pt;
}

h3 {
    font-family: "nitti", monospace;
    font-size: 20pt;
}


h4 {
    font-family: "nitti", monospace;
    font-weight: 500;
    font-size: 12pt;
}


h5 {
    font-family: "panel-mono", monospace;
    font-style: italic;
    font-size: 46pt;

}


p {
    font-family: "nitti", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 12pt;
    line-height: 1.3em;
}

a {
    font-family: "nitti", monospace;
    font-style: normal;
    pointer-events: all;
    cursor: pointer;
    color: var(--black);
    font-size: 12pt;
    transition: color 0.25s ease;


}


html {
    scroll-behavior: smooth;
}

/*Fondo animado*/

.hero {
    margin: 0;
    background-color: #8f8f8f;
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: 100vh;
    /*     mix-blend-mode: saturation; */
    z-index: -10;
}

.balls-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    mix-blend-mode: difference;
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
  }
  

.ball {
    width: 1350px;
    height: 1350px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    mix-blend-mode: difference;
}

/* ── Hero: sectionOne ─────────────────────────────── */
.sectionOne {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;    
}

/* Nav */
.heroNav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 28px 40px;
}

.heroNavLink {
   
    font-weight: 200;
    font-size: 12pt;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease;
}

.heroNavLink:hover {
    opacity: 0.6;
}

/* Background fill */

/* Footer row */
.heroFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px 32px;
}

/* ── Hero animations ─────────────────────────────── */

.hero-fade {
    opacity: 0;
}

.hero-fade.is-visible {
    animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

#heroTypewriter::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: cursorBlink 0.75s step-end infinite;
    font-weight: 200;
    opacity: 1;
}

#heroTypewriter.typing-done::after {
    animation: cursorFadeOut 0.6s ease 1.2s forwards;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

@keyframes cursorFadeOut {
    to { opacity: 0; }
}

.heroFooterLeft h6 {
    font-family: "PPValve";   
    font-weight: 200;
    font-size: 48pt;
    color: var(--white);
    margin: 0 0 6px 0;
    line-height: 1.15;
    letter-spacing: 0.06em;
    min-height: 2.4em;
}

.heroLabor {

    color: var(--white);
    margin-top: 12px;
    letter-spacing: 0.04em;
    
}

.heroFooterRight {
    text-align: right;
}

.heroClock,
.heroLocation {
    font-weight: 200;
    font-size: 12pt;
    color: var(--white);
    margin: 0;
    line-height: 1.5;
}

/* Fondo del blend mode */
.background-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8f8f8f;
    mix-blend-mode: difference;
    z-index: -1;
    pointer-events: none;
    margin: 0 auto;
    padding: 0;
}

.hidden-text {
    display: none;
}

.interactive-section {
    position: relative;
    overflow: hidden;
  }
  
  

.letter {
    position: absolute;
    font-family: "panel-mono", monospace;
    font-size: 142pt;
    font-weight: 300;
    font-style: italic;
    line-height: 0.2em;
    user-select: none;
    pointer-events: none;
    color: var(--white);
    z-index: 1;
    transform: translateY(100px);
    /* Posición inicial */
    opacity: 0;
    /* Invisible al inicio */
    margin: 0;
    padding: 0;
}

.descriptionHero .labor {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    padding-top: 12vh;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    animation: appear 0.5s forwards ease-in-out;
    animation-delay: 1.5s;
}



.scroll-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    bottom: 15%;
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: appearScroll 0.5s forwards ease-in-out 3s;
    mix-blend-mode: difference;
}

.scroll-container .scrollHero {
    color: var(--white);
    text-align: center;
    margin: 0 auto;
    padding: 0 8px;
    align-items: center;
    z-index: 2;
    opacity: 0;
    animation: appearScroll 0.5s forwards ease-in-out;
    animation-delay: 2s;
    pointer-events: visible;
    cursor: pointer;
    text-decoration: none;
}

.scroll-container .flecha {
    width: 13px;
    height: 13px;
    fill: var(--white);
    transform: rotate(90deg);
}


.scroll-container .flecha-arriba,
.scroll-container .flecha-abajo {
    animation: moveArrowUpDown 0.8s infinite ease-in-out alternate;
}

@keyframes moveArrowUpDown {
    0% {
        transform: rotate(90deg) translateX(-3px);
    }

    100% {
        transform: rotate(90deg) translateX(3px);
    }
}




/*--Secciones--*/

.sectionTwo {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

/*Sección izquierda*/

.contentLeft {
    grid-column: span 4;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.contentLeft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8f8f8f;
    mix-blend-mode: difference;
    z-index: 1;
}

.textContainer {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    width: 100%;
    margin: 36px;
}

.textContainer .frase {
    font-family: "PPValve";
    font-style: normal;
    font-weight: 200;
    position: relative;
    z-index: 2;
    color: var(--white);
    font-optical-sizing: auto;
    font-size: 68pt;
    line-height: 1.1em;
    white-space: nowrap;
}


.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    /* Elimina el blur */
}

/*Sección derecha*/

.contentRight {
    display: grid;
    grid-column: span 8;
    background-color: var(--white);
    margin-bottom: 12px;
    height: 100%;
}

.description {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto auto;
    padding: 32px 60px 36px 60px;
    height: 100%;
    box-sizing: border-box;
}

.header {
    grid-column: 1/ span 12;
    width: 100%;
}

.description .line {
    height: 2px;
    grid-column: 1/span 12;
    background-color: var(--black);
    margin-bottom: 16px;
    animation: drawLine 0.8s ease-out forwards;
}

.headerText {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}


.heroTextContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    grid-row: 3;
    grid-column: 1/ span 11;
    text-align: left;
    width: 100%;
    height: 100%;
}


.bottomText p {
    margin: 0;
}

.bottomText p:first-of-type {
    margin-bottom: 12px;
}


  /*Texto Circulo rotativo*/

  .circleContainer {
    grid-column: 12;
    grid-row: 2;
    justify-self: end;
    align-self: start;
}

.circle {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 100vmax;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.circle:hover {
    transform: scale(1.05);
}

.text {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: "nitti", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 10pt;
    color: var(--rose);
    animation: textRotation 18s linear infinite;
}

@keyframes textRotation {
    to {
        transform: rotate(-360deg);
    }
}

.text span {
    position: absolute;
    left: 50%;
    font-size: 1.2em;
    transform-origin: 0 90px;
}

.linkNombre:hover {
    color: var(--rose);
    cursor: pointer;
}


/*--Sección de Proyectos--*/

.mainContent {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    background-color: var(--white);
    margin: 0;
    padding: 88px 88px 28px 88px;
    grid-column: 1/ span 12;
    overflow: hidden;

}

/*Proyectos*/
.proyectoTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 48px;
}

.proyectoTitle h2 {
    font-style: italic;
    font-weight: bold;

}

.proyectoTitle svg {
    animation: aniRotation 3s linear infinite;
    font-style: italic;
}


.proyectos {
    grid-column: 1/ span 12;
    scroll-margin-top: 100px;

}


.proyecto {
    margin: 12px 0;
}

.proyecto .tituloProyecto {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;

}

.proyecto .tituloProyecto svg {
    transform: rotate(90deg);
}


.proyecto .line {
    grid-column: 1/span 12;
    background-color: var(--gray);
    margin-bottom: 32px;
    padding: 0 0 2px 0;
}



.proyecto h4 {
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.animated-title span {
    display: inline-block;
    transition: transform 0.2s ease;
    transform-origin: center;
}


/*Proyecto Box*/


/* Rotate Arrow When Expanded */
.tituloProyecto.expanded .flecha {
    transform: rotate(-90deg);
}



.flecha {
    transition: transform 0.3s ease;
    fill: var(--rose);
    max-width: 18px;
    max-height: 18px;
}

.contentProyecto {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
    column-gap: 16px;
    row-gap: 24px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    border-bottom: 1px solid var(--black);
}

.reveal-word { display:inline-block; overflow:hidden; vertical-align:bottom; line-height:1.4em; }
.reveal-word-inner { display:inline-block; transform:translateY(110%); opacity:0; animation:wordSlideUp 0.4s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay:var(--d,0s); }
@keyframes wordSlideUp { to { transform:translateY(0); opacity:1; } }
.reveal-item { opacity:0; transform:translateY(8px); animation:itemFadeUp 0.35s ease forwards; animation-delay:var(--d,0s); }
@keyframes itemFadeUp { to { opacity:1; transform:translateY(0); } }
.galeria-cursor { position:fixed; background:var(--black); color:var(--white); padding:7px 14px; border-radius:4px; pointer-events:none; font-family:"nitti",monospace; font-size:10pt; white-space:nowrap; z-index:9999; opacity:0; transform:translate(12px,-50%) scale(0.85); transition:opacity 0.18s ease,transform 0.18s ease; }
.galeria-cursor.visible { opacity:1; transform:translate(12px,-50%) scale(1); }


.descriptionProyecto {
    grid-column: 1/span 7;
    grid-row: 1 / 2;
}

/*galeria*/


.galeria {
    grid-column: 1/span 12;
    grid-row: 3;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    height: 180px;
}

.galeria-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scrollLoop var(--animation-speed, 20s) linear infinite;
    --travel-distance: 0px;
}

@keyframes scrollLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--travel-distance))); }
}

.galeria-track img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .galeria-track img {
        max-width: 300px;
        
    }
}

@media (max-width: 768px) {
    .galeria-track img {
        max-width: 280px;
    }
    .galeria {
     
        height: 180px;
    }
}

@media (max-width: 480px) {
    .galeria {
     
        height: 160px;
    }
    .galeria-track img {
        max-width: 250px;
    }
    .galeria-track{
        gap: 8px;
    }
    
    .sectionTwo {
        background-color: var(--white);
    }
}




.custom-cursor {
    position: fixed;
    width: auto;
    height: auto;
    background: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-transform: uppercase;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, filter 0.3s ease-out;
    padding: 12px 8px;
}

.custom-cursor p {
    color: var(--white);
}

.galeria {
    cursor: none;
}






/*Categorias Proyectos*/

.categoriasProyecto {
    grid-column: 1/span 12;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    height: min-content;

}

.categoriasProyecto h4,
.categoriasProyecto a {
    color: var(--rose);
    font-family: "nitti", monospace;

}


.categoriasProyecto a:hover {
    color: var(--rose);
}

.categoriasProyecto .linkProyecto {
    display: none;
}


/*CTA*/

.cta {
    text-align: center;
    grid-column: 1/ span 12;
    position: relative;
    min-height: 40vh;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}


.cta-ball {
    width: 115px;
    height: 115px;
    background-color: var(--black);
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: aniRotation 5s linear infinite;
    cursor: alias;
}

.cta-ball p {
    color: var(--white);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s, font-weight 0.3s;
    /* Transición para el cambio de color y peso de la fuente */
}


.cta h1 {
    margin-top: 14vh;
    font-style: italic;
}

.cta .tagline {
    color: var(--rose);
}


.footer {
    grid-column: 1/span 12;

}

.footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--black);
}

.footer .container .textFooter {
    flex: 1;
}

.footer .container .textFooter p a {
    margin: 0;
}


.footer .container .textFooter :first-child {
    font-weight: 500;

}


.footer .container .textFooter :last-child {
    font-size: 12pt;
}

.footer .container .textFooter a {
    font-size: 12pt;
    text-decoration: none;
}

.footer .container .textRight {
    text-align: right;
    /* Alinea el contenido de este bloque a la derecha */
}

.textFooter .linksFooter {
    text-align: right;
}

.footer .container .textFooter a:hover {
    color: var(--rose)
}




@keyframes scale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes appear {
    0% {
        opacity: 0;

    }

    100% {
        opacity: 1;

    }
}

@keyframes appearScroll {
    0% {
        opacity: 0;
        transform: translateY(-80%);

    }

    100% {
        opacity: 1;
        transform: translateY(0%);

    }
}

@keyframes moveRight {
    0% {
        opacity: 0;
        transform: translateX(-80%);

    }

    100% {
        opacity: 1;
        transform: translateX(0%);

    }
}



@keyframes aniRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



@media (max-width: 768px) {
    .ball {
        width: 40vw;
        /* 40% del ancho de la pantalla */
        height: 40vw;
        /* Mantiene la proporción */
    }
}


@keyframes opacityHero {
    0% {
        opacity: 0;
        transform: translateY(-80%);

    }

    100% {
        opacity: 1;
        transform: translateY(0%);

    }
}



/************************ PROYECTOS *********************/


.contentProyectoInterna {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 68px;
    max-width: 100vw;
    height: 95vh;
    overflow: hidden;
    margin: 32px 68px 24px 60px;
}

.contentLeftProyecto {
    grid-column: 1 / 2;
    overflow: visible;
    width: 100%;
    height: 100%;
    background-color: var(--white);

}


#gallery-container {
    position: relative;
    height: 100vh;
    width: 100%;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Estilo de los contenedores individuales */
.image-container {
    position: absolute;
    /* Necesario para el drag and drop */
    cursor: grab;
    border-radius: 6px;
    max-width: 350px;
    /* en pantallas grandes hacerlo de 430px */
}
.image-container.dragging {
    cursor: grabbing;
  }

/* Posiciones iniciales en pantallas grandes */
.image-container:nth-child(1) {
    top: 2%;
    left: 48%;
}

.image-container:nth-child(2) {
    top: 12%;
    left: 2%;
}

.image-container:nth-child(3) {
    top: 54%;
    left: 4%;
}

.image-container:nth-child(4) {
    top: 60%;
    left: 43%;
}

.image-container:nth-child(5) {
    top: 36%;
    left: 20%;
}

/* Estilo de imágenes y videos */
.image-container img,
.image-container video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    pointer-events: none;
    filter: drop-shadow(3px 3px 2px #959595);
    animation: appear 0.3s forwards ease-in-out;

}

/* Layout para dispositivos móviles */
@media (max-width: 768px) {
    #gallery-container {
        height: auto;
        /* Ajustar altura dinámica */
        padding: 10px;
    }

    .image-container {
        position: static;
        /* Imágenes apiladas */
        margin-bottom: 20px;
        /* Espaciado entre imágenes */
        cursor: default;
        /* Deshabilitar el cursor de arrastre */
        max-width: 100%;
        /* Ajustar al ancho del contenedor */
        min-width: unset;
        /* Eliminar restricción de ancho mínimo */
    }
}


.contentLeftProyecto .adviceDrag {
    z-index: 50;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 2vh;
    left: 3vw;
    pointer-events: none;
    height: 130;
    width: 130px;
    text-align: center;
    transform: rotate(-8deg);
    animation: appear 0.3s forwards ease-in-out;
}



.contentLeftProyecto .adviceDrag p {
    color: var(--black);
    font-weight: 500;
}


.contentRightProyecto {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    padding: 0 0 36px 0;
    grid-column: 2 / 3;
    background-color: var(--white);
    margin-bottom: 12px;
    width: 100%;
    height: 95vh;
}


/*Header proyectos*/
.headerProyecto {
    grid-column: 1/ span 6;
    grid-row: span 1;
    width: 100%;
}

.headerProyecto .line {
    height: 1.5px;
    grid-column: 1/span 6;
    background-color: var(--black);
    margin-bottom: 16px;
    width: 0;
    /* Inicia con ancho 0 */
    animation: drawLine 0.8s ease-out forwards;
    /* Anima el ancho */
}

/* Definimos la animación */
@keyframes drawLine {
    to {
        width: 100%;
        /* Llega al 100% del contenedor */
    }
}

.headerTextProyecto {
    grid-row: 1;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    animation-delay: 2s;
}

/**/


/*Contenido descriptivo*/




.textContainerProyecto {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    grid-column: 1/ span 6;
    text-align: left;
    width: 100%;
    height: 100%;
}

.textProyecto {
    grid-row: span 3;
}

.textProyecto,
.headerTextProyecto {
    animation: appear 0.8s forwards ease-in-out;
}

.divTituloProyecto {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.divTituloProyecto> :first-child {
    margin-right: 16px;
}


.buttonLink {
    display: flex;
    height: 35px;
    width: 35px;
    cursor: alias;
    transition: transform 0.6s ease-in-out;
}

.buttonVector {
    fill: var(--rose);
}



.buttonLink:hover {
    transform: rotate(360deg);
}

.svg-link svg {
    width: 35px;
    /* Ajusta según necesites */
    height: 35px;
    /* Ajusta según necesites */
    cursor: alias;

}

.textProyecto .tituloProyectoInterna {
    font-weight: 500;
    letter-spacing: -1pt;
    font-family: "panel-mono", monospace;
    font-style: normal;
    font-size: 28pt;
    pointer-events: all;
    cursor: alias;

}

.textProyecto .tituloProyectoInterna:hover {
    color: var(--rose);
}

.linkTitle:hover ~ .buttonLink,
.buttonLink:hover {
    transform: rotate(360deg);
}



.linkTitle{
    text-decoration: none;
}

.textProyecto .cliente {
    font-weight: 500;
    font-style: italic;
    word-spacing: -10%;
    margin: 20px 0 20px 0;
}


.textProyecto .categoria {
    font-family: "panel-mono", monospace;
    margin: 20px 0 20px 0;
}

.textProyecto .categoria p:first-child {
    font-weight: 600;
}


.descriptionProyectoInterna .creditosProyectos {
    margin-top: 8px;
    font-size: 12pt;
}


.descriptionProyectoInterna .creditosProyectos a:hover {
    color: var(--rose);
    cursor: alias;

}

.backHome {
    margin-top: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.backHome> :first-child {
    margin-right: 8px;
    transform: rotate(180deg);
}

.backHome a {

    font-size: 12pt;
}

.backHome a:hover {
    color: var(--rose);
}

.flechaBack {
    transition: transform 0.3s ease;
    fill: var(--black);
    max-width: 15px;
    max-height: 15px;
}

.backHome .flechaBack {
    stroke-width: 0.2;
    transition: stroke-width 0.3s ease;
    stroke: var(--black);
}

.backHome:hover .flechaBack {
    stroke-width: 1;
    stroke: var(--rose);
    fill: var();
}


/* ABOUT */

.aboutSection {
    width: 100vw;
    min-height: 100vh;
    background-color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
}

.aboutHeader {
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
    margin-bottom: 4vh;
}

.headerContent {
    display: flex;
    justify-content: space-between;
    /* Textos en cada esquina */
    align-items: center;
    /* Centra verticalmente */
}


.aboutHeader .headerContent a {
    display: flex;
    align-items: center; /* Centra el texto con el icono */
    text-decoration: none; /* Elimina el subrayado */
    transition: color 0.3s ease;
}

/* Estilo para los SVGs */
.icon-home, .icon-heart {
    width: 12px; /* Tamaño del icono */
    height: 12px;
    margin-right: 8px; /* Espacio entre el icono y el texto */
}

/* Estilo para los enlaces al pasar el ratón */
.aboutHeader .headerContent a:hover {
    color: var(--rose); /* Cambia el color del texto al pasar el ratón */
}

.aboutHeader .headerContent a:hover .icon-home,
.aboutHeader .headerContent a:hover .icon-heart {
    fill: var(--rose); /* Cambia el color de los iconos al pasar el ratón */
}






.headerContent a:hover {
    color: var(--rose);
    /* Color al hacer hover */
}


.aboutSection .aboutInfo {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 40px 48px 40px;
}


.aboutSection .name-foto {
    display: flex;
    flex-direction: column;
}

.aboutSection .imageAbout img {
    width: 150px;
    height: auto;
    transform: rotate(-10deg);
    margin-bottom: 30px;
}
.aboutSection .nameAbout{
    margin-bottom: 20px;
}
.aboutSection .aboutName h3 {
    text-align: left;
}





.aboutContent {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(8, 1fr);
    gap: 32px;
    grid-column: 1/ span 8;
}

.aboutContent>div:first-child {
    grid-column: span 3;
    /* Primer div ocupa 3 columnas */
}

.aboutContent>div:not(:first-child) {
    grid-column: span 2;
    /* El resto de divs ocupan 2 columnas */
}

.aboutContent>div:last-child {
    grid-column: span 1;
    /* El resto de divs ocupan 2 columnas */
}

/* .aboutContent .listAbout p{
    margin-bottom: 4px;
}
 */

.aboutContent .aboutLinks {
    display: flex;
    flex-direction: column;

}

.aboutContent .aboutLinks a {
    text-decoration: none;
}

.aboutContent .aboutLinks a:hover {
    color: var(--rose);
}

.aboutContent .catAbout {
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.aboutEduItem,
.aboutExpItem {
    margin-bottom: 20px;
}

.aboutEduItem p,
.aboutExpItem p {
    margin-bottom: 2px;
}

.aboutContent .cargoAbout {
    font-weight: 500;
}

.aboutContent .placeAbout {
    margin-top: 4px;
}

.aboutContent .item-educacion {
    margin-top: 8px;
}

.aboutContent .dateAbout {
    font-style: italic;
    margin-top: 4px;
    margin-bottom: 16px;
}

.expItem {
    margin-bottom: 20px;
}

.expItem:last-child {
    margin-bottom: 0;
}

.aboutEducation p {
    margin-bottom: 4px;
}





/**************** CELULAR *******************/

/**************** CELULAR *******************/

/**************** CELULAR *******************/






@media (min-width: 1600px) {
    .textContainer {
        margin: 36px 60px 36px 60px;
    }

    .aboutHeader {

        margin-bottom: 6vh;
    }
}

/* Tablets en orientación vertical y dispositivos con pantallas de hasta 980px */
@media screen and (max-width: 1214px) {
    .letter {
        font-size: 124pt;
    }

    .labor {
        padding-top: 12vh;
    }

    .contentLeft {
        grid-column: span 5;
    }

    .textContainer .frase {
        font-size: 64pt;
    }

    /* Hero 1214px */
    .heroFooterLeft h6 {
        font-size: 48pt;
    }

    .heroNav {
        padding: 24px 36px;
    }

    .heroFooter {
        padding: 0 36px 28px;
    }


    .contentRight {
        grid-column: span 7;
        height: 100%;
    }

    .heroTextContainer {
        grid-column: 1/ span 12;
    }

    .description {
        padding: 32px 30px 36px 30px;
    }

    .mainContent {
        padding: 48px 36px 28px 36px;
    }

    .categoriasProyecto .actividad {
        display: none;
    }

    .contentProyectoInterna {

        column-gap: 24px;
        margin: 16px 30px 16px 30px;
    }

    .headerProyecto {
        margin-bottom: 64px;
    }

    .aboutHeader {

        margin-bottom: 4vh;
    }


}

@media (max-width: 1024px) {
    .textContainer .frase {
        font-size: 56pt;
    }
}

@media (max-width: 900px) {
    .textContainer .frase {
        font-size: 48pt;
    }
}


/* Dispositivos móviles en orientación horizontal y tablets pequeñas */
@media screen and (max-width: 767px) {

    .contentRight > img,
    .contentRight > canvas {
        display: none !important;
    }

    h2 {
        font-size: 24pt;
    }

    h3 {
        font-size: 18pt;
    }

    /* Hero 767px */
    .heroFooterRight {
        display: none;
    }

    .heroFooterLeft h6 {
        font-size: 40pt;
        min-height: unset;
    }

    .heroNav {
        padding: 20px 24px;
    }

    .heroFooter {
        padding: 0 24px 24px;
    }

    .heroNavLink {
        font-size: 11pt;
    }

    p {
        font-size: 12pt;
        line-height: 1.2em;
    }

    .letter {
        font-size: 96pt;
        line-height: 0.5em;
    }

    .descriptionHero .labor {
        padding-top: 11vh;
    }

    .categoriasProyecto .linkProyecto {
        display: block;
    }


    .sectionTwo {
        height: 100%;
    }

    .contentLeft {
        display: none;
    }


    .contentRight {
        grid-column: 1/ span 12;
        height: 100%;
    }

    .description {
        padding: 32px 20px 36px 20px;
    }

    .heroTextContainer {
        grid-column: 1/ span 12;
    }

    .mainContent {
        padding: 24px 20px 28px 20px;
    }

    .proyectoTitle {
        margin-bottom: 24px;
    }

    .proyecto {
        margin: 6px 0;
    }

    .proyecto .tituloProyecto {
        margin-bottom: 6px;
    }

    .flecha {
        max-width: 14px;
        max-height: 14px;
    }

    .contentProyecto {
        grid-template-rows: 1fr;
        padding: 0px;
        margin-bottom: 4px;
    }

    .descriptionProyecto {
        grid-column: 1/span 11;
    }

    .contentProyecto .empresa {
        display: none;
    }

    /* Proyectos */

    .contentProyectoInterna {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr;
        column-gap: 0px;
        margin: 16px 20px 16px 20px;
        height: 100%;
    }

    .contentLeftProyecto {
        order: 1;
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        overflow: visible;
        width: 100%;
        height: 100%;
    }

    .contentRightProyecto {
        order: 2;
        grid-column: 1 / 2;
        grid-row: 1 /2;
        padding: 0 0 36px 0;
        height: auto;
        margin: 0;
    }

    .headerProyecto {
        margin-bottom: 64px;
    }

    .textContainerProyecto {
        grid-row: span 1;
    }

    .textProyecto .tituloProyectoInterna {
        font-size: 26pt;
    }

    .image-container video,
    .image-container img {
        width: 95%;
        border-radius: 0;
        filter: none;
        margin: auto;
    }

    .contentLeftProyecto .adviceDrag {
        display: none;
    }

    .aboutContent {
        grid-template-columns: 1fr;

    }

    .aboutHeader {

        margin-bottom: 5vh;
    }

    .suresHide{
        display: none;
    }



}

/* Dispositivos móviles en orientación vertical */
@media screen and (max-width: 480px) {

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }

    p {
        font-size: 12pt;
        line-height: 1.3em;
    }

    /* Hero 480px */
    .heroFooterLeft h6 {
        font-size: 32pt;
    }

    .heroNav {
        padding: 16px 20px;
    }

    .heroFooter {
        padding: 0 20px 20px;
    }

    .letter {
        font-size: 64pt;
        line-height: 0.9em;
        margin: 0 5vw;

    }

    .labor {
        padding-top: 6vh !important;
    }

    .contentLeft {
        display: none;
        grid-column: 1/ span 12;
    }

    .textContainer {
        margin: 16px 12px 16px 12px;
        padding-bottom: 36px;
    }

    .textContainer .frase {
        font-size: 56pt;
        text-align: center;
    }

    .contentRight {
        grid-column: 1/ span 12;
        height: 80%;
    }

    .header {
        margin-bottom: 48px;
    }

    .circleContainer {
        margin-bottom: 48px;
    }

    .description {
        padding-bottom: 16px;
        background-color: var(--white);
    }

    .heroTextContainer {
        grid-column: 1/ span 12;
    }

    .mainContent {
        padding: 0px 12px 28px 12px;
    }

    .proyectoTitle {
        margin: 24px 0;
    }

    .proyecto {
        margin: 8px 0;
    }

    .proyecto .tituloProyecto {
        margin-bottom: 8px;
    }

    .flecha {
        max-width: 14px;
        max-height: 14px;
    }

    .contentProyecto {

        grid-template-rows: 1fr;
    }


    .descriptionProyecto {
        grid-column: 1/span 12;
        padding-top: 4px;
    }

    .categoriasProyecto .empresa,
    .categoriasProyecto .actividad {
        display: none;
    }

    .cta h1 {
        font-size: 28pt;
    }

    .cta-ball {
        width: 80px;
        height: 80px;
    }

    .cta-ball p {
        font-size: 11px;
    }

    .footer .container {
        text-align: center;
        align-items: center;
        justify-content: center;
        font-weight: 400;
    }

    .footer .textFooter:nth-of-type(2) {
        /* Estilos para el segundo textFooter */
        display: none;
    }

    .footer .textFooter:nth-of-type(1) p:nth-of-type(2) {
        /* Estilos para el segundo <p> del primer .textFooter */
        font-style: italic;
    }

    /* Proyectos */

    .contentProyectoInterna {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr;
        column-gap: 0px;
        margin: 16px 12px 16px 12px;
        height: 100%;
    }

    .contentLeftProyecto {
        order: 1;
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        overflow: visible;
        width: 100%;
        height: 100%;
    }

    .contentRightProyecto {
        order: 2;
        grid-column: 1 / 2;
        grid-row: 1 /2;
        padding: 0 0 36px 0;
        height: auto;
        margin: 0;
    }

    .headerProyecto {
        margin-bottom: 46px;
    }

    .textContainerProyecto {
        grid-row: span 1;
    }

    .textProyecto .tituloProyectoInterna {
        font-size: 20pt;
    }

    .image-container video,
    .image-container img {
        width: 100%;

    }

    .backHome .flechaBack {
        width: 15px;
        height: 15px;

    }
    .aboutHeader {
        padding:20px 20px;
        box-sizing: border-box;
        margin-bottom: 5vh;
      }

    .aboutSection{
        overflow: auto;
    }
    .aboutSection .aboutInfo {
        margin: 24px 20px;
    }

    .aboutSection .imageAbout img {
        width: 120px;
        margin-bottom: 12px;
    }


    .aboutContent > div:last-child {
        grid-column: span 2;
      }

      .aboutContent {
        margin-bottom: 36px;
      }



}