/* SECCION S K I L L S */

.skills{
    background-color: var(--color-fondo-claro);
    color: var(--color-texto);
    padding: 90px 20px;
}
.skills .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.skills .tarjeta-glass{
    --tarjeta-bg: var(--color-fondo-oscuro);
}
.skills .fila{
    display: flex;
    gap: 30px;
}
.skills .fila .col{
    width: 50%;
}
.skills .fila .col:nth-child(2){
    transition-delay: .1s;
}
.skills .fila .col h3{
    font-size: 22px;
    font-family: var(--fuente-titulo);
    margin-bottom: 26px;
    letter-spacing: .5px;
}

/* CADA SKILL */
.skills .skill{
    margin-bottom: 24px;
}
.skills .skill:last-child{
    margin-bottom: 0;
}
.skills .skill-encabezado{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.skills .skill-nombre{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
}
.skills .skill-nombre i{
    color: var(--color-acento);
    font-size: 16px;
    width: 18px;
    text-align: center;
}
.skills .skill-porcentaje{
    font-size: 13px;
    font-weight: 700;
    color: var(--color-acento);
    background: rgba(28, 182, 152, .12);
    background: color-mix(in srgb, var(--color-acento) 12%, transparent);
    padding: 2px 10px;
    border-radius: 999px;
}

/* BARRA */
.skills .barra-skill{
    height: 8px;
    width: 100%;
    background-color: var(--color-fondo-barra);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}
.skills .progreso{
    background: linear-gradient(90deg, var(--color-acento), #6be0c4);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(.16, 1, .3, 1);
}
.skills .progreso.visible{
    width: var(--ancho-final);
}

@media (max-width: 768px){
    .skills .fila{
        flex-direction: column;
    }
    .skills .fila .col{
        width: 100%;
    }
}
