body {
    margin: 0;
    min-height: 100vh;
    background-color: #101522;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(24, 216, 224, 0.12), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(166, 108, 255, 0.14), transparent 35%);
}

.invitacion {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.corona {
    color: #A66CFF;
    font-size: 32px;
    margin-bottom: 12px;
    text-shadow: 0 0 12px rgba(166, 108, 255, 0.7);
}

.tarjeta {
    width: 100%;
    max-width: 550px;
    padding: 40px;
    text-align: center;
    color: #F3F4FA;
    font-family: 'Segoe UI', sans-serif;

    /* border: 1px solid rgba(166, 108, 255, 0.5);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(24, 216, 224, 0.15),
        0 0 25px rgba(166, 108, 255, 0.15); */

    border: 1px solid rgba(166, 108, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 0 18px rgba(166, 108, 255, 0.12);
}

.etiqueta {
    color: #18D8E0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.titulo-principal {
    color: #F3F4FA;
    font-size: 48px;
    font-weight: 900;
    margin: 20px 0 5px;
}

.subtitulo {
    color: #A66CFF;
    font-size: 27px;
    font-weight: 800;
    margin: 0 0 25px;
}

.descripcion {
    font-size: 16px;
    line-height: 1.6;
}

.frase {
    color: #FF648C;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0;
}



.btn-ingresar {
    padding: 15px 30px;
    /* border: none; */
    border-radius: 20px;
    background: linear-gradient(145deg,
            #8AF5F2 0%,
            #18D8E0 35%,
            #A66CFF 100%);
    color: #101522;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 0 12px 5px rgba(255, 255, 255, 0.65),
        inset 0 0 18px 8px rgba(60, 30, 120, 0.35),
        0 6px 0 #6945A8,
        0 10px 18px rgba(0, 0, 0, 0.4);


    position: relative;
    overflow: hidden;

}

.btn-ingresar:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.75),
        inset 0 -5px 8px rgba(60, 30, 120, 0.45),
        0 6px 0 #6945A8,
        0 10px 18px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(24, 216, 224, 0.4);
}

.btn-ingresar::before {
    /*agrega una capa adicional o icono antes del elemento, sin agregar html*/
    content: "";
    position: absolute;
    top: 3px;
    left: 5%;
    width: 90%;
    height: 45%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    filter: blur(8px);
    pointer-events: none;
}

.btn-ingresar:active {
    transform: translateY(4px);
    box-shadow:
        0 1px 0 #6945A8,
        0 3px 6px rgba(0, 0, 0, 0.25);
}

.menu-principal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    color: #F3F4FA;
    font-family: 'Segoe UI', sans-serif;
}

.titulo-menu {
    color: #F3F4FA;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0;
    text-shadow:
        0 0 10px rgba(166, 108, 255, 0.6),
        0 0 25px rgba(166, 108, 255, 0.3);
}

.subtitulo-menu {
    color: #AEB8CC;
    font-size: 16px;
    margin-top: 12px;
    text-align: center;
}

.contenedor-tarjetas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 650px;
    margin-top: 35px;
}

.tarjeta-menu {
    padding: 30px 20px;
    border: 1px solid rgba(24, 216, 224, 0.35);
    border-radius: 20px;
    background: linear-gradient(145deg, #293750, #182235);
    color: #F3F4FA;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.25),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        0 7px 0 #111A2B,
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(24, 216, 224, 0.2),
        0 0 35px rgba(166, 108, 255, 0.15);

    transition: all 0.3s ease;
}

.icono-tarjeta {
    font-size: 35px;
}

.icono-misterio {
    font-size: 48px;
    animation: misterio 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(24, 216, 224, 0.8));
    display: inline-block;
}

@keyframes misterio {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(0.85);
    }
}

.icono-pocion {
    display: inline-block;
    font-size: 42px;
    filter: drop-shadow(0 0 8px rgba(166, 108, 255, 0.8));
    animation: pocion 2s ease-in-out infinite;
}

@keyframes pocion {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-12deg);
    }

    75% {
        transform: rotate(12deg);
    }
}

.titulo-tarjeta {
    color: #18D8E0;
    font-size: 19px;
    font-weight: 800;
}

.texto-tarjeta {
    color: #C2C9D8;
    font-size: 13px;
}

.tarjeta-menu:hover {
    transform: translateY(-5px);

    box-shadow:

        inset 0 4px 8px rgba(255, 255, 255, 0.2),
        inset 0 -5px 8px rgba(0, 0, 0, 0.3),
        0 9px 0 #111A2B,
        0 15px 25px rgba(24, 216, 224, 0.2),
        0 0 20px rgba(24, 216, 224, 0.2);
}

.tarjeta-menu:active {
    transform: translateY(4px);

    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.35),
        inset 0 -2px 5px rgba(255, 255, 255, 0.12),
        0 2px 0 #111A2B,
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.tarjeta-contenedor {
    perspective: 1000px;
}

.tarjeta-giratoria {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.tarjeta-frente {
    padding: 30px 20px;
    border: 1px solid rgba(24, 216, 224, 0.35);
    border-radius: 20px;
    background: linear-gradient(145deg, #293750, #182235);
    color: #F3F4FA;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.25),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        0 7px 0 #111A2B,
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(24, 216, 224, 0.2),
        0 0 35px rgba(166, 108, 255, 0.15);
    transition: all 0.3s ease;
    backface-visibility: hidden;
}

.tarjeta-frente:hover {
    transform: translateY(-5px);

    box-shadow:

        inset 0 4px 8px rgba(255, 255, 255, 0.2),
        inset 0 -5px 8px rgba(0, 0, 0, 0.3),
        0 9px 0 #111A2B,
        0 15px 25px rgba(24, 216, 224, 0.2),
        0 0 20px rgba(24, 216, 224, 0.2);
}

.tarjeta-frente:active {
    transform: translateY(4px);

    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.35),
        inset 0 -2px 5px rgba(255, 255, 255, 0.12),
        0 2px 0 #111A2B,
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.tarjeta-dorso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.tarjeta-giratoria.girar {
    transform: rotateY(180deg);
}

.tarjeta-menu.en-que-ando {
    background: linear-gradient(145deg, #aa7312be, #292638);
    border-color: rgba(255, 240, 130, 0.5);

    box-shadow:
        inset 0 5px 9px rgba(255, 255, 255, 0.529),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35);
    /* 0 7px 0 #2d2b3c, */
    /* 0 10px 20px rgba(154, 137, 137, 0.4),
        0 0 20px rgba(255, 202, 100, 0.22),
        0 0 35px rgba(255, 180, 70, 0.12); */
}

.tarjeta-menu.en-que-ando:hover {
    box-shadow:
        inset 0 5px 9px rgba(255, 255, 255, 0.25),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        0 7px 0 #2d2b3c,
        0 0 12px rgba(238, 215, 145, 0.628),
        0 0 25px rgba(255, 215, 100, 0.30);
}

.tarjeta-menu.en-que-ando:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 5px 9px rgba(255, 255, 255, 0.529),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35);


}



.tarjeta-menu.tarjeta-herramientas {
    background: linear-gradient(145deg, #ee89d3b1, #3d1959);
    border-color: rgba(255, 130, 125, 0.5);

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.25),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        /* 0 7px 0 #191725, */
        /* 0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(241, 117, 121, 0.71),
        0 0 35px rgba(255, 75, 95, 0.12); */
}

.tarjeta-menu.tarjeta-herramientas:hover {
    background: linear-gradient(145deg, #b36a9c, #382B3A);
    border-color: rgba(255, 150, 145, 0.85);

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.3),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        0 7px 0 #191725,
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(241, 117, 121, 0.85),
        0 0 40px rgba(255, 75, 95, 0.25);

    transform: translateY(-3px);
}

.tarjeta-menu.tarjeta-herramientas:active {
    transform: translateY(4px);

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.15),
        inset 0 -5px 10px rgba(0, 0, 0, 0.45),
        0 3px 0 #191725,
        0 5px 10px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(241, 117, 121, 0.55);
}














.fondo-modal {
    position: fixed;
    inset: 0;
    background: rgba(16, 21, 34, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.fondo-modal.activo {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;

    opacity: 0;
    visibility: hidden;

    transform: scale(0.7);
    transition: opacity 1s ease, transform 1s ease;

}

.modal-proyectos {
    transform: scale(0.25);
    opacity: 0;
    visibility: hidden;
    transition:
        transform 2.5s ease,
        opacity 0.65s ease,
        visibility 0s linear 2.5s;
}

.modal-proyectos.activo {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    transition:
        transform 2.5s ease,
        opacity 0.65s ease,
        visibility 0s;
}

.contenido-modal {
    position: relative;
    width: 90%;
    max-width: 550px;
    padding: 40px;
    text-align: center;
    color: #F3F4FA;
    border-radius: 24px;


    background:
        linear-gradient(145deg, #293750, #182235);

    border: 1px solid rgba(24, 216, 224, 0.5);

    box-shadow:
        inset 0 3px 10px rgba(255, 255, 255, 0.12),
        inset 0 -5px 12px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(24, 216, 224, 0.2),
        0 0 40px rgba(166, 108, 255, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.5);

}

.modal.activo {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.contenido-modal.modal-quien-soy {
    overflow-y: auto;
    max-height: 85vh;
    box-sizing: border-box;

}

.etiqueta-modal {
    display: inline-block;
    color: #18D8E0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 8px 16px;
    border: 1px solid rgba(24, 216, 224, 0.4);
    border-radius: 20px;
    background: rgba(24, 216, 224, 0.08);
    text-shadow: 0 0 10px rgba(24, 216, 224, 0.5);
    box-shadow: 0 0 15px rgba(24, 216, 224, 0.12);
}

.titulo-modal {
    margin: 25px 0 12px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;

    background: linear-gradient(100deg,
            #F3F4FA,
            #A66CFF);

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.icono-modal {
    background: none;
    color: initial;
    -webkit-text-fill-color: initial;
    font-size: 26px;
}

.texto-modal {
    color: #C9D2E3;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 200;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.icono-picardia {
    display: inline-block;
    font-size: 20px;
    animation: risita 2s ease-in-out infinite;
}

@keyframes risita {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-3px);
    }
}

.icono-modal {
    display: inline-block;
    animation: saludo 2s ease-in-out 1;
}

@keyframes saludo {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(4px, -5px) rotate(15deg);
    }

    50% {
        transform: translate(0, 0) rotate(0deg);
    }

    75% {
        transform: translate(-3px, 3px) rotate(-10deg);
    }
}

.separador-modal {
    width: 70px;
    height: 3px;
    margin: 0 auto 22px;

    background: linear-gradient(90deg,
            #18D8E0,
            #A66CFF);

    border-radius: 10px;

    box-shadow:
        0 0 8px rgba(24, 216, 224, 0.6),
        0 0 15px rgba(166, 108, 255, 0.4);
}

.btn-cerrar-modal {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(166, 108, 255, 0.5);
    border-radius: 50%;

    background: rgba(16, 21, 34, 0.7);
    color: #F3F4FA;
    font-size: 16px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-cerrar-modal:hover {
    color: #18D8E0;
    border-color: #18D8E0;
    box-shadow: 0 0 12px rgba(24, 216, 224, 0.5);
    transform: rotate(90deg);
}

.tarjeta-proyectos {
    width: 100%;
    height: 100%;
    /* box-sizing: border-box; */
    background: linear-gradient(145deg, #39265D, #211936);
    border: 1px solid rgba(166, 108, 255, 0.6);

    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.2),
        inset 0 -5px 10px rgba(0, 0, 0, 0.35),
        0 7px 0 #171126,
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(166, 108, 255, 0.25);
}

* {
    box-sizing: border-box;
}

.icono-moto {
    display: inline-block;
    font-size: 42px;
    animation: acelerar 1.5s ease-in-out infinite;


}

@keyframes acelerar {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(5px) rotate(-3deg);
    }

    50% {
        transform: translateX(12px) rotate(0deg);
    }

    75% {
        transform: translateX(5px) rotate(3deg);
    }
}

.humo-moto {
    display: inline-block;
    animation: humo 1s ease-in-out infinite;
}

@keyframes humo {

    0%,
    100% {
        opacity: 0;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-8px);
    }
}

.encabezado-laboratorio {
    position: relative;
}

.fila-titulo-laboratorio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fila-titulo-laboratorio h2 {
    margin: 0;
}

.cientifica-laboratorio {
    width: 150px;
    height: auto;
    object-fit: contain;

}

.frase-laboratorio {
    color: #C9D2E3;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 12px;
}

.separador-laboratorio {
    width: 100%;
    height: 2px;
    margin: 25px 0;
    background: linear-gradient(90deg,
            transparent,
            #18D8E0,
            #A66CFF,
            transparent);
    box-shadow: 0 0 10px rgba(24, 216, 224, 0.4);
}

.ficha-proyecto {
    padding: 25px;
    border: 1px solid rgba(166, 108, 255, 0.65);
    border-radius: 18px;
    background: linear-gradient(145deg, #25213D,
            #171B2D);
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 15px rgba(166, 108, 255, 0.10);
    margin-bottom: 30px;
}

.cabecera-proyecto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.numero-proyecto {
    color: #A66CFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.estado-proyecto {
    color: #18D8E0;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border: 1px solid rgba(24, 216, 224, 0.4);
    border-radius: 20px;
    background: rgba(24, 216, 224, 0.08);
}

.nombre-proyecto {
    color: #F3F4FA;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 10px;
    text-shadow: 0 0 12px rgba(166, 108, 255, 0.35);
}

.descripcion-proyecto {
    color: #C9D2E3;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 50px;
    margin-left: 25px;
    margin-right: 25px;

}

.galeria-proyecto {
    margin-top: 20px;
}

.btn-imagen-principal {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(24, 216, 224, 0.4);
    border-radius: 14px;
    overflow: hidden;
    background: #101522;
    cursor: pointer;
}

.btn-imagen-principal img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: contain;
}

.contenido-proyectos {
    width: 94%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    /* overflow-y: auto; */
    box-sizing: border-box;
}


.ver-galeria {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #F3F4FA;
    font-size: 17px;
    font-weight: 800;

    background: rgba(16, 21, 34, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-imagen-principal:hover .ver-galeria {
    opacity: 1;
}

.miniaturas-galeria {
    display: none;
    /*permanecen ocultas al cargar*/
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;

}

.miniatura img {
    display: block;
    width: 100%;
    height: 100;
    object-fit: cover;
    /*rellena el espacio y recorta lo q sobra*/
    display: block;
}

.miniatura:hover {
    /* transform: translateY(-5px); */
    /* border-style: inset;*/
    border-width: 3px;
    border-color: #18D8E0;
    box-shadow: 0 0 8px rgba(24, 216, 224, 0.3);
}

/* Al hacer clic */
.miniatura:active {
    transform: translateY(2px);
}

/* Cuando queda seleccionada */
.miniatura.seleccionada {
    transform: translateY(-2px);
    border-color: #18D8E0;
    box-shadow: 0 0 12px rgba(24, 216, 224, 0.5);
}

.btn-imagen-principal.galeria-abierta .ver-galeria {
    opacity: 0;
    pointer-events: none;
}

.titulo-tecnologias {
    display: block;
    color: #18D8E0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.lista-tecnologias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.tecnologia {
    padding: 8px 14px;
    color: #E8EAF5;
    font-size: 14px;
    font-weight: 700;
    background: rgba(24, 216, 224, 0.08);
    border: 1px solid rgba(24, 216, 224, 0.3);
    border-radius: 20px;
    /* box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, 0.08),
        0 0 10px rgba(24, 216, 224, 0.08); */
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 5px;
}

.tecnologia:hover {
    color: #FFFFFF;
    background: rgba(24, 216, 224, 0.18);
    border-color: #18D8E0;
    /* box-shadow: 0 0 12px rgba(24, 216, 224, 0.3); */
    transform: translateY(-3px);
}

.titulo-funcionalidades {
    display: block;
    color: #18D8E0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-top: 50px;
}

.lista-funcionalidades {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lista-funcionalidades li {
    position: relative;
    padding: 12px 12px 12px 32px;
    color: #C9D2E3;
    font-size: 16px;
    line-height: 1.5;
    background: rgba(166, 108, 255, 0.07);
    border: 1px solid rgba(166, 108, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 2px;
}

.lista-funcionalidades li::before {
    content: "✦";
    position: absolute;
    left: 12px;
    color: #18D8E0;
    /* text-shadow: 0 0 8px rgba(24, 216, 224, 0.8); */
}

.titulo-galeria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    color: #18D8E0;
    font-size: 19px;
    font-weight: 700;
}

.enlace-proyecto {
    display: flex;
    justify-content: right;
    margin-top: 25px;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    color: #F3F4FA;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    background: linear-gradient(145deg, #39265D, #211936);
    border: 1px solid rgba(166, 108, 255, 0.6);
    border-radius: 12px;
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.12),
        0 4px 0 #171126,
        0 0 15px rgba(166, 108, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-github:hover {
    color: #FFFFFF;
    border-color: #18D8E0;
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.15),
        0 5px 0 #171126,
        0 0 18px rgba(24, 216, 224, 0.35);
    transform: translateY(-3px);
}

.ficha-pedidos {
    border-color: rgba(24, 216, 224, 0.5);

    background: linear-gradient(145deg,
            #203B4A,
            #182235);

    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.08),
        0 0 18px rgba(24, 216, 224, 0.10);
}

.miniatura {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.miniatura.seleccionada {
    transform: translateY(-5px);
    border-color: #18D8E0;
    box-shadow: 0 0 12px rgba(24, 216, 224, 0.5);
}


/* ===== BITÁCORA DEL PROYECTO ===== */

.bitacora-proyecto {
    margin-top: 25px;
    border: 1px solid rgba(166, 108, 255, 0.45);
    border-radius: 50px;
    background: linear-gradient(145deg, #25213D, #171B2D);
    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.06),
        0 0 15px rgba(166, 108, 255, 0.10);
    overflow: hidden;
}

/* Botón que abre y cierra la bitácora */

.btn-bitacora {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;

    color: #F3F4FA;
    text-align: center;

    background: linear-gradient(145deg, #49366F,
            #30244F 55%,
            #392A5D);

    border: 1px solid rgba(190, 151, 255, 0.8);

    border-radius: 50px;

    cursor: pointer;

    box-shadow:
        inset 0 10px 10px rgba(255, 255, 255, 0.25),
        inset 0 -20px 8px rgba(10, 5, 30, 0.3),
        0 5px 0 #211735,
        0 8px 15px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(166, 108, 255, 0.2);

    transition: all 0.25s ease;

}


.btn-bitacora:hover {
    /* border-color: #18D8E0;
    background: linear-gradient(145deg, #3B2D5D, #292044);
    box-shadow:
        inset 0 2px 7px rgba(255, 255, 255, 0.15),
        0 5px 0 #171126,
        0 0 20px rgba(24, 216, 224, 0.3);
    transform: translateY(-3px); */
    background: linear-gradient(145deg,
            #594185,
            #3D2D65 55%,
            #49356F);
    border-color: #18D8E0;

    box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.30),
        inset 0 -20px 14px rgba(10, 5, 30, 0.45),
        0 5px 0 #211735,
        0 6px 12px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(24, 216, 224, 0.18);

    transform: translateY(-2px);
}

.btn-bitacora:active {
    transform: translateY(3px);

    box-shadow:
        inset 0 3px 8px rgba(10, 5, 30, 0.3),
        inset 0 -2px 5px rgba(255, 255, 255, 0.12),
        0 2px 0 #211735;
}

/* Icono del cuaderno */

.icono-bitacora {
    font-size: 30px;
}

/* Título y subtítulo */

.texto-btn-bitacora {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.titulo-bitacora {
    color: #18D8E0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.subtitulo-bitacora {
    color: #C9D2E3;
    font-size: 16px;
    line-height: 1.5;
}

/* Flecha indicadora */

.flecha-bitacora {
    color: #18D8E0;
    font-size: 30px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(24, 216, 224, 0.7);
    transition: transform 0.3s ease;
}


.btn-bitacora:hover .flecha-bitacora {
    transform: translateX(4px);
}

.contenido-bitacora {
    position: relative;
    border-radius: 0 18px 18px 0;
    padding-left: 55px;
    padding-right: 30px;
    padding-top: 40px;
    /* background: linear-gradient(145deg,
            #34304B,
            #29263E 50%,
            #34304B); */
    background: linear-gradient(145deg,
            #49445F,
            #403B56 50%,
            #49445F);
    border-top: 1px solid rgba(166, 108, 255, 0.35);
    box-shadow:
        inset 0 0 25px rgba(166, 108, 255, 0.16),
        inset 0 2px 8px rgba(255, 255, 255, 0.10),
        inset 0 -8px 20px rgba(10, 5, 30, 0.55);
    margin-top: 20px;
}

.contenido-bitacora::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 25px;
    width: 12px;
    bottom: 25px;

    background: radial-gradient(circle,
            #101522 5px,
            transparent 6px);

    background-size: 12px 45px;
    background-repeat: repeat-y;

}

.titulo-historia {
    color: #F3F4FA;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}

.introduccion-bitacora {
    color: #E0DDF0;
    font-size: 20px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.texto-aprendizaje {
    color: #BFC8DC;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.lista-aprendizajes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 40px 0px;
}

.separador {
    margin: 0 10px;
}

.item-aprendizaje {
    padding: 18px;
    background: linear-gradient(145deg, #51466D,
            #403653 65%,
            #493D60);
    border: 1px solid rgba(190, 151, 255, 0.55);
    border-radius: 20px;
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.12),
        inset 0 -2px 5px rgba(20, 10, 40, 0.15),
        3px 5px 8px rgba(0, 0, 0, 0.35),
        0 0 10px rgba(166, 108, 255, 0.10),
        8px 9px 7px -5px rgba(0, 0, 0, 0.65);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    transform: rotate(-1deg);


}

.item-aprendizaje {
    position: relative;
}

/* .item-aprendizaje::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 90px;
    height: 90px;

    /* background: radial-gradient(ellipse at bottom right,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.35) 40%,
            transparent 75%); 
    background: radial-gradient(ellipse at 100% 100%,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.40) 40%,
            transparent 75%);
    border-radius: 50%;
    filter: blur(5px);
    z-index: 2;
    pointer-events: none;
} */

/* .item-aprendizaje>* {
    position: relative;
    z-index: 1;
} */

.nombre-aprendizaje {
    /* color: #18D8E0; */
    color: #0fc4d1;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(24, 216, 224, 0.25);
}

.descripcion-aprendizaje {
    color: #D0CDE0;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.personal {
    font-size: 16px;
    color: #F3F4FA;
}

.final-bitacora {
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.btn-bitacora-api {
    background: linear-gradient(145deg,
            #285263,
            #1C3D4D 55%,
            #23495A);

    border-color: rgba(24, 216, 224, 0.65);

    box-shadow:
        inset 0 5px 10px rgba(255, 255, 255, 0.50),
        inset 0 -15px 15px rgba(5, 20, 30, 0.90),
        0 5px 0 #122B37,
        0 8px 15px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(24, 216, 224, 0.15);
}

.btn-bitacora-api:hover {
    background: linear-gradient(145deg,
            #347187,
            #245365 55%,
            #2D6275);

    border-color: #18D8E0;

    box-shadow:
        inset 0 5px 12px rgba(255, 255, 255, 0.55),
        inset 0 -18px 16px rgba(5, 20, 30, 0.90),
        0 5px 0 #122B37,
        0 6px 12px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(24, 216, 224, 0.30);

    transform: translateY(-2px);
}

.btn-bitacora-api:active {
    transform: translateY(4px);
    box-shadow:
        0 5px 0 #122B37,
        0 8px 15px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(24, 216, 224, 0.15);
}

.contenido-bitacora-api {
    position: relative;
    padding: 25px 25px 25px 50px;
    background: linear-gradient(145deg,
            #405B6B,
            #354F60 50%,
            #405B6B);

    border-top: 1px solid rgba(24, 216, 224, 0.35);
    border-radius: 0 18px 18px 0;

    box-shadow:
        inset 0 0 25px rgba(24, 216, 224, 0.12),
        inset 0 2px 8px rgba(255, 255, 255, 0.16),
        inset 0 -8px 15px rgba(5, 20, 30, 0.25);

}

.encabezado-conexiones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(24, 216, 224, 0.30);
}

.titulo-conexiones {
    color: #8CEAF0;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding-left: 20px;
}

.numero-experimento {
    color: #AFC6D3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 10px;
    border: 1px solid rgba(24, 216, 224, 0.35);
    border-radius: 6px;
    background: rgba(24, 216, 224, 0.08);
}

.nota-conexion {
    position: relative;
    padding: 15px 18px;
    margin-bottom: 22px;

    background: rgba(255, 190, 145, 0.045);

    border: 2px solid rgba(255, 166, 125, 0.85);

    border-radius: 10px 30px 18px 0;

    box-shadow:
        inset 0 0 12px rgba(255, 166, 125, 0.10);
    /* 0 0 8px rgba(255, 166, 125, 0.35), */
    /* 0 0 20px rgba(255, 166, 125, 0.18); */
}


.numero-nota {
    display: block;
    /* ACÁ */
    text-align: left;
    color: #18D8E0;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}



.texto-nota {
    color: #E1EAF0;
    font-size: 20px;
    line-height: 1.8;
    margin: 0 0 12px;
}

.detalle-nota {
    display: block;
    /* color: #f19b55; */
    color: #E1EAF0;
    font-size: 18px;
    font-weight: 500;
    text-align: right;
    margin-bottom: 15px;
}

.comentario-nota {
    display: block;
    margin-top: 14px;
    /* color: #FFD18F; */
    color: #E1EAF0;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    text-align: right;
}

.texto-final-bitacora {
    font-size: 20px;
    line-height: 3pxpx;
}


/* VERDE - GET */
.borde-get {
    border-color: #49CC90;
    box-shadow:
        inset 0 0 12px rgba(73, 204, 144, 0.10),
        0 0 8px rgba(73, 204, 144, 0.35),
        0 0 20px rgba(73, 204, 144, 0.18);
    background: rgba(73, 204, 144, 0.07);
}

/* CELESTE - POST */
.borde-post {
    border-color: #61AFFE;
    box-shadow:
        inset 0 0 12px rgba(97, 175, 254, 0.10),
        0 0 8px rgba(97, 175, 254, 0.35),
        0 0 20px rgba(97, 175, 254, 0.18);

}

/* NARANJA - PUT */
.borde-put {
    border-color: #FCA130;
    box-shadow:
        inset 0 0 12px rgba(252, 161, 48, 0.10),
        0 0 8px rgba(252, 161, 48, 0.35),
        0 0 20px rgba(252, 161, 48, 0.18);
    background: rgba(252, 161, 48, 0.07);
}

/* ROJO - DELETE */
.borde-delete {
    border-color: #F93E3E;
    box-shadow:
        inset 0 0 12px rgba(249, 62, 62, 0.10),
        0 0 8px rgba(249, 62, 62, 0.35),
        0 0 20px rgba(249, 62, 62, 0.18);
    background: rgba(249, 62, 62, 0.07);
}

.contenido-bitacora {
    display: none;
}

/* Cuando la bitácora está abierta */
.bitacora-proyecto.abierta .contenido-bitacora {
    display: block;
}

.btn-cerrar-proyectos {
    padding: 13px 10px;
    color: #c5e4f3;
    font-size: 17px;
    font-weight: 700;
    /* letter-spacing: 0.5px; */

    background: linear-gradient(145deg,
            #8299A8,
            #7296ac 55%,
            #476880);
    border: 2px solid rgba(24, 216, 224, 0.65);
    border-radius: 12px;

    box-shadow:
        inset 0 3px 8px rgba(255, 255, 255, 0.16),
        inset 0 -5px 10px rgba(5, 20, 30, 0.90),
        0 4px 0 #0B1925,
        0 7px 12px rgba(0, 0, 0, 0.3);

    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cerrar-proyectos:hover {
    color: #FFFFFF;

    background: linear-gradient(145deg,
            #35DDE2,
            #278FA5 55%,
            #24566F);

    border-color: #8BFFFF;

    box-shadow:
        inset 0 3px 8px rgba(255, 255, 255, 0.3),
        inset 0 -5px 10px rgba(5, 20, 30, 0.65),
        0 4px 0 #0B1925,
        0 0 12px rgba(24, 216, 224, 0.65),
        0 0 22px rgba(24, 216, 224, 0.3);

    transform: translateY(-3px);
}

.btn-cerrar-proyectos:active {
    transform: translateY(3px);

    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 0 #0B1925;
}

/* MODAL DE LA RUTA */

.modal-ruta {
    transform: scale(0.7);
    /* se abre al 70% . JS lo puede expandir 
    visibility: visible;  */
}

.contenido-ruta {
    position: relative;
    width: 90%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 25px;

    background: #151719;
    color: #F3F3EF;

    border: 2px solid #20CFC0;
    border-radius: 25px;

    box-shadow:
        inset 0 0 35px rgba(245, 201, 40, 0.06),
        0 0 25px rgba(245, 201, 40, 0.18);
}

.contenido-ruta h2 {
    color: #F6C929;
    font-weight: 5px;
    /* text-shadow: 0 0 12px rgba(117, 230, 181, 0.45); */
}

.contenido-ruta .subtitulo {
    /* text-align: right; */
    color: #898587;
    font-size: 20px;
    /* font-weight: 3px; */
}

.modal-ruta.activo {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    /* background: rgba(255, 0, 0, 0.3); */
}

.velocimetro {
    width: 220px;
    height: 220px;

    margin: 30px auto;
    border-radius: 50%;

    background: #142B32;
    border: 5px solid #20CFC0;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow:
        0 0 12px rgba(32, 207, 192, 0.5),
        inset 0 0 18px rgba(32, 207, 192, 0.15);
    position: relative;
}

.velocimetro-interior {
    width: 185px;
    height: 185px;

    border-radius: 50%;

    background: linear-gradient(145deg,
            #1B3D43,
            #102329 70%);

    border: 2px solid #75E6B5;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow:
        inset 0 5px 12px rgba(255, 255, 255, 0.08),
        inset 0 -8px 15px rgba(0, 0, 0, 0.5);
}

.velocimetro-titulo {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #75E6B5;
}

.velocimetro-valor {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: #f1ecee;
    text-shadow: 0 0 12px rgba(117, 230, 181, 0.45);
}

.velocimetro-unidad {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #20CFC0;
}

.marcas-velocimetro {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: space-between;

    color: #75E6B5;
    /* color: #fa3a77; */
    font-size: 11px;
    font-weight: bold;
}

.marcas-velocimetro span {
    position: absolute;

    /* color: #75E6B5; */
    color: #f1ecee;

    font-size: 11px;
    /* font-weight: bold; */
}

.marcas-velocimetro span:nth-child(1) {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.marcas-velocimetro span:nth-child(2) {
    bottom: 55px;
    left: 30px;
}

.marcas-velocimetro span:nth-child(3) {
    top: 55px;
    left: 30px;
}

.marcas-velocimetro span:nth-child(4) {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.marcas-velocimetro span:nth-child(5) {
    top: 55px;
    right: 30px;
}

.marcas-velocimetro span:nth-child(6) {
    bottom: 55px;
    right: 30px;
}

.velocimetro::before {
    content: "";
    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 50%;
    border: 2px dashed #75E6B5;
    opacity: 0.45;
}

.aguja-velocimetro {
    position: absolute;
    width: 4px;
    height: 65px;
    /* background: #FF7FA8; */
    background: #fa3a77;
    border-radius: 5px;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: bottom center;
    box-shadow: 0 0 10px rgba(255, 127, 168, 0.7);
    transition: transform 1.5s ease-out;
}

.centro-aguja {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF7FA8;
    border: 3px solid #F3F8F7;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 127, 168, 0.7);
}

.modal-ruta.activo .aguja-velocimetro {
    transform: translateX(-50%) rotate(123deg);
}

.escala-velocimetro {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

.marca {
    position: absolute;
    width: 2px;
    height: 7px;
    background: #20CFC0;
    top: 0;
    left: 50%;
    transform-origin: center 80px;
}

.marca.principal {
    height: 12px;
    width: 3px;
    background: #75E6B5;
}

.marca:nth-child(1) {
    transform: translateX(-50%) rotate(-120deg);
}

.marca:nth-child(2) {
    transform: translateX(-50%) rotate(-100deg);
}

.marca:nth-child(3) {
    transform: translateX(-50%) rotate(-80deg);
}

.marca:nth-child(4) {
    transform: translateX(-50%) rotate(-60deg);
}

.marca:nth-child(5) {
    transform: translateX(-50%) rotate(-40deg);
}

.marca:nth-child(6) {
    transform: translateX(-50%) rotate(-20deg);
}

.marca:nth-child(7) {
    transform: translateX(-50%) rotate(0deg);
}

.marca:nth-child(8) {
    transform: translateX(-50%) rotate(20deg);
}

.marca:nth-child(9) {
    transform: translateX(-50%) rotate(40deg);
}

.marca:nth-child(10) {
    transform: translateX(-50%) rotate(60deg);
}

.marca:nth-child(11) {
    transform: translateX(-50%) rotate(80deg);
}

.marca:nth-child(12) {
    transform: translateX(-50%) rotate(100deg);
}

.marca:nth-child(13) {
    transform: translateX(-50%) rotate(120deg);
}



.actividades-ruta {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.actividad {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 22px;

    border-radius: 20px;

    background: rgba(85, 93, 98, 0.85);

    border: 2px solid #E0E3E3;

    box-shadow:
        inset 0 4px 15px rgba(255, 255, 255, 0.7),
        inset 0 -4px 5px rgba(0, 0, 0, 0.35),
        0 5px 12px rgba(0, 0, 0, 0.5);
}

.actividad.actividad-finalizada {

    border: 2px solid #C7B58B;


    background: linear-gradient(145deg,
            #350875 0%,
            #52118a 17%,

            #461078 75%,
            #260052 100%);

    box-shadow:
        inset 0 4px 15px rgba(210, 170, 255, 0.25),
        inset 0 -4px 8px rgba(15, 0, 35, 0.55),
        0 6px 14px rgba(0, 0, 0, 0.50);
}

.contenido-actividad h4 {
    position: relative;
    display: inline-block;
    margin: 10px 0 15px;
    padding: 10px 18px;
    background-color: #b695c0;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 10px;


    color: #1e0345;
    background: linear-gradient(135deg,
            #d9c5df 0%,
            #b695c0 45%,
            #9875a5 75%,
            #c5a9ce 100%);

    border: 2px solid #c08703;
    box-shadow: inset 0 4px 5px rgba(255, 255, 255, 0.16),
        inset 0 -2px 5px rgba(0, 0, 0, 0.40),
        5px 5px 12px rgba(0, 0, 0, 0.5);

}

.contenido-actividad p {
    position: relative;

    /* margin: 0 30px 30px; */
    padding: 25px;

    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1px;

    text-align: center;

    border-radius: 20px;

    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.65),
        inset 0 -3px 5px rgba(0, 0, 0, 0.12),
        0 5px 10px rgba(0, 0, 0, 0.4);

    background: linear-gradient(145deg,
            #d9c5df 0%,
            #b695c0 23%,
            #9875a5 77%,
            #c5a9ce 100%);

    color: #243746;

    border: 2px solid #E5D29A;
}

.parrafo-portfolio p {
    text-align: center;
    line-height: 1.5;
    letter-spacing: 1px;
    padding: 25px 30px;
    /* margin: 0 30px 25px; */
    font-weight: 400;
    color: #18122B;
    font-width: 300;

}


/* .estado-actividad {
    position: absolute;
    right: 30px;
    bottom: 95px;
    padding: 3px 5px;

    color: #0f0f0f;
    background-color: #F5C928;

    border: 2px solid rgba(9, 9, 9, 0.768);
    border-radius: 6px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;

    transform: rotate(-20deg);

} */

.btn-portfolio {
    display: inline-block;
    padding: 10px 12px;
    margin-top: 8px;

    background: linear-gradient(135deg,
            /* #d9c5df 0%, */
            #dab6e5 0%,

            #b695c0 30%,
            #9875a5 100%);
    color: #3b1748;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;

    border: 1px solid #716e31;
    border-radius: 10px;

    box-shadow:
        0 4px 0 #54246D,
        0 6px 12px rgba(30, 1, 70, 0.55),
        inset 0 3px 4px rgba(255, 255, 255, 0.75);

    transition: all 0.3s ease;
    text-align: right;
    /* text-transform: uppercase; */
}

.btn-portfolio:hover {
    box-shadow:
        0 7px 0 #54246D,
        0 10px 18px rgba(30, 1, 70, 0.65),
        inset 0 1px 4px rgba(255, 255, 255, 0.9);
    color: #FFFFFF;
    border-color: #F5C928;
    transform: translateY(-2px);
}

.btn-portfolio:active {
    transform: translateY(2px);

    box-shadow: 0 2px 0 #795584,
        0 3px 6px rgba(30, 1, 70, 0.3);
}


.separador-objetivo {
    width: 75%;
    margin: 22px auto;
    border: none;
    height: 1px;

    background: linear-gradient(to right,
            transparent,
            #858E92,
            #F5C928,
            #858E92,
            transparent);

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.estado-actividad-02 {
    display: inline-block;
    margin: 8px 0 15px;
    padding: 5px 12px;
    color: #26C6A0;
    background: rgba(129, 237, 212, 0.12);
    border: 1px solid #26C6A0;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* INICIO -----------------CURSO HTML-------------- */
.actividad.actividad-html {
    border-radius: 30px;

    background: linear-gradient(145deg,
            #286D91 0%,
            #16587f 30%,
            #2470a2 65%,
            #2972b3 100%);

    border: 2px solid #83DCE8;

    box-shadow:
        inset 0 4px 15px rgba(190, 245, 255, 0.20),
        inset 0 -4px 8px rgba(0, 20, 45, 0.45),
        0 5px 12px rgba(0, 20, 45, 0.50);
    padding-top: 10px;
    padding-bottom: 25px;
    /* margin-bottom: 30px; */
}


.actividad-curso-html .parrafos-curso-html {
    /* margin: 0 30px 30px; */
    padding: 40px 20px 1px;
    background: linear-gradient(145deg,
            #21daf3 0%,
            #08a3b4 20%,
            #358FC1 35%,
            #19e6ed 75%,
            #0abcc2 95%,
            #358FC1 100%);

    border: 2px solid #A7F5F5;
    border-radius: 20px;


    box-shadow:
        inset 0 3px 8px rgba(220, 255, 255, 0.55),
        inset 0 -4px 8px rgba(0, 65, 100, 0.30),
        0 5px 12px rgba(0, 35, 65, 0.35);
    margin-bottom: 20px;
}

.actividad-curso-html .parrafos-curso-html p {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #0b0c0c;
    font-weight: 500;

    margin: 0 0 0px;
    padding: 0;
    padding-bottom: 15px;
    margin-bottom: 15px;

    /* border-bottom: 1px solid rgba(38, 59, 56, 0.25); */
    line-height: 1.5;
}



.actividad-curso-html h4 {
    color: #203E53;
    border-radius: 10px;

    margin-top: 30px;
    background: linear-gradient(145deg,
            #DCE8EC,
            #A9C8D5,
            #78A5B9,
            #D2E1E7);

    border: 1px solid #DCE8EC;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.65),
        inset 0 -3px 4px rgba(0, 0, 0, 0.20),
        0 3px 7px rgba(0, 0, 0, 0.40);
}

.tecnologias-curso-html {
    display: inline-block;
    /* color: #D5EAF2; */
    color: #c2e7f6;

    font-weight: 500;
    letter-spacing: 1.5px;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65); */
}

.subtitulo-curso-html {
    display: inline-block;
    color: #123B59;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: 1px;
    /* text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55); */
}

.actividad-curso-html .parrafos-curso-html hr {
    border: none;
    height: 2px;
    margin: 18px 10px;

    background: linear-gradient(to right,
            transparent,
            rgba(18, 59, 89, 0.35),
            #B9D9E8,
            rgba(18, 59, 89, 0.35),
            transparent);
}

.estado-actividad-html {
    display: inline-block;
    /* margin-top: 10px; */
    /* margin-bottom: 5px; */
    padding: 5px 12px;

    letter-spacing: 1px;
    color: #02242e;
    background: linear-gradient(135deg,
            #62787b,
            #B8EAF2,
            #95a4a4);

    font-size: 16px;
    font-weight: 800;

    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        0 2px 5px rgba(0, 40, 65, 0.25);
}



/* INICIO-------------------------------------- CURSO INGLES-------------- */

.actividad.actividad-ingles {
    background: linear-gradient(145deg,
            #263F68,
            #142B4D,
            #1C385E,
            #102442);

    border: 2px solid #D6C477;

    box-shadow: inset 0 4px 15px rgba(255, 255, 255, 0.20),
        inset 0 -4px 5px rgba(0, 0, 0, 0.40),
        0 5px 12px rgba(0, 0, 0, 0.5);

}

.contenido-ingles h4 {
    color: #142B4D;

    background: linear-gradient(145deg,
            #B9E5F2,
            #65BBD5,
            #3185A8,
            #A6DCEB);

    border: 1px solid #D5F1F7;

    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.65),
        inset 0 -3px 4px rgba(0, 0, 0, 0.2),
        0 3px 7px rgba(0, 0, 0, 0.45);
}

.contenido-actividad.contenido-ingles .parrafos-curso-ingles {
    background: linear-gradient(145deg,
            #026198,
            #dbe6ef,
            #D2E0E9,
            #26679c);


    color: #102B45;

    border: 1px solid #8EAFC3;
    border-radius: 15px;

    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.75),
        inset 0 -3px 5px rgba(30, 55, 80, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
    /* margin-top: 30px; */

    padding: 50px 20px;
}

.contenido-actividad.contenido-ingles p {
    background: transparent;
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    box-shadow: none;
}

/* .parrafos-curso-ingles .p-inicial-ingles {
    margin-top: 20px;
} */

.actividad-ingles .parrafos-curso-ingles hr {
    border: none;
    height: 1px;
    margin: 18px 10px;

    background: linear-gradient(to right,
            transparent,
            rgba(16, 43, 69, 0.1),
            rgba(75, 145, 190, 0.3),
            rgba(16, 43, 69, 0.1),
            transparent);
}

.estado-actividad-ingles {
    display: inline-block;
    margin: 14px 0 5px 20px;
    padding: 5px 12px;

    color: #C5DCEB;
    background: rgba(15, 40, 68, 0.45);

    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    /* text-transform: uppercase; */

    border: 2px solid #D6C477;
}

.actividad-peluqueria {
    background: linear-gradient(145deg,
            #793D50,
            #542B3A,
            #683447,
            #3F202F);

    border: 2px solid #D8B7A5;
    border-radius: 2px 10px 10px 2px;


    box-shadow: inset 0 4px 15px rgba(255, 255, 255, 0.20),
        inset 0 -4px 5px rgba(0, 0, 0, 0.40),
        0 5px 12px rgba(0, 0, 0, 0.5);
}

.contenido-peluqueria h4 {
    color: #542B3A;

    background: linear-gradient(145deg,
            #F5DCD8,
            #D8AEB5,
            #C98798,
            #F0DCD0);

    border: 1px solid #F5DCD8;
    border-radius: 0 20px 0;

    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.65),
        inset 0 -3px 4px rgba(84, 43, 58, 0.20),
        0 3px 7px rgba(0, 0, 0, 0.45);
}

.contenido-peluqueria .texto-actividad {
    background: linear-gradient(145deg,
            #F0DCD0,
            #D8B7A5,
            #EBCFC8,
            #C99DA5);

    color: #542B3A;

    box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.55),
        inset 0 -5px 8px rgba(84, 43, 58, 0.20);

    border-radius: 0 20px 0;
    padding-bottom: 30px;
}

.contenido-peluqueria .texto-actividad p {
    background: transparent;
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    box-shadow: none;
}

.estado-peluqueria {
    display: inline-block;
    margin: 14px 0 5px 20px;
    padding: 5px 12px;

    color: #2f2f2f;
    background: rgba(230, 150, 179, 0.95);

    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    /* text-transform: uppercase; */

    border-bottom: 3px solid #D8B7A5;
    border-radius: 2px 10px 2px 10px;
}

.subtitulo-peluqueria {
    display: inline-block;
    color: #793D50;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-cerrar-ruta {
    /* width: 45px;
    height: 45px; */
    margin-top: 40px;
    /* margin-bottom: 5px; */
    padding: 5px 8px;
    margin-left: auto;
    margin-right: 0px;

    display: flex;
    align-content: center;
    align-items: center;

    /* background-color: rgb(139, 139, 23); */

    background-color: rgb(192, 192, 33);


    color: #101010;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    border: 2px solid #F8E5DC;
    border-radius: 5px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -3px 5px rgba(84, 43, 58, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.65);

    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cerrar-ruta:hover {

    background-color: rgb(235, 235, 72);

    color: #3621f6;
    border-color: #FFFFFF;

    box-shadow:
        inset 0 2px 7px rgba(255, 255, 255, 1),
        0 0 12px rgba(246, 243, 243, 0.55),
        0 1px 12px rgba(0, 0, 0, 0.65);

    transition: all 0.3s ease;
    transform: translateY(-4px);
}

.btn-cerrar-ruta:active {
    transform: translateY(4px);
    color: #0b0c0c;
    box-shadow:
        inset 0 2px 7px rgba(255, 255, 255, 1),
        0 0 12px rgba(246, 243, 243, 0.55),
        0 1px 12px rgba(0, 0, 0, 0.65);
}


/* ------------------- inicio HERRAMIENTAS---------------------- */

/* CONTENIDO GENERAL */
.contenido-herramientas {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 25px;
}

.contenido-herramientas .grupo-habilidades {

    margin-bottom: 0px;
}

/* CADA CATEGORÍA */
.grupo-herramientas {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CONTENEDOR DE FICHAS */
.lista-herramientas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-top: 25px;

}

.ficha-herramienta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 20px;
    min-width: 145px;

    background: linear-gradient(145deg,
            #25243b,
            #171a2c 65%,
            #20243a);

    border: 1px solid rgba(166, 108, 255, 0.45);
    border-radius: 12px;

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.12),
        inset 0 -3px 5px rgba(0, 0, 0, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.35);
}


.ficha-herramienta i {
    font-size: 23px;
    color: #35DDE2;

    filter: none;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4);
}

.ficha-herramienta span {
    color: #f0eafa;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;
}

.ficha-herramienta {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.ficha-herramienta:hover {
    border-color: #18D8E0;

    background: linear-gradient(145deg,
            #302c4b,
            #20243a 65%,
            #292d48);

    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.16),
        0 5px 12px rgba(0, 0, 0, 0.4),
        0 0 8px rgba(24, 216, 224, 0.18);
}

/* DESARROLLO */
.grupo-desarrollo h3 {
    color: #35DDE2;
}

/* DATOS Y SERVICIOS */
.grupo-datos h3 {
    color: #B695FF;
}

/* ENTORNO DE TRABAJO */
.grupo-entorno h3 {
    color: #FFAD66;
}

/* HABILIDADES PERSONALES */
.grupo-habilidades h3 {
    color: #80D6A0;
}

.grupo-desarrollo .ficha-herramienta i {
    color: #35DDE2;
}

.grupo-datos .ficha-herramienta i {
    color: #B695FF;
}

.grupo-entorno .ficha-herramienta i {
    color: #FFAD66;
}

.grupo-habilidades .ficha-herramienta i {
    color: #80D6A0;
}

.grupo-herramientas h3 {
    position: relative;
    width: fit-content;

    font-size: 23px;
    font-weight: 500;
    letter-spacing: 1.5px;

    /* padding-bottom: 55px; */
    margin: 0 auto;
    text-align: center;
}

.grupo-herramientas h3::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(90deg,
            transparent,
            currentColor,
            transparent);
    border-radius: 5px;
    opacity: 0.75;
}

.encabezado-herramientas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 30px 20px 40px;
    /* margin-bottom: 65px; */
}

.encabezado-herramientas h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #FEF08A;
}

.encabezado-herramientas p {
    margin: 0;
    max-width: 600px;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 2.5px;
    text-align: center;
}

.contenedor-btn-herramientas {
    display: flex;
    justify-content: center;
    padding: 0px 0 20px;
}

.btn-cerrar-herramientas {
    padding: 10px 18px;
    margin: 0px;
    background: linear-gradient(145deg, #39334b, #211f32);
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-cerrar-herramientas:hover {
    background: linear-gradient(145deg, #174B55, #211F32);
    border-color: #35DDE2;
    color: #35DDE2;
    box-shadow:
        0 0 8px rgba(53, 221, 226, 0.5),
        0 0 18px rgba(53, 221, 226, 0.2);
    transform: translateY(-4px);
}

.btn-cerrar-herramientas:active {
    transform: translateY(4px);
    background: linear-gradient(145deg, #39334b, #211f32);
    border: 2px solid #FFFFFF;
}

.lista-grupos-herramientas {
    display: flex;
    flex-direction: column;
    gap: 75px;
    padding: 25px;
}

/* Inventario oculto */
.modal-herramientas {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Inventario cuando se abre */
.modal-herramientas.activo {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Contenido preparado para el escaneo */
.contenido-herramientas {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
}

/* Revelado progresivo */
.modal-herramientas.activo .contenido-herramientas {
    animation: revelar-inventario 1.5s ease-out forwards;
}

@keyframes revelar-inventario {
    from {
        clip-path: inset(0 0 100% 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Línea luminosa del escáner */
.contenido-herramientas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(90deg,
            transparent,
            #35DDE2,
            #ffffff,
            #35DDE2,
            transparent);

    box-shadow: 0 0 12px #35DDE2, 0 0 25px #35DDE2;
    opacity: 0;
    pointer-events: none;
}

.modal-herramientas.activo .contenido-herramientas::after {
    animation: linea-escaner 1.5s ease-out forwards;
}

@keyframes linea-escaner {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 3px);
        opacity: 0;
    }
}

.contenido-herramientas {
    width: 80%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    /* overflow-y: auto; */
    box-sizing: border-box;
}

.contenido-herramientas>p {
    text-align: center;
    color: #D5D1E8;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 1px;
    padding: 20px 30px;
    margin: 15px auto 25px;
    max-width: 750px;
    border-top: 1px solid rgba(53, 221, 226, 0.35);
    border-bottom: 1px solid rgba(53, 221, 226, 0.35);
    text-shadow: 0 0 8px rgba(53, 221, 226, 0.15);
}