@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@font-face{
  font-family: 'PPFraktionMono';
  src: url('/PPFraktionMono.otf');
}

/* Clases específicas para index.html */
.loader-back{
  width: 100%;
  position: fixed;
  z-index: 999;
  height: 100%;
  background-color: white;
  overflow-x:hidden;
  overflow: hidden;
  top: 0;
  left:0;
  right: 0;
  bottom: 0;
}
.loader {
  position: absolute;
  width: 108px;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: space-between;
}
.loader::after , .loader::before  {
  content: '';
  display: inline-block;
  width: 48px;
  height: 48px;
  background-color: black;
  background-image:  radial-gradient(circle 14px, #FAFAFA 100%, transparent 0);
  background-repeat: no-repeat;
  border-radius: 50%;
  animation: eyeMove 10s infinite , blink 10s infinite;
}
@keyframes eyeMove {
  0%  , 10% {     background-position: 0px 0px}
  13%  , 40% {     background-position: -15px 0px}
  43%  , 70% {     background-position: 15px 0px}
  73%  , 90% {     background-position: 0px 15px}
  93%  , 100% {     background-position: 0px 0px}
}
@keyframes blink {
  0%  , 10% , 12% , 20%, 22%, 40%, 42% , 60%, 62%,  70%, 72% , 90%, 92%, 98% , 100%
  { height: 48px}
  11% , 21% ,41% , 61% , 71% , 91% , 99%
  { height: 18px}
}


/* Estilos generales */
body {
/*    font-family: 'Roboto', sans-serif;
*/
/*background-image:url(./fondo.jpg);*/
font-family: Inter,'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
/*font-family: PP Fraktion Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;*/
font-size: 1.2rem;
line-height: 1.5;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f9f9f9;
color: #333;
}
body.invertido {
  background-color:black;
  filter: invert(1) hue-rotate(180deg);
  transition: filter 0.4s ease;
}


ul {
  list-style: none;
  padding: 0;
}


a {
  text-decoration: none;
  cursor: pointer;
}
a:hover{
 color:rgb(100,100,100);
}


.container {
  width: 88%;
  margin: auto;
  height: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}

/* Area de Paginas ocultas */



/* Hero Section */
.hero {
  background: transparent;
color: black;
height:  100%;
}

.intro {
  display: block;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
/*  border:2px solid black;
*/  padding:10px;
}
.title{
  width: 100%;
  height: fit-content;
  display: flex;
  margin: auto;
  justify-content: left;
  position: relative;
}
.title span{
  width: calc(100%/1);
  height: fit-content;
  text-align: left;
  margin: auto;  
/*  border-bottom: 1px solid black;

*/
}

.title_sub_1{
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  letter-spacing: 3px;
  font-style: normal;
  color: black;
}

.title_sub_1 a{
  color: black;
  display: inline-flex;
/*  background-color: #2d2c2c;
*/}
.title_sub_1 a:hover{
  color: white;
  background-color: rgb(50,50,50);
}

.title_sub_2{
  display: flex;
  font-size: 18px;
  font-style: normal;
  text-align: left;
  margin: auto;
}

.code-box {
  display: flex;
  color: black;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
  height:100%;
  margin: auto;
  position: relative;
  
}

.box {
  display: block;
  background-color: transparent;
  color: black;
  margin: auto;
  font-size: 15px;
  overflow: hidden;
  text-align: left;
  width: calc(90%/2);
  font-family: "IBM Plex Mono", monospace;
  height: fit-content;

}

.box_0{
  text-align: center;
}

.neon-title {
  cursor: pointer;
  width: fit-content;
  margin: auto;
  text-align: center;
  perspective: 300px; /* Perspectiva más suave */
  display: inline-block;
}

.text-container {
  position: relative;
  font-size: 5rem;
  font-weight: bold;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: inline-block;
  will-change: transform;
}

.text-part {
  backface-visibility: hidden; /* Evita que se vea el reverso */
  display: inline-block;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  transform: translateZ(0);
  color: #222;
  text-shadow: 
    3px 3px 0px #1060c8,
    6px 6px 0px rgba(16, 96, 200, 0.4),
    9px 9px 0px rgba(16, 96, 200, 0.2);
}

.front {
  transform-origin: bottom center;
}

.back {
  position: absolute;
  left: 0;
  
  top: 0;
  transform-origin: top center;
  transform: rotateX(-90deg) translateY(-30%);
  color: #1060c8; /* Color diferente para la parte trasera */
  opacity: 0;
}

/* Efecto hover combinado */
.neon-title:hover .text-container {
  transform: translateY(-5px);
}

.neon-title:hover .front {
  transform: rotateX(90deg) translateZ(20px);
}

.neon-title:hover .back {
  transform: rotateX(0deg) translateZ(30px);
}

/* Sombra neon solo en el contenedor */
.neon-title:hover {
  text-shadow: none; /* Eliminamos la sombra del contenedor */
}


.box_0 h1:hover body.invertido{
    filter: invert(1);
}




.box_1{
  display: flex;
  height:calc(100%/2);
  width: 100%;
  margin: 15px auto;
}
.box_1_div{
  align-content: center;
  overflow: hidden;
  width: calc(90%/3);
  border:1px solid black;
  background-color: white;
  margin: auto;
  height: 100px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: 0.5s ease;


}

.div_info{
  font-family: "IBM Plex Mono", monospace;
  position: relative;
  display: block;
  visibility: hidden;
  color: white;
  transition: 0.4s;
  text-align: center;
}
.div_info p{
  position: absolute;
  width: 100%;
  margin: auto;
  text-align: center;
  height: fit-content;
  transition: 0.3s linear;
  bottom: -15px;

}
.box_1_div:hover .img { 
  transition: 0.7s ease;
  filter: invert(100%);  
}

.box_1_div:hover{  
  background-color: rgb(50,50,50);
  box-shadow: 10px 10px #2b2b2b45;
}
.box_1_div:hover .div_info p{  
  visibility: visible;
  transition-delay: 0.2s;
  display: block;
  bottom: 3px;  
  transition: 0.2s ease;

}

.box_1_div img{
  margin: 24px auto;
  width: 40px;
}

.about-list {
  position: relative;
/*  font-family: 'Robot',sans-serif;
*/
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
width: calc(95%/2);
text-align: center;
padding: 10px;
line-height: 1.3;
/*  border:1px solid black;
*/  padding: 10px;
margin: auto;

}
.about-list h5{
  text-align: center;
  padding:0;
  margin:auto;
/*  background:rgba(26, 26, 26, 0.85);
*/  color: black;
  width: fit-content;
}



.about-list p{
  text-align: end;
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  margin:0;
  font-style: normal;  
  font-size: 15px;
}

.contenido-perfil {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;  /* Otros estilos... */
}
.contenido-perfil p {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#perfil_txt3 h4{
  text-align: left;
  margin: 10px 0;
}
.perfil-seccion {
  color: #111;
}

.perfil-seccion h3 {
  display: flex;

  gap: 10px;
  color: #111;

}

/*divisor*/

/*divisor*/

.perfil-lista {
  list-style: none;
  padding-left: 0;
  margin: auto;
}

.perfil-lista li {
  font-size: 1rem;
  color: #333;
  display: flex;
  gap: 6px;
  padding: 0.1rem 0;
  margin: 5px auto;
}

.perfil-lista li:last-child {
  border-bottom: none;
}

.perfil-lista li i {
  color: #555;
  min-width: 22px;
  font-size: 1.1rem;
}


/*Area frames dentro del div
*/

.frameworks{
  width: 100%;
  text-align: left;justify-content: center;

}
.frameworks h4{
  text-align: left;
}
.frameworks ul{
  display: flex;
  width: 100%;
}
.frameworks ul li{
  width: calc(80%/3);
  margin: auto;
  justify-content: center;
  transition: all 0.2s ease;
  height: 40px;
  align-content: center;
  text-align: center;
  background-color:rgba(10,10,10,0.1);
  padding: 6px;


}

/*area idioma dentro del div*/
.idiomas ul{
  display: flex;
  width: 100%;
}
.idiomas ul li{
  width: calc(95%/4);
  border:1px solid black;
  margin:auto;
  padding:5px 0px;
  height: fit-content;
  align-items: center;
  align-content: center;
  position: relative;
  overflow:hidden;
  font-size:16px;
  color: #fff;
  background-color:rgb(40,40,40);
}
.nativ{
  display: none;
  position: absolute;
  font-size: 16px;
}
.nativ p{
  margin: auto;
  text-align: center;
  justify-content: center;
  font-size: 19px;
  transition:0.2s ease;
}

.idiomas ul li:hover .nativ,.idiomas ul li:focus .nativ{
  display: flex;
  top: 0px;
  width: 100%;
  background-color: rgb(240,240,240);
  color: #235;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
}

/*Aqui empiezaa las graficas de text3

*/

.distros{
  margin: 10px auto;
}
.grafica{
  position: relative;
  display: block;
  width: 100%;
  margin: auto;
height:fit-content;
justify-content: center;
font-family: "IBM Plex Mono", monospace;
}
.grafica_title{
  text-align: center;

}
/*.grafica_flex{
  display: flex;
  }*/
  .grafica_div{
    width:100%;
    height:fit-content;
    margin:auto;
    justify-content: center;
    display: none;
    overflow: hidden;
    position: relative;


  }

  .grafica_div1{
   width: 100%;
   display:inline-flex;
   text-align: justify;
   align-content: center;
 }
 #active {

   width: 99%;
   text-align: center;
   opacity: 0; /* Inicia invisible */
   transition: opacity 0.5s ease, transform 0.5s ease; /* Agrega transición */
   display: none; /* Se oculta por defecto */
   transform: scale(0.6);
 }

 #active.show {
  opacity: 1;  
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease; /* Agrega transición */

}

#active.hide {
  opacity: 0;
  transform:  scale(0.8);
}

.close{
  cursor: pointer;
  left: 0;
  width: 50px;
  height: 50px;
  position: absolute;
  display: flex;
}
.close:hover{
  filter: invert(100%);
  background-color:rgba(240,240,240,0.7);
}
.close img{
  margin:auto;
}
.grafica_div2{
  width: 100%;
  text-align: justify;
  align-content: center;
}
.grafica_info{
  width: 100%;
  margin: auto;
  height: fit-content;
}
.grafica_imagen{
  width: 50%;
  height:50%;
  margin: 10px auto;
  text-align: center;
}
.grafica_imagen img{
  justify-content: center;
  text-align: center;
  width: auto;
  margin: auto;
  max-height: 50px;

}
.grafica_texto{
  width: 80%;
  align-content: center;
  height:fit-content;
  background-color: white;
  margin: auto
}

/*Botones para js
*/
.botones{
  display: flex;
  width: 100%;
  margin:auto;
  height: 40px;
}
.botones button{
width: calc(100%/5);
  background-color: transparent;
  margin:
auto;
  height: 100%;
  color: black;
  display: flex;
  transition:0.4s ease;
  border:none;
  overflow:hidden;
  text-align: center;
  align-content: center;
  align-items: center;
  opacity: 0.8;
  filter: grayscale(100%) contrast(120%) brightness(90%);

}
.botones button:hover, .botones button:active, .botones button:focus, .botones button:target{
/*  zoom:1.1;
*/  opacity: 1; 
border:1px solid #1a1919b2;
transition:0.3s ease;
cursor: pointer;
box-shadow: 5px 5px black;
background-color:rgba(240,240,240,0.6);
color: #222;
z-index: 10;
filter: none;
}

.botones button img{
  height:100%;
  margin: auto;
}
/*divisor de pruebas de estilo*/


/* Links  */
.project {
  margin: auto;
  position: relative;
  width: 90%;
  height: fit-content;
  color:black;

}

.project_div{
  width: 100%;
/*  border:1px solid black;

*/

}
.vistaso:hover .mini{
  display: block;
}
.preview{
  width: fit-content;
  color: rgba(30,30,30,0.5);
  font-weight: normal;
  font-size: 15px;
  opacity: 0;
}
.mini{
  transition:0.2s ease;
  display: none;
  position: absolute;
  top: 0;
  width: 100%;
  height:100%;
  left: 150%;
  transform:scale(1.5);
  z-index: 10;
}
.mini img{
  width: fi-content;
  height:100%;
  object-fit: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  text-align: left;
}

th td:first-child{
  width: 550px;
}


th {
  position: relative;
  padding: 10px;
  font-weight: bold;
  width: calc(100%/5);
  height: fit-content;
  border-bottom: 1px solid;
  border-right: 1px solid;
  line-height: 0.9;
  transition: all 0.2s linear;
}

th:hover, td:hover {
  background-color: rgba(230,230,230,0.6);
  opacity: 1;
  transition: all 0.3s ease; 

}



td {
  transition:all  0.2s linear;
  padding: 10px;
  line-height: 0.9;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
}
td p{
  display: flex;
  position: relative;
  left: 10px;

}
/*area de los procesos */
.Proceso{
  width: 100%;
  height:450px;
  margin:100px auto;
  display: flex;
}

.Proceso_container {
  width: 80%;
  height: 400px;
  margin: auto;
  display: flex;
  position: relative;
  /* Eliminamos overflow-x aquí para no afectar todo el contenedor */
}

.proceso_static {
  width: 100%;  /* Cambiado a 100% para mejor responsividad */
  display: flex;
  position: relative;
  gap: 20px;  /* Espacio entre las dos columnas */
}

/* Contenedor de imágenes con scroll horizontal */
.procesos_div1 {
  position: relative;
  width: 70%;
  height: 100%;
  min-width: 70%;  /* Aseguramos que mantenga su proporción */
}

.imagenes-container {
  display: flex;
  overflow-x: auto;
  height: 100%;
  gap: 15px;
  scroll-snap-type: x mandatory;  /* Mejor experiencia de scroll */
  scrollbar-width: thin;  /* Para Firefox */
  padding: 10px 0;
}

/* Estilo para la barra de scroll (opcional) */
.imagenes-container::-webkit-scrollbar {
  height: 8px;
}
.imagenes-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.procesos_div1 img {
  height: 90%;
  width: auto;
  max-width: none;  /* Permite que las imágenes mantengan su proporción */
  scroll-snap-align: start;  /* Alineación para scroll suave */
  object-fit: cover;
  flex: 0 0 auto;  /* Evita que las imágenes se estiren */
}

.procesos_div1 h2 {
  position: absolute;
  color: white;
  transform: rotate(330deg);
  background-color: black;
  left: -50px;
  top: 20px;
  z-index: 2;
  padding: 5px 10px;
}

.procesos_div2 {
  position: relative;
  width: 30%;
  height: 100%;
  text-align: center;
  min-width: 300px;  /* Ancho mínimo para el texto */
}

.procesos_info {
  width: 80%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.procesos_info p,.procesos_info h2,.procesos_info h3{
  margin: 0;
}








/* Area de certificad */
.certificados{
  cursor: normal;
  width: 100%;
  margin:40px auto;
  height:auto;
  font-family:  "IBM Plex Mono", monospace;

}
.div-cer{

  text-align: center;
  width: 90%;
  height:100%;
  display: flex;
  position: relative;
  margin: auto;


}

.div-cer ul{
  display: block;
  grid-template-columns: repeat(auto-fill, minmax(calc(100%/4), 1fr));
  gap: 10px;
  width: 90%;
  justify-content: center; 
  align-items: center; 

}
.div-title{
  display: flex;
  justify-content: center; 
  align-items: center; 
  width: 10%;
  writing-mode: vertical-rl; 
}


.li-cer{  
  position: relative;
  height: auto;
  border:1px solid black;
  transform: rotate(calc(10deg - (20deg * random())));
  transition:2s linear;
}
.li-div{
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
  justify-content: center;
  height:100%;
  z-index: 4;
  color: black;
  background-color: rgba(250,250,250,0.9);
  
}
.li-div h3{
  margin: 0;
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  height: 100%; /* Toma toda la altura de la pantalla */
}

.li-cer:hover .li-div{  
  transition: 2s linear;
  display: none;
  z-index: 2;
}
.li-div_activo{
  transition: 2s linear;
  display: none;
  z-index: 2;
}


.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: normal;
  padding:0;
  z-index: 1;
  position: relative;
}



/* Footer */
footer {
  background-color: #ecf0f1;
  color: #111;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
}

/* skills */
/* Skills Compact - Versión sin barras, porcentaje en hover/click */

/* iconos */

/* Variables para fácil personalización */
:root {
  --primary-font:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --border-color: #0e0d0d; /* Negro un poco más suave */
  --background-color: #ffffff; /* Fondo blanco papel */
  --card-background: #f9f9f9; /* Fondo ligero para tarjetas */
  --hover-background: #1a1a1a;
  --hover-text-color: #f0f0f0;
  --icon-color-default: #333;
  --text-color: #333;
  --tab-inactive-bg: #f0f0f0;
  --tab-active-bg: var(--border-color);
  --tab-active-text: var(--background-color);
  --transition-speed: 0.3s;
  --card-shadow: 3px 3px 5px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

#skills {
  font-family: var(--primary-font);
  position: relative; /* Para posicionar elementos internos si es necesario */
}

.skills-header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  /* border-bottom: 1px solid var(--border-color); */
  padding-bottom: 10px;
}

/* seccion boton */
.tab-btn {
  --transition-speed: 0.25s;
  --tab-active-bg: rgba(0, 0, 0, 0.918);
  --tab-active-text: #fff;
  --border-color: #070707;
  
  margin: 0 10px;
  padding: 8px 20px;
  border: 1px solid #0a0a0a;
  border-radius: 0px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  position: relative;
  background: #ffffff;
  color: #333;
  box-shadow: 4px 4px 0 #8a8a8a8f;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-speed);
}

.tab-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #333;
}

.tab-btn:hover::before {
  left: 100%;
}

.tab-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 #020202;
}

.tab-btn.active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
  /* box-shadow: 0 0 0 2px #fff, 0 0 0 4px #030303; */
  transform: scale(0.9);
  border-color: var(--border-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

.tab-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #4d90fe;
}
.skills-container {
  display: none; /* Oculto por defecto */
  animation: fadeIn 0.5s ease-in-out; /* Animación de entrada */
}

.skills-container.active {
  display: block; /* Mostrar contenedor activo */
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); /* Tamaño mínimo un poco mayor */
  gap: 10px; /* Más espacio */
}

.skill-card {
  border: 1px solid var(--border-color);
  background-color:white;
  padding: 5px;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease;
  position: relative;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin: auto;
  width: 70%;
}

.skill-card:hover {
  background-color: var(--hover-background);
  transform: translateY(-4px) scale(1.02); /* Efecto de elevación y ligero zoom */
  box-shadow: var(--card-hover-shadow);
}

.skill-card i {
  font-size: 2.1rem; /* Iconos más grandes */
  margin-bottom: 12px;
  display: block;
  color: var(--icon-color-default); /* Color base para iconos */
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.skill-card:hover i {
  color: var(--hover-text-color);
  transform: rotate(5deg) scale(1.1); /* Ligera rotación y escala en hover */
}

.skill-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  transition: color var(--transition-speed) ease;
}

.skill-card:hover p {
  color: var(--hover-text-color);
}

/* Pseudo-elemento para el porcentaje */
.skill-card::after , .skill-card:focus {
  content: attr(data-percent);
  position: absolute;
  bottom: -25px; /* Inicialmente oculto abajo */
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 1);
  color: white;
  padding: 3px 0;
  font-size: 0.75rem;
  text-align: center;
  opacity: 0;
  transition: bottom var(--transition-speed) ease, opacity var(--transition-speed) ease;
  font-weight: 500;
}

.skill-card:hover::after {
  opacity: 1;
  bottom: 0; /* Aparece desde abajo */
}

/* Colores específicos para iconos (añade más si es necesario) */
.skill-card:hover .fa-python { color: #3bc1ff; } /* Amarillo Python */
.skill-card:hover .fa-terminal { color: #C0C0C0; } /* Plata */
.skill-card:hover .fa-js-square { color: #dbcf1d; } /* Color de texto negro sobre fondo amarillo JS */
.skill-card:hover .fa-java { color: #F89820; } /* Naranja Java */
.skill-card:hover .fa-git-alt { color: #d31818; } /* Blanco sobre fondo Git */
.skill-card:hover .fa-database { color: #53DDAC; } /* Verde menta */
.skill-card:hover .fa-html5 { color: #bd5a2d; } /* Blanco sobre fondo HTML */
.skill-card:hover .fa-php { color: #7f89e9; } /* Lila claro */
.skill-card:hover .fa-css3-alt { color: #1a83a3; } /* Blanco sobre fondo CSS */
.skill-card:hover .fa-github { color: #8571f8; } /* Azul claro */
.skill-card:hover .fa-server { color: #f4f75e; } /* Verde pálido (para Railway) */
.skill-card:hover .fa-cloud-upload-alt { color: #00C7B7; } /* Turquesa (para Netlify) */
.skill-card:hover .fa-linux { color: #17ad30; } /* Blanco sobre fondo Linux */
.skill-card:hover .fa-play { color: #53bbce; } /* Blanco (para Vercel) */
.skill-card:hover .fa-fire { color: #ff5100; } /* Naranja (para Firebase) */

/* Animación Fade In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* fin skills */
/*fin del java*/

.len{
  display: none;
  opacity: 0;
}
/* Cambio a tema oscuro */
#color{
  position: absolute;
  left:  10px;
  top: 10px;
  display:flex;
}
.toggle-btn {
  width: 25px;
  height: 25px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.5s ease, transform 0.2s; /* Transición más suave */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border:1px solid #333;
  margin-right: 4px;
}


/* Fin del cambio de color*/


/*Stylo de la hoja about*/

.abt_cont{
  background-color: #FFF;
  width: 80%;
  margin: 40px auto;
  height: fit-content;
  display: block;
  justify-content: center;
  align-content:center;
  text-align: center;
  border:0.7px solid black;
}
.abt_contact ul li a{
  color: black;
}
.abt_contact ul li a:hover{
  background-color: black;
  color: white;
}
.abt_title{
  justify-content: left;
  width: 90%;
/*  border-bottom: 1px solid black;
*/  height: fit-content;
margin: auto;
margin-top: 40px ;
font-family: "IBM Plex Mono", monospace;
display: flex;
border-bottom: 1px solid black;


}
.abt_title a{
  color: #1119;
  margin-right: 20px;
  font-size:17px;
}
.abt_title a:hover {
  color: white;
  background-color: #2d2c2c;
}

.abt_cont_div{
  width: 90%;
  height: fit-content;
  margin: auto;
  display: flex;
  font-family: "IBM Plex Mono", monospace;
  list-style: circle;

}
.abt_info{
  width: 40%;
  margin: 20px auto;
/*  border:1px solid black;
*/  height: auto;
}
.abt_info_ul{
  text-align: left;
  height: auto;
  margin: 0;
  border:0.6px solid black;
}
.abt_info_ul h4{
  height:10%;
  margin: 0;
  padding:7px;
}

.abt_info_ul li{
  height: calc(89%/3) auto;
  opacity: 50%;
  margin: 30px auto;
/*  border-right: 1px solid black;
*/
}
.abt_info_ul li:hover{
  opacity: 100%;
}
.abt_info_ul p{
  padding:7px;
}

.abt_contact {
  width: 50%;
  margin: 25px auto;
}
.abt_contact span{
  display: flex;
  height: fit-content;
  margin: auto;
  width: 100%;
  border-bottom:0.8px solid black;
}
.abt_contact span img{
  margin: auto;
  width: 30%;
  height: 50px;
}
.abt_contact ul{
  text-align: right;
/*  list-style: square inside;
*/
list-style: square;
width: 40%;
margin: 20px auto;

}

.abt_web{
  border-top: 1px solid black;
  position: relative;
  height:auto;
}
.btn {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 27px;
  height: 27px;
  border-radius:50%;
  border:1px solid black;
  visibility: 70%;
  z-index: 2;
  background-color: transparent;
  transition:all 0.2s ease;
  box-shadow: 9px 5px black;

}

.btn:hover {
  background-color: #fff;
  transform:  scale(1.1) rotate(180deg);
  visibility:100%;
  cursor: pointer;

}
.btn_txt{
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 18px;
  border-style: none;
  background-color:#333232;
  padding:5px;
  cursor: pointer;
  color: white;

}
.btn_txt:hover, .btn_txt:active{
background-color:transparent;
color:black;

}


.abt_final{
  width: 100%;
  margin: 10px auto;
}
.abt_final ul{
  width: 90%;
  height:fit-content;
  margin: auto;
  list-style: none;
  text-align: center;
}
.abt_final ul li{
  margin:15px auto;
  text-align: center;
}
.old{
  text-align: center;
  width: 100%;
  height:fit-content;
  color: black;
  margin: 10px auto;
  border-top: 1px solid black;
  margin-top:20px;
}
.old a{
  display: block;
  color: black;
  margin: 20px ;
}
.old a:hover{
  color: white;
  background-color: #1119
}



/*secction de comentarios al final*/


.comentarios{
  padding: 10px;
  width: 80%;
  height: fit-content;
  margin:  auto;
  display: block;
}
.botones_comentarios{
  width: 60%;
  height: fit-content;
  margin: auto;
  margin-right: 0px;
  display: flex;
}
.botones_comentarios span{
  text-align: center;
  width: calc(100%/2);
  border: 1px solid black;
  cursor: pointer;
}

.comentarios-recientes{
  width: 100%;
  height: fit-content;
  margin: auto;
  display: block;
  border: 1px solid black;

}
.publicar{
  padding: 10px;
  background-color: #111;
  color: white;
  border: none;
  cursor: pointer;
}
.publicar:hover{
  background-color: #e4e4e4;
  color: black;
  transition: 0.2s ease;
}





/*Meidaquerys para movil*/

/* 📱 Estilos para móviles (menos de 900px) */
/*Primera pagina*/
@media (max-width: 900px) {


  .code-box{
    display: block;
    padding:0;
  }
  .about-list , .box{
    width: calc(97%/1);
    padding:0;
  }
  .about-list h2{
    margin: 10px auto;
    text-align: center;

  }
  .title{
    display: block;
    width: 100%;  
    height:fit-content;
  }
  .div-title {
    writing-mode: none;
    width: 100%;
  }
  .project_div{
    overflow: scroll;
  }
  .div-cer ul{
    width: 100%;
  }
  .Proceso {
    width: 100%;
    height: fit-content;
    margin: 100px auto;
    display: flex;
  }
  .Proceso_container {
    width: 80%;
    height: fit-content;
    margin: auto;
    display: flex;
    position: relative;
  }
  .proceso_static {
    width: 100%;
    display: block;
    position: relative;
  }
  .procesos_div1 {
    position: relative;
    width: 90%;
    height: 400px;
    min-width: 70%;
    margin: auto;
  }
  .procesos_div2 {
    position: relative;
    width: 90%;
    height: fit-content;
    text-align: center;
    min-width: auto;
    margin: auto;
  }
  .procesos_div1 h2 {
    position: absolute;
    color: white;
    transform: rotate(330deg);
    background-color: black;
    left: -65px;
    top: -13px;
    z-index: 2;
    padding: 5px 10px;
    font-size: 21px;
  }
  #skills {
    width: 100%;
    margin: 40px auto;
    font-family: "IBM Plex Mono", monospace;
  }

}

@media (max-width: 500px) {
  .div-cer{
    display: block;

  }
  .len{
    display: block;
    color: black;
    margin: auto;
    text-align: center;
    widows: 95%;

  }
  .about_list p{
    letter-spacing: 0.3px;
    text-align: justify-all;
  }
  .div-title{
    width: 100%;
    display: block;
    justify-content: center;
    align-content: center;
    text-align: center
  }
  .title{
    text-align: center;
  }
  .title span{
    width: 95%;
    height: 100%;
    margin: auto;
/*  border-bottom: 1px solid black;
*/  margin: auto;
}
.div-title h2,
.div-title p{
  margin: auto
}

.about-list h2{
  margin: 10px auto;
  text-align: center;
  
}
.botones{
  display: flex;
}
.botones button{
  width:  100%;
}
.about-list p{
  text-align: center;
}
.about-list h4{
  margin:10px auto;
}
.preview{
  background-color: #E5E5E5;
  opacity: 1;
}
.grafica{
  display: block;
  height:fit-content;
  width: 100%;
}
.idiomas ul{
  display: block;
}
.idiomas ul li{
  width: 90%;
  margin: 10px auto;
}
#skills{
  width: 100%;
  margin: 40px auto;

}
}
