

@import url('floating-unified.css');    /* ← ÚLTIMO */
@import url('reset.css');      /* General reset: MUST come first */
@import url('footer-header.css');     /* floatingheaderfooter*/
@import url('layout.css');     /* Layout styles for structure */
@import url('components2.css'); /* Component-specific styles */
@import url('utilities.css');  /* Helper classes and utilities */
@import url('animations.css'); /* Animations */
@import url('responsive_en.css'); /* Media queries and responsive design */




/* General Styles */
body {
    margin: 0;
    background: #f0f0f0; /* Set a fallback background color */
    margin: 0;
    font-family: 'Poppins', 'Chivo Mono', 'Roboto', sans-serif;
    font-size: 16px; /* Tamaño base */
    line-height: 1.5; /* Espaciado entre líneas */
   
    
}


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}



/* Prevent Overflow Clipping */
.wrapper > * {
    z-index: 1; /* Ensure interactive items appear on top */
}

@supports not (display: grid) {
    .wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  }

.animation-layer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-color: #000000;
    pointer-events: none;
}


#animation-area {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #000000, #2d2d2d);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    
}

 /* Estilo para cada letra */
 .letter {
  margin: 0 !important;
    position: absolute;
    font-size: 15px;
    color: white;
    letter-spacing: 2px; /* ← Aumenta espacio entre letras */

  }
  /* Mascarilla invisible que servirá como zona clicable */
  .mask {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0); /* totalmente transparente */
    cursor: pointer;
  }
  .mask:hover {
    outline: 1px solid rgb(255, 255, 255);
    filter: blur(10); /* solo para ver el área al pasar el mouse */
  }




/* Sections */
.section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
      padding: 5rem 1.5rem;
      text-align: left;
  }
  



.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Evita interferencia en la interacción */
    z-index: 50; /* Debajo de los links pero sobre el fondo */
}

.connection-line {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: .5px;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.connection-line.blur {
    filter: blur(6px);
    opacity: 0.2;
    stroke-width: 2px;
}

#Miwrapper, #animation-area {
    z-index: 100; /* Asegura que los links estén encima */
}

@keyframes pulseLines {
    0% { stroke-width: 1px; opacity: 0.4; }
    50% { stroke-width: 2px; opacity: 0.6; }
    100% { stroke-width: 1px; opacity: 0.4; }
}

.connection-line {
    animation: pulseLines 3s infinite ease-in-out;
}


