/*@import url('https://fonts.googleapis.com/css2?family=Nosifer&family=Spectral+SC:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* HTML5 Reset v2.0 (https://github.com/davatron5000/html5reset) */

.burbuja {
  position: fixed;              /* Se pega a la ventana */
  width: 840px;
  height: 840px;
  pointer-events: none;         /* No bloquea el mouse */
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 151, 242, 0.2) 0%, rgba(255,255,255,0) 60%);
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%); /* Centra la burbuja en (left, top) */
  will-change: left, top;
  transition: filter .2s ease;  /* opcional: efecto sutil al moverse */
  z-index: 9999;              /* Siempre encima */
}

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove margin and padding from all elements */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove quotes from blockquotes */
blockquote {
  quotes: none;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
}

/* Remove link text decoration */
a {
  text-decoration: none;
}

a:hover{
  transition: 1s ease-in-out;
  color: rgba(27, 28, 29, 0.79);
}

/* Remove the appearance of form elements (buttons, input fields, etc.) */

input,
select,
textarea {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
}

/* Normalize tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* Remove the outline on focusable elements like links and buttons */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Reset HTML5 elements like header, footer, etc. */
header,
footer,
section,
article,
aside,
nav,
figure,
figcaption,
main,
mark,
summary,
details {
  display: block;
}

.header-intro{
    text-align: center;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: bolder;
    color: #fff;
    background-color: var(--secoundary-color);
}



/* Set up a consistent font-family */
body {
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background-color: var(--primary-color);
    line-height: 1.1;
    color: #e4e2e2
}


/* Normalize form field styles */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Ensure images are responsive */
img {
  width: 100%;
  height: auto;
  display: block;
}

figure{
    width: 50%;
    margin: 2em auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Set a consistent baseline for text */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5em;
 text-shadow: 2px 5px 3px #000;
}

h1,h2{
  font-size: 2.5rem;
}



.mod-articles-item-content h3{
  text-align: center;
}



p {
  margin-bottom: 1em;
}

a{
    color: var(--title-color);
}


/* Definir variables globales en :root */
:root {
  /* Colores */
      --primary-color:#033b64;
    --secoundary-color:#002e51;
    --tertiary-color:#004964;
    --acecent-color:#128493;
    --text-color:#299caa;
    --title-color:#fefffe;
  --color-primary: #3498db; /* Azul */
  --color-secondary: #2ecc71; /* Verde */
  --color-background: #f4f4f9; /* Fondo claro */
  --color-text: #333; /* Texto oscuro */
  --color-link: #2980b9; /* Enlaces */
  --color-link-hover: #1d6fa5; /* Enlaces al pasar el mouse */
  
  /* Fuentes */
  --font-family-base: 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading-1: 'Roboto', sans-serif;
    --font-family-heading-2: 'Poppins", sans-serif';
    --font-family-subheading: 'Inter', sans-serif;
  --font-size-base: 16px; /* Tamaño base */
  --font-size-heading: 2rem; /* Tamaño para encabezados */

  
  /* Espaciado */
  --spacing-unit: 1rem; /* Unidad de espaciado base */
  --spacing-lg: 2rem; /* Espaciado grande */
  --spacing-sm: 0.5rem; /* Espaciado pequeño */

  /* Bordes */
  --border-radius: 8px; /* Bordes redondeados */
  --border-width: 1px; /* Ancho del borde */

  /* Sombras */
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */

  /* Transiciones */
  --transition-speed: 0.3s; /* Velocidad de transición */

  --size: 300px;
  --border: 10px;
  --radius: 8px; /* en estrella suele verse mejor 0 */
}

.fa-paintbrush{
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.3em;
}



/* ##################### estilos para la cabecera###########*/
.top{
    font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2em 3em;
  margin-bottom: 2em;

}
#fecha-actual{
  padding: 0.2em;
  text-transform: capitalize;
}

.date-time{
  display: flex;
  justify-content: space-between;
  gap: 0.8em;
  margin-left: -2em;
  order: 0;
}

.hora{
  background-color: #000;
  border-radius: 5px;
  margin-top: -5px;
  padding: 0.5em 0.5em;
  text-align: center;
  flex: end;
}



/* ##################### estilos para el menu ###########*/


/* Contenedor */
.jm-nav { position: relative; }

/* Botón hamburguesa (oculto en desktop) */
.jm-burger {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.jm-burger-bar { width: 45px; height: 5px; background: #fff; display: block; }

/* Menú base */
 .mod-menu {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    background-color: var(--tertiary-color);

}

 .mod-menu li a:hover {
    background-color: var(--acecent-color);
}


.jm-menu, .jm-menu .submenu { list-style: none; margin: 0; padding: 0; }
.jm-menu > li { position: relative; }
.jm-menu a { display: block; padding: 10px 14px; text-decoration: none; }

/* --- MÓVIL (por defecto) --- */
.jm-menu { 
  display: none;          /* cerrado por defecto */
  border-top: 1px solid rgba(0,0,0,.1);
}
.jm-menu.is-open { display: block; }
.jm-menu > li { border-bottom: 1px solid rgba(0,0,0,.06); }
.jm-menu .submenu { display: none; padding-left: 12px; }
.jm-menu li.open > .submenu { display: block; }

/* --- DESKTOP --- */
@media (min-width: 992px) {
  .jm-burger { display: none; }     /* oculta la hamburguesa */
  .jm-menu { display: flex; align-items: center; gap: 0; }
  .jm-menu > li { border: 0; }
  .jm-menu > li > a { padding: 10px 16px; }
  /* Submenús tipo hover */
  .jm-menu .submenu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--bs-body-bg, #fff); border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 20;
  }
  .jm-menu > li:hover > .submenu,
  .jm-menu .submenu li:hover > .submenu { display: block; }
  .jm-menu .submenu li { position: relative; }
  /* Sub-submenú hacia la derecha */
  .jm-menu .submenu .submenu { top: 0; left: 100%; }
}

/* Accesibilidad: foco visible */
.jm-menu a:focus { outline: 2px dashed currentColor; outline-offset: 2px; }





/* ###################

  SOCIAL MEDIA MENU 

  #################### */

  .social-menu {
    display: none;
  }

  .social-menu a {
    margin: 0.2em;
    padding: 0.092em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    border-radius: 5PX;
    text-decoration: none;
    font-size: 24px;
    transition: background 0.3s ease;
  }

  .social-menu a:hover {
    background: #555;
  }


/*################## ESTILOS PARA EL HERO BANNER ############*/

.hero{
    display: flex;
    flex-direction: column;
    gap: 2em;
    text-align: center;
}
/* Forma común (marco + recorte) */
.poly-one{
  width: var(--size);
  aspect-ratio: 1;
  padding: var(--border);
  background: linear-gradient(135deg,#60a5fa, #a78bfa 60%, #f472b6);
  clip-path: var(--shape);
  overflow: hidden;
  display: grid; place-items: stretch;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.18));
  border-radius: var(--radius);
}
.poly-one img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  transform: scale(1.02);
  transition: transform .35s ease;
}
.poly-one:hover img{ transform: scale(1.06); }

/* ===== Formas ===== */
/* Pentágono (5 lados) */
.is-pentagon{ --shape: polygon(
  50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%
); }

/* Estrella (5 puntas) */
.is-star{
  --shape: polygon(
    50% 0%,
    61% 35%, 98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  --radius: 0px; /* estrella luce mejor sin redondeo */
}

/*########## ESTILOS PARA LA PAGINA DE ABOUT ##########*/

.wrap{
      /*max-width: 1100px;*/
      margin: 0 auto;
      /*padding: clamp(20px, 4vw, 48px);*/
    }

    article.perfil{
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: clamp(20px, 4vw, 48px);
      /*align-items: center;*/
      background: linear-gradient(180deg, #0d131c, var(--card));
      /*border: 1px solid rgba(255,255,255,.06);*/
      border-radius: var(--radius);
      padding: clamp(20px, 4vw, 40px);
      box-shadow: var(--shadow);
    }
    .about-me{
      background-color: var(--secoundary-color);
      padding: 1em;
    }

    .avatar{
      width: min(380px, 40vw);
      aspect-ratio: 1 / 1;
      position: relative;
      filter: drop-shadow(0 12px 20px rgba(0,0,0,.35));
      display:flex;
      align-items:center;
      justify-content:center;
      margin-inline: auto;
    }

    /* Imagen en rombo/estrella de 8 puntas (octagrama) */
    .avatar img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display:block;
      clip-path: polygon(
        50% 0%,
        62.5% 12.5%,
        75% 25%,
        87.5% 37.5%,
        100% 50%,
        87.5% 62.5%,
        75% 75%,
        62.5% 87.5%,
        50% 100%,
        37.5% 87.5%,
        25% 75%,
        12.5% 62.5%,
        0% 50%,
        12.5% 37.5%,
        25% 25%,
        37.5% 12.5%
      );
      transition: transform .35s ease;
    }

    .avatar::after{
      content:"";
      position:absolute;
      inset: -6px;
      background: conic-gradient(from 180deg at 50% 50%, #0ea5e9, #60a5fa, #a78bfa, #22d3ee, #0ea5e9);
      filter: blur(14px) saturate(1.2);
      opacity:.25;
      z-index:-1;
      border-radius: 24px;
    }

    .avatar:hover img{ transform: scale(1.03); }

    @supports not (clip-path: polygon(0 0)){
      .avatar img{ border-radius: 22px; }
    }

    .contenido h1{
      margin:.25rem 0 .35rem;
      font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem);
      letter-spacing: .2px;
    }
    .contenido p.lead{
      color: var(--muted);
      font-size: clamp(1rem, .4vw + .9rem, 1.1rem);
      margin: 0 0 1rem;
    }
    .tags{
      display:flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin: .25rem 0 1rem;
    }
    .tag{
      font-size:.85rem;
      color:#c9d6e3;
      background: rgba(95,179,255,.12);
      border:1px solid rgba(95,179,255,.3);
      padding:.3rem .6rem;
      border-radius:999px;
    }

    .bloque{
      background: rgba(255,255,255,.02);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: calc(var(--radius) - 6px);
      padding: 1rem;
      margin: 1rem 0;
    }
  

    .lista{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: .75rem 1.25rem;
      margin: .75rem 0 0;
    }
    .lista div{ color: var(--muted); }

    .grid-3{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: .75rem 1.25rem;
    }

    .contacto{
      display:flex;
      gap:.6rem .9rem;
      flex-wrap: wrap;
      margin-top: .8rem;
    }
    .contacto a{
      text-decoration:none;
      color: var(--text);
      border:1px solid rgba(255,255,255,.12);
      padding:.55rem .8rem;
      border-radius: 999px;
      transition: border-color .2s ease, background .2s ease;
    }
    .contacto a:hover{
      border-color: rgba(95,179,255,.7);
      background: rgba(95,179,255,.08);
    }

    @media (max-width: 980px){
      .grid-3{ grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 820px){
      article.perfil{ grid-template-columns: 1fr; text-align:center; }
      .lista{ grid-template-columns: 1fr; }
      .contenido{ max-width: 720px; margin: 0 auto; }
      .grid-3{ grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce){
      .avatar img{ transition: none; }
    }

    /* FIN ESTILOS PARA LA PAGINA DE ABOUT ##########*/

/* Responsive */
@media (max-width: 600px){
  .poly-one{ width: min(70vw, var(--size)); }
}

/* Accesibilidad motion */
@media (prefers-reduced-motion: reduce){
  .poly-one img{ transition: none; }
}

    .hero-skills-cards{
                margin-top: 3em;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                align-items: center;
                gap: 1em;
                padding-bottom: 3em;
                
            }

            .hero-skills-card{
                color: #42c8da;
                font-weight: bolder;
                background-color: #025964;
                width: 150px;
                height: 70px;
                padding: 1em;
                border-radius: 8px;
                text-align: center;
                display: grid;
                place-items: center;   
                border: 1px solid #ccc;
        
            }

            .small-title{
                font-size: 0.6rem;
                color: #fff;
                margin-top: -6px;
            }
            .hero-title{
                font-family: var(--font-family-heading-2);
                text-align: center;
                font-size: 1.8rem;
            }
            .hero-subtitle{
                font-family: var(--font-family-subheading);
                text-align: center;
                font-size: 1.2rem;
            }



.container-block{
    background-color: var(--secoundary-color);
    margin: 3em 0em;
}


/*####################### ESTILOS para los comentarios tipo origami ########################*/



   .main-container {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .skills-container,
    .comments-container {
      opacity: 0;
      transform: translateY(50px);
      transition: all 1s ease-in;
    }

    .skills-container.show {
      opacity: 1;
      transform: translateY(0);
    }

    .comments-container {
      transform: translateX(100px);
    }

    .comments-container.show {
      opacity: 1;
      transform: translateX(0);
      overflow: hidden;
    }

    .skills-container {
      flex: 1 1 45%;
      border-radius: 12px;
      padding: 20px;
    }

    .skills-container h2 {
      margin-top: 0;
    }

    .skill {
      margin-bottom: 30px;
    }

    .skill span {
      display: block;
      font-weight: bold;
      margin-bottom: 8px;
    }

    .bar-wrapper {
      position: relative;
      width: 100%;
      height: 15px;
      background: #ddd;
      border-radius: 10px;
      overflow: hidden;
    }

    .bar {
      position: absolute;
      height: 100%;
      width: 0;
      transition: width 1.5s ease-in-out;
      border-radius: 10px;
    }

    .bar.html { background-color: orange; }
    .bar.css { background-color: #2196F3; }
    .bar.js { background-color: gold; }

    .right-container {
      flex: 1 1 45%;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .comments-container {
      background: #004464;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .comments-container h2,
    .certificates-container h2 {
      margin-top: 0;
    }

    .comment-slide {
      background: #f9f9f9;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .cert-container{
    position:relative; margin:0 auto 20vh; max-width:1100px; padding:1.5rem;
    border-radius:24px; background:rgba(17,24,39,.85); overflow:hidden;
    transform:translateY(40px); opacity:0; transition:.9s;
    border:1px solid rgba(148,163,184,.15); backdrop-filter: blur(6px);
    margin: 2em 0em;
  }
  .cert-container.visible{ transform:translateY(0); opacity:1; }

  #fx-canvas{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }

  .cert-grid{
    position:relative; z-index:1;
    display:grid; gap:1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  }
  .cert{
    display:grid; grid-template-columns:64px 1fr; gap:14px; align-items:center;
    background:#0b1222; padding:22px 18px; border-radius:20px;
    border:1px solid rgba(148,163,184,.15); text-decoration:none; color:inherit; cursor:pointer;
  }
  .badge{ width:64px; height:64px; border-radius:16px; display:grid; place-items:center; background:#0f1a2e; }
  .badge svg{ width:38px; height:38px; }
  .cert h3{ margin:0 0 6px; font-size:1.1rem; }
  .cert p{ margin:0; color:var(--muted); font-size:.95rem; }

  @media (prefers-reduced-motion: reduce){
    .cert-container{ transition:none; transform:none; opacity:1; }
    #fx-canvas{ display:none; }
  }

  .slider-comment{
    display: flex;
    gap: 1em;
  }

  .comment-icon{
    display: block;
    width: 25%;
  }

    

    /* fin Estilos para el texto del comentario */


/* ################### ESTILOS PARA los comentarios tipo carrousel #################### */
/* Contenedor del carrusel */
#commentBox {
  display: grid;              /* todos los slides comparten la MISMA celda */
  place-items: center;
  position: relative;
  overflow: hidden;
  contain: content;
  /* Altura del slide activo (la sincroniza el JS) */
  --h: auto;
  min-height: var(--h);
  transition: min-height .25s ease;
}

/* Slides: 1 visible; fade + desplazamiento vertical */
#commentBox .slider-comment {
  grid-area: 1 / 1;           /* apilados en la misma celda ⇒ misma posición */
  opacity: 0;
  /* offset vertical controlado por data-dir en el contenedor */
  --offset: 8%;
  transform: translateY(var(--offset));
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  margin: 0;                  /* evita que márgenes cambien la altura */
  will-change: opacity, transform;
}
#commentBox .slider-comment.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dirección del movimiento (siguiente entra desde abajo, anterior desde arriba) */
#commentBox[data-dir="next"] .slider-comment { --offset: 8%; }
#commentBox[data-dir="prev"] .slider-comment { --offset: -8%; }

/* Flechas */
#commentBox .nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff; border: 0; padding: .4rem .6rem; border-radius: .5rem;
  cursor: pointer; line-height: 1; font-size: 14px;
}
#commentBox .nav.prev { left: .5rem; display: none;}
#commentBox .nav.next { right: .5rem; display: none; }

/* Puntitos */
#commentBox .dots {
  bottom: .5rem; left: 0; right: 0;
  display: flex; 
  justify-content: center; 
  gap: .4rem;
  margin: 2em 0em 0em;
}
#commentBox .dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: rgba(0,0,0,.2); border: 1px solid rgba(0,0,0,.35);
  cursor: pointer;
}
#commentBox .dot.is-active { background: rgba(0,0,0,.75); }

/* Respeta reduced motion */
@media (prefers-reduced-motion: reduce) {
  #commentBox .slider-comment { transition: opacity .2s linear; transform: none !important; }
}
/* ################### fin ESTILOS PARA slider tipo carrousel #################### */




header{
    margin-bottom: 3em;
    background-color: var(--secoundary-color);
}
.section-block{
    width: 95%;
    margin: 0 auto;
}

.moduletable .mod-articles-frontpage{
  text-align: center;
  padding: 2em;
}

.blog-articles-items{
    width: 80%;
    margin: auto;
    padding: 3em 0em;
}

.project-button .mod-articles-link {
  display: block;
  color: #fff;
  background-color: var(--text-color);
  text-align: center;
  padding: 1em;
  font-size: 2rem;
  font-weight: bold;
}

.innov{
  margin: auto;
  padding-bottom: 2em;
}

.innov-info{
  border-radius: 5px;
  border: .5px solid var(--tertiary-color);
  box-shadow: var(--color-link) 0px 0px 10px;
  padding: 0.8em;
  margin: 1em;
}

.moduletable .mod-articles-frontpage h2{
  font-size: 1.5rem;
  font-weight: bolder;
  margin-bottom: 3em;
}

.article-info-term{
  display: none;
}

.mod-articles-category {
  font-size: 1rem;
}

.mod-articles-category  a{
  color: #299caa;
}



.readmore{
  font-size: 1.2rem;
  font-weight: bolder;
}

.contInforContainer{
  display: flex;
  gap: 0.7em;
    background: var(--tertiary-color);
    border-radius: 12px;
    padding: 0px 15px 0px 15px;
    margin: 0em 0em 1em 0em;
}

.contInforContainer:hover{
  background-color: var(--primary-color);
  transition: 1s ease-in-out;
}

.info-icon{
  padding: 19px 0px 0px 0px;
}

.custom{
  width: 100%;
}

.RedesSociales{
  margin-top: 2em;
}


.RedesSociales ul{
  display: flex;
  gap: 1em;
  padding: o.2em 0em;
  color: var(--text-color);
  font-size: 2em;
}

.RedesSociales ul li:hover{
  color: var(--tertiary-color);
  transition: 1s ease-in-out;

}

.convertforms {
  background-color: var(--tertiary-color);
  border-radius: 19px;
}

.convertforms .cf-label{
  color: #fff;
  font-size: 1em;
}

.cf-width-auto {
  background-color: var(--text-color) !important;
  font-weight: bolder;
  text-transform: capitalize !important;
  font-size: 1.2rem;
  text-shadow: #002e51 2px 5px 3px;
  letter-spacing: 1.2px;
  font-size: 1.5rem !important;
}


footer{
    font-size: 1rem;
    text-align: left;
}

.portShowcase{
  display: flex;
  flex-direction:column;
  align-items: stretch;      /* igual altura visual */
  gap: 24px;
  /* layout base (desktop/tablet) */
}

.imgShowcase,
.DescriptionShowcase{
  flex: 1 1 0;               /* reparte 50/50 sin favoritismos */
  min-width: 0;              /* CLAVE: permite que el texto encoja y haga wrap */
}

.imgShowcase{
  display: flex;
  align-items: center;
  justify-content: center;
}

.imgShowcase img{
  display: block;
  width: 100%;
  height: auto;              /* mantiene proporción */
  border-radius: 12px;       /* opcional */
  object-fit: cover;         /* útil si usas alto fijo o aspect-ratio */
}

/* Tipografía y lista */
.DescriptionShowcase p{ margin: 0 0 12px; line-height: 1.6; }
.DescriptionShowcase ul{ margin: 0; padding-left: 2rem; }
.DescriptionShowcase li{ margin: 0.3em 0.5em; list-style:disc;}
.DescriptionShowcase a{
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 600;
}

.keyFeature{
  border-bottom:solid 1px;
  width:135px;
  padding:0px 0px 0.2em 0px; 
  margin: 1em 0em 1em 0em;
  display: block;
  list-style:none;
  font-weight: bold;
  color: var(--text-color);
}

.text-muted{
  display: none;
}

.pagenavigation{
  display: none;
}



@media screen and (min-width: 768px) {

    .top{
        font-size: 1rem;
    }


    header{
        padding-bottom: 3em;
    }

    /* ###################

  SOCIAL MEDIA MENU 

  #################### */

  .social-menu {
    display: flex;
  }

  .hero-banner{
    margin: 5em 0em;
  }


  .mod-menu {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 0.4em;
    width: 100%;
    margin-right: 1.3em;
}

.mod-menu li{
  padding: 0em 1em;
}



 

    .hero{
        flex-direction: row;
        justify-content: space-around;
    }
    .hero-title{
                font-size: 3rem;
            }
            .hero-subtitle{
                font-size: 1.9rem;
            }

    .profile{
        width: 40%;
        order: 2;
    }

    .hero-skills-card{
        width: 120px;
    }

    .section-block{
        width: 80%;
        margin: 0 auto;
    }
  
    .project-button{
      padding: 3em 0em;
    }

    .mod-articles-frontpage{
      padding-top: 3em;
      padding-bottom: 2em;
}

 .skills-container h2{
  color: var(--text-color);

}

.mod-articles-frontpage h2, .project-button h2 {
  color: var(--text-color);
  text-align: center;
      padding-bottom: 1em;
}

.mod-articles-items {
  align-items: stretch;
}

.mod-articles-items li{
  border: #025964 1px solid;
  padding: 1em 1em 0em 1em;
  transform: translateY(0);
  transition: background-color 0.6s ease, transform 0.8s ease-out;
}
.mod-articles-items li:hover{
  box-shadow: var(--text-color) 0px 0px 10px;
  background-color: var(--tertiary-color);
  transform: translateY(-10px);
}


    .content-bottom-area{
      display: flex;
      flex-direction: row;
      gap: 2em;
      padding: 3em 0em;
    }

    .content-botom-left{
      width: 30%;
    }
    .content-bottom-right{
      width: 70%;
    }

    .slogan{
      text-align: center;
      padding-top: 2em;
      font-size: 1.5rem;
      font-weight: bolder;
    }

    .innov{
      width: 60%;
      margin: auto;
}

.contact-container{
padding: 4em 0em;
  display: flex;
  gap: 3em;
}

  .portShowcase{
  flex-direction:row;
  
  /* layout base (desktop/tablet) */
}

    
}
