* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1c1c1c;
  transform: translate(-50%, -50%);
  pointer-events: none; /* no bloquea clics */
  z-index: 99999;
  transition: transform 0.08s linear, width 0.08s linear, height 0.08s linear;
}

/* clase para agrandar el cursor (hover en enlaces) */
#cursor.zoom {
  transform: translate(-50%, -50%) scale(1.6);
}

html { scroll-behavior: smooth; }

.seccion {
  min-height: 100vh;     /* asegura que haya scroll */
  padding: 48px 20px;
  scroll-margin-top: 80px; /* compensa cabeceras fijas si las tienes */
}

#page-wrapper {
  position: relative;
}

#page-content {
  position: relative;
  z-index: 2; /* contenido */
}

/* overlay fijo al tamaño del contenido, no tapa el menú */
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #8dc1d8;
  z-index: 1;
  pointer-events: none;
  /* empieza cubriendo todo con un óvalo */
  clip-path: ellipse(150% 150% at 50% 0%);
  transition: clip-path 1.5s ease-in-out;
}


body {
  background-color: #F5F5F0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  min-height: 100vh;
  position: relative;
  font-family: "archivo", sans-serif;
}

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: -100;
}



#page-content {
  background-color: transparent;         /* color inicial */
  transition: background-color .7s,  /* suavidad */
              filter .7s;
}

.blur-content {
  filter: blur(4px);
  transition: filter 0.5s ease;
}

/* ===========================
   CURSOR PERSONALIZADO
=========================== */
.cursor {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  z-index: 10000000;
  top: 0;
  left: 0;
  background-color: #1c1c1c;
  pointer-events: none;
}

/*boton color */
.btn-fondo {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px 12px;
  background-color: #1c1c1c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "archivo", sans-serif;
  font-size: 12px;
  border-radius: 100px;
  transition: background-color 0.3s, color 0.3s;
}

.btn-fondo:hover {
  background-color: #8dc2d800;
  color: #1c1c1c;
}


/* ===========================
   TEXTO CENTRAL
=========================== */
.texto {
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#movible-texto {
  font-family: "archivo-expanded", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

#movible-texto::after {
  content: "|";
  position: absolute;
  right: -2px;
  animation: blink 1.5s step-end infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.silla-centrada {
  display: block;       /* Necesario para centrar con margin */
  margin: -15% auto;       /* Centra horizontalmente */
  width: 15%;         /* Tamaño deseado */
  /* opcional: centrado vertical relativo al contenedor */
          /* ajusta según convenga */
}


/* ===========================
   ELEMENTOS FIJOS
=========================== */

/* Profesión */
.profesion {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
}

.profesion p{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  text-align: center;
}

/* Menús */
#menuTexto {
  position: fixed;
  top: 10px;
  right: 15px;
  z-index: 1100;
}

#menuTexto ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#menuTexto ul li {
  margin-bottom: 2px;
  font-family: "archivo", sans-serif;
}

#menuTexto ul li a {
  font-size: 10px;
  color: #1c1c1c;
  text-decoration: none;
}

/* Contacto */
#menuContacto {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 1000;
}

#menuContacto ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#menuContacto ul li {
  margin-bottom: 1px;
  font-family: "archivo", sans-serif;
}

#menuContacto ul li a {
  font-size: 10px;
  color: #1c1c1c;
  text-decoration: none;
}

/* Reloj y ubicación */
#reloj {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  color: #1c1c1c;
  z-index: 10000;
}

#ubicacion {
  position: fixed;
  bottom: 10px;
  right: 70px;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  color: #1c1c1c;
  text-transform: uppercase;
  z-index: 1000;
}

/* Logo y avatar */
.logo-btn {
  position: fixed;
  bottom: 0;
  left: 10px;
  width: 170px;
  height: 120px;
  z-index: 10000;
  cursor: pointer;
  display: flex;
    
}

.logo-btn img {
  width: 100%;
  height: 150%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.logo-normal { opacity: 1; transition: opacity .15s; }
.logo-btn:hover .logo-hover { opacity: 1; }
.logo-btn:hover .logo-normal { opacity: 0; }

#avatar {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 160px;
  height: 160px;
  z-index: 10000;
  display: none;
  cursor: pointer;
}

/* Avisos al pie */
.avisos {
  width: 100vw;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 10px;
  z-index: 1000;
}

.avisos a {
  color: #1c1c1c;
  text-decoration: none;
  font-size: 15px;
  font-family: "futura-pt", sans-serif;
  padding: 5px;
}

/* ===========================
   SECCIONES
=========================== */
.seccion {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.seccion.visible {
  opacity: 1;
  transform: translateY(0);
}

#wrk { background-color: transparent;}
#abt { background-color: transparent;}

#reloj, #logoBtn, #menuContacto, #menuTexto {
  position: fixed;
  z-index: 1100;
}


/* Estilo básico de la sección wrk */
/* Sección WRK */
.lista-wrk {
  padding: 0;
  margin: 0;
}

.lista-wrk ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-wrk ul li a {
  display: flex;                        /* nombre y año en fila */
  justify-content: space-between;       /* separa extremos */
  align-items: center;
  width: 100vw;                         /* ocupa todo el ancho */
  padding: 10px 60px;                   /* alto y lateral */
  text-decoration: none;
  font-size: 12px;
  color: #1c1c1c;
  transition: background-color .3s ease, color .3s ease;
   font-family: "archivo", sans-serif;
}

.lista-wrk ul li a:hover {
  background-color: #8dc2d800; /* fondo al pasar ratón */
  color: #F5F5F0;               /* texto blanco */
}

.fondo-azul .lista-wrk ul li a:hover {
  color: #8dc1d8; /* cambia a dorado, por ejemplo */
}
.lista-wrk h2{
    font-size: 160px;
    padding: 80px;
     font-family: "futura-pt", sans-serif;
    color: #1c1c1c;
    display: flex;
    margin: 90px;
}



#abt .abt-text {
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  max-width: 250px;
position: relative;
    right: 800px;
    bottom: -100px;
   position: relative;
  text-align: justify;
justify-content: flex-start;
}

#aboutme {
    left: 200px;
    position: relative;
    max-width: 250px;
   
}

#abt h2{ 
    font-size: 160px;
height: 600px;
      font-family: "archivo", sans-serif;
    color: #1c1c1c;
    display: flex;
    justify-content: flex-start;
    right: 150px;
    position: relative;
   }

 #wrk-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 190px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.15s ease;
  z-index: 900;
}

#wrk-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== TABLET ====== */
@media screen and (max-width: 1024px) {
  #movible-texto {
    font-size: 14px;
  }

  .silla-centrada {
    width: 150px;
    margin: -150px auto;
  }

  .lista-wrk h2 {
    font-size: 100px;
    padding: 40px;
    margin: 40px;
  }

  .lista-wrk ul li a {
    padding: 5px 40px;
    font-size: 11px;
  }

  #abt h2 {
    font-size: 100px;
    right: 50px;
  }

  #abt .abt-text{
    right: 500px;

  }

 

  #logo-btn, #avatar {
    width: 120px;
    height: 120px;
    bottom: 10px;
    left: 10px;
  }

  #reloj, #ubicacion {
    font-size: 11px;
    
  }

  .btn-fondo {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ====== MOBILE ====== */
@media screen and (max-width: 768px) {
 #movible-texto {
    max-width: 500px;          /* ancho máximo de la caja */
    font-size: 13px;
    padding: 10px 15px;
    margin: 0 auto;            /* centra horizontalmente */
    text-align: justify;
    
    white-space: normal !important;   /* permite saltos de línea */
    overflow: visible !important;     /* no corta texto fuera de la caja */
    word-wrap: break-word;            /* permite que la línea baje sin cortar palabras */
    word-break: normal;               /* no rompe palabras innecesariamente */
    text-align: center;               /* centra el texto */
    line-height: 1.5;                 /* separación entre líneas */
  }

  #movible-texto::after {
    right: 5px;               /* cursor de tipeo dentro de la caja */
  }

  .silla-centrada {
    width: 120px;
    margin: -120px auto;
  }

  .lista-wrk h2 {
    font-size: 70px;
    padding: 20px;
    margin: 20px;
  }

  .lista-wrk ul li a {
    padding: 5px 20px;
    font-size: 10px;
  }

#abt {
    display: flex;
    flex-direction: column; /* fuerza columna */
    align-items: flex-start; 
    padding: 20px;
    position: relative !important; /* elimina absolute/relative conflictivo */
  }

  /* Título arriba */
   #abt h2 {
    height: 100px;
    font-size: 70px;
    margin: 0 0 5px 20px; /* margen debajo más pequeño para acercar el texto */
    position: static !important;
  }

  /* Texto descriptivo justo debajo del título */
  #abt .abt-text {
    font-size: 14px;
    display: block;
    margin: 100px 0 20px 20px; /* margen inferior para separar del final o imagen */
    text-align: justify;
    position: static !important;
    order: 1;
  }
  /* Imagen debajo del texto */
  #aboutme {
    max-width: 40%;
    margin-left: 50%;
    margin-bottom: 60px;
    margin-top: 70px;
    display: block;
    height: auto;
    position: static !important;
    order: 2; /* asegura que vaya después del texto */
  }

  #logo-btn, #avatar {
    width: 100px;
    height: 100px;
  }

  #ubicacion {
    bottom: 25px;  /* más arriba que el reloj */
    right: 10px;
  }

  #reloj {
    bottom: 10px;  /* queda debajo de la ubicación */
    right: 10px;
  }

  .btn-fondo {
    font-size: 10px;
    padding: 3px 8px;
  
  }

  #menuTexto ul  {
    flex-direction: row;
    gap: 10px;
  }

  #menuTexto ul li a {
    font-size: 9px;
  }

  .texto {
    height: 70vh;
    padding: 0 10px;
  }
}

