@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;300;400;600;800&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}


html {
    /* me permite deslizar cuando hago clic en los links del menu */
    scroll-behavior: smooth;

}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/*POPUP*/
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: white;
    z-index: 4;
}

.popup-content {
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* MENU */

.contenedor-header {
    background: rgba(25, 29, 31, 0.8);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 99;

}


.contenedor-header .derecha {
    display: flex;
    flex-direction: column;
    align-items: center;

}

@media (min-width: 968px) {
    .contenedor-header .derecha {
        align-items: flex-end;
    }
}

.contenedor-header .barra {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.6rem;
    margin: -10px 0 -15px 0px;
    /* Esta propiedad se aplicará en dispositivos móviles */
}

@media (min-width: 968px) {
    .contenedor-header .barra {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding: 5px;
        margin: 0;
        /* Restablece el margen en dispositivos de escritorio */

    }
}

.contenedor-header .logo {
    padding-left: 4rem;
    transition: 0.3s ease;

}

.contenedor-header .logo:hover {
    transform: scale(1.1);

}

@media only screen and (max-width: 968px) {
    .contenedor-header .logo {
        padding-left: 0;
        /* Establece el padding a cero para dispositivos móviles */
    }
}

.contenedor-header .logo a {
    font-family: 'Righteous';
    font-size: 36px;
    color: #ffffff;
    text-decoration: none;

}

.contenedor-header .logo a span {
    font-family: 'Righteous';
    font-size: 40px;
    color: #00ffee;
    text-decoration: none;
    text-shadow: 0 0 25px #00ffee;
    ;
    ;

}

.contenedor-header .navegacion {

    visibility: hidden;
    opacity: 0;
    height: 0;
    transition: visibility .0s ease-in-out, opacity .5s linear, height .1s linear;
    margin-top: -25px;
}

@media (min-width: 968px) {
    .contenedor-header .navegacion {
        display: flex;
        align-items: center;
        opacity: 1;
        visibility: visible;
        margin-bottom: 5rem;
    }
}

.contenedor-header .navegacion {
    margin-bottom: 1rem;
    padding: 2rem;
    margin: -10px -35px;

}

.contenedor-header .navegacion a {
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    color: white;
    cursor: pointer;

    @media (max-width: 967px) {
        border-bottom: 1px solid #fff;
        box-sizing: border-box;
    }

    @media (min-width: 968px) {
        margin-right: 1rem;
        font-size: 1rem;

        .contenedor-header .navegacion a:last-of-type {
            margin-right: 0;
        }
    }
}



.contenedor-header .navegacion a:hover {
    color: #1CB698;
    border-bottom: 3px solid #1CB698;
    /* Ajusta el padding según sea necesario */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Ajusta los valores de la sombra según sea necesario */
    margin-top: 1px;
    /* Ajusta el margen superior para dar profundidad */
}

.contenedor-header .navegacion a.activo {
    color: white;
    background-color: #0d0e0f;
    padding: 0.1rem 0.3rem;
    /* Ajusta el padding según sea necesario */
    border-radius: 0.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Ajusta los valores de la sombra según sea necesario */
    margin-top: 2px;
    /* Ajusta el margen superior para dar profundidad */
}


.contenedor-header .mobile-menu {
    display: block;

    img {
        width: 2rem;
    }
}

@keyframes vibrar {
    0% {
        transform: translateX(-1px);
    }

    50% {
        transform: translateX(1px);
    }

    100% {
        transform: translateX(-1px);
    }
}

@media (min-width: 968px) {
    .contenedor-header .mobile-menu {
        display: none;
    }
}

.contenedor-header .navegacion.mostrar {
    visibility: visible;
    opacity: 1;
    height: auto;
    padding-top: 20px;

}




/* SECCION I N I C I O */

.inicio {
    background: linear-gradient(to top, rgba(30, 35, 38, .8), rgba(30, 35, 38, 1)), url('../img/fondo2.webp');
    background-size: cover;
    height: 140vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem 6rem 2rem;
    margin: auto;
    gap: 15rem;

}

#contenido-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Para que no interfiera con la interacción del usuario */
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
}

.inicio .box {
    position: absolute;
    background: linear-gradient(rgba(67, 67, 67, 0), rgba(26, 26, 26, 0.5)), url(../img/fondo2.webp);
    opacity: 0.6;
    pointer-events: none;
    transition: filter 0.1s ease; /* Suaviza los cambios de filtro */
    /* Sombra oscura */
}

.home-content,
.home-img {
    position: relative;
    /* Para asegurarse de que el contenido esté por encima del glitch */
    z-index: 2;
}

@media (max-width: 1079px) {
    .inicio .box {
        display: none;
        /* Oculta las cajas de glitch en pantallas pequeñas */
    }
}

.inicio .home-content {
    bottom: 3rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1e23263e;
    /* Fondo semitransparente */
    padding: 0rem 1rem 1rem 2rem;
    /* Espaciado interno */
    border-radius: 12px;
    /* Esquinas redondeadas */
    z-index: 2;
}

.inicio .home-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.inicio .home-content h1 span {
    color: #00ffee;
}

.inicio .home-content h3 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 2.5rem;
}



.responsive-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    /* Ajusta esto al tamaño máximo deseado */
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.inicio .home-img {
    border-radius: 50%;
    z-index: 2;

}

.inicio .home-img img {
    position: relative;
    bottom: 4rem;
    right: 8rem;
    width: 30vw;
    border-radius: 50%;
    box-shadow: 0 0 25px #00ffee;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    animation: float2 6s ease-in-out infinite;

}

.inicio .home-img img:hover {
    box-shadow: 0 0 25px #00ffee,
        0 0 50px #00ffee,
        0 0 100px #00ffee;
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.inicio .home-content p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.inicio .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: #1e2326ca;
    border: 2px solid #00ffee;
    font-size: 2.5rem;
    border-radius: 50%;
    color: #00ffee;
    margin: 1rem 1.5rem 1.8rem 0;
    transition: 0.3s ease-in-out;
    text-decoration: none;

}

.inicio .social-icons a i {
    color: white;
    font-size: 1.5rem;
}

.inicio .social-icons a:hover {
    color: white;
    transform: scale(1.3)translate(-5px);
    box-shadow: 0 0 25px #00ffee;
    background-color: #00ffee;
}


.inicio .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    /* Reduce el relleno */
    background: #00ffee;
    box-shadow: 0 0 25px #00ffee;
    border-radius: 4rem;
    font-size: 18px;
    /* Reduce el tamaño de la fuente */
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    margin: 0px 170px 0 0px;
    /* Reduce el margen */
}


.inicio .btn:hover {
    transform: scale(1.05);
    background: #000000bd;
    box-shadow: 0 0 25px #00000000;
}



.inicio .text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    position: relative;

}


.inicio .text-animation span {
    position: relative;
    display: inline-block;
}

.txt-blink {
    color: #00ffee;
}

.wrap-blink {
    border-right: 0.1em solid #00ffee;
    animation: blink-blink 0.8s step-end infinite; /* Renombrada */
}

@keyframes blink-blink { /* Nueva animación específica */
    from,
    to {
        border-color: transparent;
    }
    20% {
        border-color: #00ffee;
    }
}
/* 
.inicio .text-animation span::before {
    content: "Web desarrollador";
    color: #00ffee;
    animation: words 20s infinite;
}

.inicio .contenedor-fondo {
    padding: 0px 0px 0px 12px !important;
    margin: 5px;
    border-radius: 8px;
}


.inicio .text-animation span::after {
    content: "";
    background-color: #1e2326;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid #080808;
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to {
        border-left: 2px solid #00ffee;
    }
}

@keyframes words {

    0%,
    20% {
        content: "Developer";
    }

    21%,
    40% {
        content: "Backend Dev";
    }

    41%,
    60% {
        content: "Frontend Dev";
    }

    61%,
    80% {
        content: "Desarrollador";
    }

    81%,
    100% {
        content: "Programador";
    }
}

@keyframes typing {

    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 8px);
    }
} */


@media screen and (max-width: 968px) and (min-width: 739px) {
    .inicio {
        padding: 30rem 6% 0rem 6rem;

    }

    .inicio .home-content h3 {
        font-size: 1rem;
    }

    .inicio .home-content {

        display: flex;
        justify-content: left;
        background-color: #1e232600;
        padding: 0rem 0rem 2rem 2rem;
        margin: 0 0px 0 0;
        border-radius: 12px;
        z-index: 3;
        bottom: 16rem;
        left: 2rem;

    }

    .inicio .home-content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .inicio .home-content p {
        max-width: 800px;
        font-size: 0.7rem;
        text-align: left;
    }

    .social-icons {
        display: inline-flex;
        margin: 0rem 4rem 1rem 0;
    }

    .inicio .social-icons a {
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
        margin: 0px 5px 4px 5px;

    }

    .inicio .social-icons a i {
        justify-content: left;
        color: white;
        font-size: 1rem;
    }

    .inicio .home-img {
        bottom: 12rem;
        right: 2.5rem;
    }

    .inicio .home-img img {
        position: relative;
        width: 18vw;
        border-radius: 50%;
        box-shadow: 0 0 25px #00ffee;
        cursor: pointer;
        transition: 0.4s ease-in-out;
    }


    .inicio .btn {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: 10px;
        letter-spacing: 0.1rem;
        font-weight: 600;

        margin: 2px 101px 0 0px
    }
}


@media(max-width: 740px) {
    .inicio {
        flex-direction: column-reverse;
        margin: 0;
        justify-content: center;
        align-items: center;
    }

    .inicio .home-content {
        bottom: 3rem;
        right: 0rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #1e2326b7;
        /* Fondo semitransparente */
        padding: 0rem 1rem 1rem 2rem;
        /* Espaciado interno */
        border-radius: 12px;
        /* Esquinas redondeadas */
        z-index: 2;
    }


    .inicio .home-content h3 {
        font-size: 1rem;
        text-align: center;
    }

    .inicio .home-content h1 {
        text-align: center;
        font-size: 2rem;
        margin-top: 3rem;
    }

    .inicio .home-content p {
        font-size: 0.9rem;
        max-width: 300px;
        text-align: center;
    }

    .inicio .home-img {
        top: 15rem;
        left: 8.5rem;
    }

    .inicio .home-img img {
        position: relative;
        width: 56vw;
        border-radius: 50%;
        box-shadow: 0 0 25px #00ffee;
        cursor: pointer;
        transition: 0.4s ease-in-out;
    }

    .inicio .social-icons {
        text-align: center;
        margin: 0 0 0 0;

    }

    .inicio .social-icons a {
        width: 3rem;
        height: 3rem;
        margin: 3px 10px 10px 0;
    }


    .inicio .btn {
        display: inline-block;
        padding: 0rem 1.8rem;
        background: #00ffee;
        box-shadow: 0 0 25px #00ffee;
        border-radius: 4rem;
        font-size: 17px;
        color: black;
        border: 2px solid transparent;
        letter-spacing: 0.1rem;
        font-weight: 600;
        transition: 0.3s ease-in-out;
        cursor: pointer;
        text-align: center;
        margin: 0 0 0 0;

    }
}

.fondo-negro {
    background-color: black;
    /* Establece el color de fondo en negro */
    padding: 10px;
    /* Añade relleno alrededor del texto para que se vea mejor */
    display: inline-block;
    /* Permite que el fondo se aplique solo al área ocupada por el texto */
}

.botonCopiar {
    padding: 0.5rem;
    border: none;
    background-color: #1CB698;
    font-family: 'Righteous';
}

.botonCopiar:hover {
    background-color: #0c594a;
}



.sobremi {
    background-color: #1e2326;
    color: #fff;
    padding: 80px 20px;
    position: relative;
    z-index: 3;


}

@media (min-width: 968px) {

    .sobremi {
        background-color: #1e2326;
        color: #fff;
        padding: 25px 20px;
        z-index: 3;


    }
}

.sobremi .contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

/* keys */
.sobremi h2 {
    color: #1CB698;
    font-size: 48px !important;
    font-family: 'Righteous' !important;
    text-align: center !important;
    padding: 20px 0 !important;

}

.static-text {
    color: white;
    padding: 20px 0;
    font-family: 'Righteous' !important;
}

/* Media query para dispositivos móviles */
@media screen and (max-width: 768px) {
    .static-text {
        font-size: 30px;
    }
}

.left-bracket,
.right-bracket {
    color: #1CB698;
    font-size: 48px;
    animation: opacity 2s infinite;
}

@keyframes opacity {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}



.sobremi .contenido-seccion p {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}

.sobremi .contenido-seccion p span {
    color: #1CB698;
    font-weight: bold;
}

.sobremi .fila {
    display: flex;
}

.imagen-container {
    position: relative;
    width: 100%;
    /* Utiliza porcentaje para hacerlo responsive */
    max-width: 600px;
    /* Máximo de 500px */
    margin: 0 auto;
    /* Centra horizontalmente */
    overflow: hidden;
    border-radius: 1rem;
}


.meme {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    /* filter: blur(10px); */
    /* Aplica desenfoque inicial */
    /* transition: filter 0.5s ease, opacity 0.5s ease; */
    /* Transición para el filtro y la opacidad */
    /* opacity: 1;  */
    /* Asegura que la imagen sea inicialmente visible */
}

.hidden {
    display: none;
}

#toggleButton {

    display: inline-block;
    outline: none;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 5px;
    height: 36px;
    line-height: 34px;
    font-size: 14px;
    color: #ffffff;
    background-color: #1CB698;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    padding: 0 18px;
    margin: 5px -2px;
}

#toggleButton:hover {
    color: #ffffff;
    background-color: #117b66;
}

.meme.oculto {
    opacity: 0;
    /* Oculta la imagen */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.5s ease;
    /* Transición para la opacidad */
    z-index: 1;
    /* Asegura que el overlay esté por encima de la imagen */
    opacity: 1;
    /* Asegura que el overlay sea inicialmente visible */
}

.overlay.oculto {
    opacity: 0;
    /* Oculta el overlay */
}

.overlay span {
    font-size: 0.7rem;
}

@media (min-width: 768px) {
    .overlay span {
        font-size: 1.3rem;
        z-index: 2;
        /* Ajusta según sea necesario para asegurar que el texto esté por encima del overlay */
    }

}

.meme-vista {
    width: 100%;
    /* Utiliza porcentaje para hacerlo responsive */
    height: auto;
    border-radius: 1rem;
}


.sobremi .fila .col {
    width: 50%;
}

.sobremi .fila .col h3 {
    font-size: 25px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.sobremi .fila .col ul {
    list-style: none;
}

.sobremi .fila .col ul li {
    margin: 12px 0;
}

.sobremi .fila .col ul li strong {
    display: inline-block;
    color: #1CB698;
    width: 130px;
}

.sobremi .fila .col ul li span {
    background-color: #1CB698;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}

.sobremi .fila .col .contenedor-intereses {
    display: flex;
    flex-wrap: wrap;
}

.sobremi .fila .col .contenedor-intereses .interes {
    width: 100px;
    height: 100px;
    background-color: #252A2E;
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.sobremi .fila .col .contenedor-intereses .interes:hover {
    background-color: #1CB698;
}

.sobremi .fila .col .contenedor-intereses .interes i {
    font-size: 30px;
    margin-bottom: 10px;
}


/* SECCION S K I L L S */
.skills {
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}

.skills .contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

.skills h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}

.skills .fila {
    display: flex;
}

.skills .fila .col {
    width: 50%;
    padding: 0 20px;
}

.skills .fila .col h3 {
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

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

.skills .skill .fa-brands.fa-js {
    color: yellow;
    font-size: 30px;
    text-shadow: 0 0 12px black;
}

.skills .skill .fa-brands.fa-html5 {
    color: orangered;
    font-size: 30px;
    margin-right: 10px;
    text-shadow: 0 0 12px black;
}

.skills .skill .fa-brands.fa-css3-alt {
    color: rgb(56, 209, 236);
    font-size: 30px;
    text-shadow: 0 0 12px black;
}

.skills .skill .fa-brands.fa-sass {
    color: rgb(238, 133, 192);
    font-size: 30px;
    text-shadow: 0 0 12px black;
}

.skills .skill .fa-solid.fa-photo-film {
    color: rgb(236, 188, 56);
    font-size: 30px;
    text-shadow: 0 0 12px black;
}

.skills .skill .fa-brands.fa-php {
    color: rgb(79, 93, 149);
    font-size: 35px;
    text-shadow: 0 0 12px rgb(0, 0, 0);
}

.skills .skill .fa-solid.fa-c {
    color: rgb(0, 115, 150);
    font-size: 20px;
    text-shadow: 0 0 12px rgb(0, 0, 0);
}



.skills .skill .fa-solid.fa-database {
    color: rgb(224, 189, 142);
    font-size: 30px;
}

.skills .skill .fa-brands.fa-node-js {
    color: rgb(57, 188, 122);
    font-size: 30px;
}

.skills .skill .fa-brands.fa-react {
    color: rgb(80, 180, 225);
    font-size: 30px;
}


.skills .skill .fa-brands.fa-laravel {
    color: rgb(232, 76, 58);
    font-size: 30px;
}

.skills .skill .fa-brands.fa-symfony {
    color: rgb(255, 255, 255);
    font-size: 30px;
}

.skills .skill .fa-brands.fa-angular {
    color: rgb(234, 29, 29);
    font-size: 30px;
}

.skills .skill .fa-brands.fa-docker {
    color: rgb(59, 171, 241);
    font-size: 30px;
}

.python-img {
    position: relative;
    top: -7px;
}

.csharp {
    position: relative;
    top: -7px;
}

.node {
    position: relative;
    top: -3px;
}

.mongo {
    position: relative;
    top: -7px;
}

.vue {
    position: relative;
    top: -7px;
}

.jquery {
    position: relative;
    top: -7px;
}

.tailwind {
    position: relative;
    top: -7px;
}

.flask {
    position: relative;
    top: -7px;
    color: #fff;
}

.django {
    position: relative;
    top: -7px;
}

.typescript {
    position: relative;
    top: -7px;
}

.cordova {
    position: relative;
    top: -7px;
}

.linux {
    position: relative;
    top: -7px;
}

.skills .skill .barra-skill {
    height: 8px;
    width: 80%;
    background-color: #131517;
    position: relative;
    margin-bottom: 30px;
}

.skills .skill .progreso {
    background-color: #1CB698;
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
}

.skills .skill .barra-skill span {
    position: absolute;
    height: 40px;
    width: 40px;
    background-color: #177763;
    ;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
    top: -17px;
    right: -15px;
    font-size: 14px;
}

/* Estas clases se agregaran dinamicamente mediante javascript */
.skills .skill .javascript {
    width: 0%;
    animation: 2s javascript forwards;
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 55%;
    }
}

.skills .skill .htmlcss {
    width: 0%;
    animation: 2s htmlcss forwards;
}

@keyframes htmlcss {
    0% {
        width: 0%;
    }

    100% {
        width: 65%;
    }
}

.skills .skill .photoshop {
    width: 0%;
    animation: 2s photoshop forwards;
}

@keyframes photoshop {
    0% {
        width: 0%;
    }

    100% {
        width: 95%;
    }
}

.skills .skill .php {
    width: 0%;
    animation: 2s php forwards;
}

@keyframes php {
    0% {
        width: 0%;
    }

    100% {
        width: 81%;
    }
}

.skills .skill .c {
    width: 0%;
    animation: 2s c forwards;
}

@keyframes c {
    0% {
        width: 0%;
    }

    100% {
        width: 50%;
    }
}

.skills .skill .python {
    width: 0%;
    animation: 2s python forwards;
}

@keyframes python {
    0% {
        width: 0%;
    }

    100% {
        width: 50%;
    }
}

.skills .skill .mysql {
    width: 0%;
    animation: 2s mysql forwards;
}

@keyframes mysql {
    0% {
        width: 0%;
    }

    100% {
        width: 67%;
    }
}

.skills .skill .comunicacion {
    width: 0%;
    animation: 2s comunicacion forwards;
}

@keyframes comunicacion {
    0% {
        width: 0%;
    }

    100% {
        width: 80%;
    }
}

.skills .skill .trabajo {
    width: 0%;
    animation: 2s trabajo forwards;
}

@keyframes trabajo {
    0% {
        width: 0%;
    }

    100% {
        width: 85%;
    }
}

.skills .skill .creatividad {
    width: 0%;
    animation: 2s creatividad forwards;
}

@keyframes creatividad {
    0% {
        width: 0%;
    }

    100% {
        width: 99%;
    }
}

.skills .skill .dedicacion {
    width: 0%;
    animation: 2s dedicacion forwards;
}

@keyframes dedicacion {
    0% {
        width: 0%;
    }

    100% {
        width: 99%;
    }
}

.skills .skill .proyect {
    width: 0%;
    animation: 2s proyect forwards;
}

@keyframes proyect {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

.skills .skill .autodidacta {
    width: 0%;
    animation: 2s autodidacta forwards;
}

@keyframes autodidacta {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* SECCION CURRICULUM */
.curriculum {
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px;
}

.curriculum .contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

.curriculum h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}

.curriculum .fila {
    display: flex;
    justify-content: space-between;
}

.curriculum .fila .col {
    width: 100%;
    /* Cambia el ancho a 100% para que ocupe todo el espacio disponible */
    display: flex;
    /* Cambia el display a flex para alinear los elementos */
    align-items: center;
    /* Centra verticalmente los elementos dentro de la columna */
    flex-wrap: wrap;
    /* Permite que los elementos se envuelvan si no caben en una sola línea */
}





.curriculum .fila .col h3 {
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
    padding: 1rem;
    margin: auto;
}

.curriculum .fila .izquierda {
    border-right: 2px solid #252A2E;
}

.curriculum .fila .derecha {
    border-left: 2px solid #252A2E;
}

.curriculum .fila .item {
    padding: 25px;
    margin-bottom: 30px;
    background-color: #252A2E;
    position: relative;
}

.curriculum .fila .item h4 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.curriculum .fila .item .casa {
    color: #1CB698;
    font-size: 22px;
    font-weight: bold;
    display: block;
}

.curriculum .fila .item .fecha {
    display: block;
    color: #1CB698;
    margin-bottom: 10px;
}

.curriculum .fila .item p {
    line-height: 24px;
}

.curriculum .contenido-seccion p span {
    color: #1CB698;
    font-weight: bold;
}

.curriculum .fila .izq {
    border-right: 2px solid #1CB698;
    margin-right: 20px;
}

.curriculum .fila .der {
    border-left: 2px solid #1CB698;
    margin-left: 20px;
}

.curriculum .fila .item .conectori {
    height: 2px;
    background-color: #1CB698;
    width: 47px;
    position: absolute;
    top: 50%;
    right: -47px;
    z-index: 5;
}

.curriculum .fila .item .conectori .circuloi {
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #1CB698;
    float: right;
    position: relative;
    bottom: 4px;
}

.curriculum .fila .item .conectord {
    height: 2px;
    background-color: #1CB698;
    width: 47px;
    position: absolute;
    top: 50%;
    left: -47px;
    z-index: 5;
}

.curriculum .fila .item .conectord .circulod {
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #1CB698;
    float: left;
    position: relative;
    bottom: 4px;
}

.tabla {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: flex;
    /* Convertir la tabla en un contenedor flexible */
    align-items: flex-start;
    /* Alinear los elementos al principio del contenedor */
}

.tabla th,
.tabla td {
    font-weight: normal;
    vertical-align: top;
    padding: 8px;
}

.tabla th {
    width: 30%;
    /* Ancho fijo para la celda de la imagen */
}

.tabla td {
    width: 70%;
    /* Ancho fijo para la celda del párrafo */
    padding-left: 20px;
    /* Espacio a la izquierda del párrafo para separarlo de la imagen */
}

.tabla img {
    max-width: 100%;
    /* Establece el ancho máximo de la imagen al 50% del contenedor */
    margin-right: 20px;
    /* Agrega un margen a la derecha de la imagen para separarla del párrafo */
}


.contenedor-carrusel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-width: 70%;
    height: auto;
    margin: 50px auto 50px;

}

.contenedor-carrusel .carousel-control-prev,
.contenedor-carrusel .carousel-control-next {
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #ffffff;
    width: 100px;
    /* Ancho deseado */
    height: 100px;
    /* Altura deseada */
    margin: auto -105px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;

}

@media (max-width: 666px) {

    .contenedor-carrusel .carousel-control-prev,
    .contenedor-carrusel .carousel-control-next {
        position: absolute;
        width: 60px;
        /* Ancho deseado */
        height: 60px;
        /* Altura deseada */
        margin: 200px 5px auto;
        padding: 10px 22px;

    }
}

@media (max-width: 666px) and (min-width: 740px) {

    .contenedor-carrusel .carousel-control-prev,
    .contenedor-carrusel .carousel-control-next {
        position: absolute;
        width: 60px;
        /* Ancho deseado */
        height: 60px;
        /* Altura deseada */
        margin: 338px 5px auto;
        padding: 10px 22px;

    }
}


.contenedor-carrusel .carousel-indicators {
    margin: -60px;
}

@media (max-width: 968px) {
    .contenedor-carrusel .carousel-indicators {
        display: none;
    }
}


.modal-dialog {
    max-width: 90%;
    /* Ajusta el ancho máximo del modal */
}

.modal-content {
    width: 100%;
    /* Ajusta el ancho del contenido del modal */
    height: auto;
    /* Hace que la altura del contenido se ajuste automáticamente */
}

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

.modal-body img {
    max-width: none;
    /* Elimina el ancho máximo de la imagen */
    max-height: 130vh;
    /* Altura máxima igual al de la ventana */
}

@media only screen and (max-width: 768px) {
    .modal-body img {
        max-width: 110%;
        /* Ajusta el ancho máximo para que ocupe todo el ancho disponible */
        max-height: 90vh;
        /* Reduzca la altura máxima para adaptarse mejor a la pantalla del móvil */
    }
}





.curriculum button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1CB698;
    z-index: -1;
    transition: 1s;
}

.curriculum button:hover .overlay {
    width: 100%;
}

.curriculum .bt-descargar {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}

a.button-link {
    text-decoration: none;
    /* Elimina el subrayado del enlace */
}

/* SECCION PORTFOLIO */
.portfolio {
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}

.portfolio .contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

.portfolio .contenido-seccion p {
    text-align: center;

    span {
        color: yellow;
        background-color: #131517;
        border-radius: 0.5rem;
        padding: 0.5rem 0.5rem;
    }
}

.portfolio h2 {
    font-size: 48px !important;
    font-family: 'Righteous' !important;
    text-align: center !important;
    padding: 20px 0 !important;
}

.portfolio .galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio .galeria .proyecto {
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio .galeria .proyecto:hover {
    transform: scale(1.1);
    /* Ajusta el valor para cambiar el nivel de zoom */
}

.portfolio .galeria .proyecto.destacado::after {
    content: "Destacado ★";
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(10, 1, 1, 0.7);
    padding: 0.5rem;
    border-radius: 5px;
    color: yellow;
}

.portfolio .galeria .proyecto.superdestacado::after {
    content: "Super Destacado ★";
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(10, 1, 1, 0.7);
    padding: 0.5rem;
    border-radius: 5px;
    color: rgb(200, 149, 250);
    
}

.portfolio .galeria .proyecto.ajust-tam::after{
    top: 10px;
    left: 10px;
    background-color: rgba(10, 1, 1, 0.7);
    padding: 0.5rem;
    border-radius: 5px;
   
}



.portfolio .galeria .proyecto img {
    width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
    height: 100%; /* Asegura que ocupe toda la altura del contenedor */
    object-fit: cover; /* Ajusta la imagen para cubrir el área del contenedor */
    display: block; /* Elimina el espacio extra de imágenes en línea */
}


.portfolio .galeria .proyecto .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(28, 100, 182, 0.8), rgba(28, 182, 152, .8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0;
}

.portfolio .galeria .proyecto .overlay h3 {
    margin-bottom: 20px;
    transition: 1s;
    color: white;
}

.portfolio .galeria .proyecto .overlay:hover {
    opacity: 1;
    color: white;
}

.portfolio .galeria .proyecto .overlay:hover h3 {
    margin-bottom: 0px;
}

/* SECCION CONTACTO */
.contacto {
    background-image: url(../img/contact_bg.png);
    background-color: #1e2326;
    color: #fff;
    padding: 50px 0;
}

.contacto .contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

.contacto h2 {
    font-size: 48px !important;
    font-family: 'Righteous' !important;
    text-align: center !important;
    padding: 20px 0 !important;
}

.contacto .contenido-seccion p span {
    color: #1CB698;
    font-weight: bold;
}

.contacto .fila {
    display: flex;
}

.contacto .col {
    width: 50%;
    padding: 10px;
    position: relative;
}

.contacto .col input,
.contacto .col textarea {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    margin-bottom: 20px;
    background-color: #252A2E;
    color: #fff;
    font-size: 18px;
}

.contacto button {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.contacto button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1CB698;
    z-index: -1;
    transition: 1s;
}

.contacto button:hover .overlay {
    width: 100%;
}

.contacto .mapa {
    height: 400px;
    /* ajusta la altura según tus preferencias */
    margin-top: 20px;
    /* ajusta el margen superior según tus preferencias */
    border: 1px solid #ffffff;
    /* añade un borde para visualizar el contenedor */
    position: relative;
    z-index: 0;
    /* establece la posición en el eje Z */
}


.contacto .col .info {
    position: absolute;
    top: -150%;
    background-color: #ffffff;
    padding: 20px;
    max-width: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contacto .col .info ul {
    list-style: none;
}

.contacto .col .info ul li {
    margin-bottom: 20px;
}

.contacto .col .info ul li i {
    color: #1CB698;
    display: inline-block;
    margin-right: 20px;
}


footer {
    background-color: #252A2E;
    color: #fff;
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
    z-index: 2;
}

footer .redes {
    margin-bottom: 20px;
}

footer .redes a {
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}

footer .arriba {
    display: block;
    width: 50px;
    height: 50px;
    background-color: #1CB698;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
}

/* SECCION RESPONSIVE */


.sobremi .fila .col li {
    display: flex;
    align-items: center;
    /* Alinea verticalmente los íconos y el texto */
    padding: 5px 0;
    /* Añade espacio entre cada elemento de la lista */
    max-width: 90%;
    /* Limita el ancho máximo del texto */
    margin: 0 auto;
    /* Centra la lista en dispositivos móviles */
}

@media (max-width: 768px) {
    .sobremi .fila .col li {
        font-size: 14px;
        /* Reducir el tamaño del texto para dispositivos móviles */
        flex-wrap: wrap;
        /* Envuelve los elementos en dispositivos móviles si el contenido es demasiado largo */
    }
}

@media screen and (max-width:768px) {
    .sobremi .fila {
        display: block;
    }

    .sobremi .fila .col {
        width: fit-content;
    }

    .skills .fila {
        display: block;
    }

    .skills .fila .col {
        width: 100%;
    }

    .skills .fila .col .barra-skill {
        width: 100%;
    }

    .curriculum .fila {
        display: block;
    }

    .curriculum .fila .col {
        width: 90%;
    }

    .curriculum .fila .derecha {
        margin-left: 20px;
    }

    .portfolio .galeria {
        display: block;
        width: 100%;
    }

    .portfolio .galeria .proyecto {
        max-width: 100%;
    }

    .portfolio .galeria .proyecto img {
        width: 100%;
    }

    .contacto .fila {
        display: block;
        flex-wrap: wrap;
        /* Permite que los elementos se envuelvan en pantallas pequeñas */
    }

    .contacto .fila .col {
        width: 100%;
    }
}

.boton-omitir {
    text-decoration: none;
    font-weight: bold;
}

.boton-omitir:hover {
    color: #FF6600;

}

.animacion-hoverme::before {
    transform: scaleX(0);
    transform-origin: bottom right;
    
}

.animacion-hoverme:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.animacion-hoverme::before {
    content: " ";
    display: block;
    position: absolute;
    margin-left: -1rem;
    margin-right: -1rem;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0 0 0 0;
    background: #2c3134;
    z-index: -1;
    transition: transform .3s ease;
}

.animacion-hoverme {
    position: relative;
    font-size: 5rem;
}



:root {
    --neon-text-color: #f40;
    --neon-border-color: #08f;
}

.foco-led {
    font-size: 2.6rem;
    font-weight: 400;
    text-align: center;
    font-style: italic;
    color: #fff;
    padding: 1rem 0 0.5rem;
    border: 0.4rem solid #fff;
    border-radius: 2rem;
    text-transform: uppercase;
    margin: -40px 5rem 5.2rem 5rem;
    animation: flicker-led 1.5s infinite;
    will-change: text-shadow, box-shadow, opacity;
}

@media (max-width: 968px) {
    .foco-led {
        margin: -5px 3rem 5.2rem 3rem;
    }
}

.foco-led::-moz-selection {
    background-color: var(--neon-border-color);
    color: var(--neon-text-color);
}

.foco-led::selection {
    background-color: var(--neon-border-color);
    color: var(--neon-text-color);
}

.foco-led:focus {
    outline: none;
}

/* .neonText {
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #0fa,
    0 0 82px #0fa,
    0 0 92px #0fa,
    0 0 102px #0fa,
    0 0 151px #0fa;
  font-size: 2.5rem;
  margin-right: 1rem;
  margin-left: 3rem;
  position: relative;
  top: 220px; 
  opacity: 0.8;
  animation: flicker 1.5s infinite alternate;
  will-change: text-shadow, opacity;
} */

@keyframes flicker-led {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            -0.2rem -0.2rem 1rem #fff,
            0.2rem 0.2rem 1rem #fff,
            0 0 2rem var(--neon-text-color),
            0 0 4rem var(--neon-text-color),
            0 0 6rem var(--neon-text-color),
            0 0 8rem var(--neon-text-color),
            0 0 10rem var(--neon-text-color);
        box-shadow:
            0 0 0.5rem #fff,
            inset 0 0 0.5rem #fff,
            0 0 2rem var(--neon-border-color),
            inset 0 0 2rem var(--neon-border-color),
            0 0 4rem var(--neon-border-color),
            inset 0 0 4rem var(--neon-border-color);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        box-shadow: none;
    }
}

/* @keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px #0fa,
      0 0 80px #0fa,
      0 0 90px #0fa,
      0 0 100px #0fa,
      0 0 150px #0fa;
  }

  20%, 24%, 55% {
    text-shadow: none;
  }
} */

/* @media (max-width: 968px) {
  .foco-led, .neonText {
    display: none;
  }
} */

/* efecto movimiento */

.mensaje {
    display: inline-block;
    animation: desplazar 17s linear infinite;
    /* Duración y tipo de animación */
    padding-right: 45rem;
    /* Espacio entre palabras */
    text-shadow: 0 0 10px rgba(28, 182, 152, 0.8);
    /* Sombra de texto con efecto neon */
    white-space: nowrap;
    /* Asegura que el texto no se divida en varias líneas */
}



@keyframes desplazar {
    0% {
        transform: translateX(100%);
        /* Comienza fuera del borde derecho */
    }

    100% {
        transform: translateX(-100%);
        /* Termina fuera del borde izquierdo */
    }
}

.custom-link {
    color: #1CB698;
    text-decoration: none;
    font-weight: bold;
}

.custom-link:hover {
    color: #ff6347;
    /* Cambia este valor al color que desees para el hover */
}

/*sec cv*/




.sec-cv {
    background: linear-gradient(to top, rgba(30, 35, 38, .8), rgba(30, 35, 38, 1)),
        url(../img/fondo2.webp);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

.sec-cv embed {

    width: 480px;
    height: 485px;
    padding: 1rem;

}

@media (max-width: 968px) {

    .sec-cv embed {

        display: none;

    }
}

.sec-cv .contenido-banner {
    margin-right: 5rem;
    padding: 0.95rem;
    background-color: #1e2326;
    max-width: 350px;
    margin: 0.5rem auto 0.5rem;
    text-align: center;
    border-radius: 2rem;
    z-index: 2;
}



@media screen and (max-width: 768px) {
    .sec-cv .contenido-banner {
        margin: 1.5rem auto 0.5rem;
    }
}

@keyframes float {
    0% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }

    50% {
        box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
        transform: translatey(-20px);
    }

    100% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }
}

.sec-cv .contenido-banner img {
    margin-top: 40px;
    border: 10px solid #1CB698;
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;


}

.sec-cv .contenido-banner h1 {
    margin-top: 40px !important;
    font-size: 42px !important;
    font-family: 'Righteous' !important;
}



.sec-cv .contenido-banner h2 a {
    font-size: 15px !important;
    font-weight: normal !important;
}

.contenido-banner h2 a,
.sec-cv h2 a {
    color: #1CB698;
    text-decoration: none;
    font-weight: bold;
}

.contenido-banner h2 a:hover,
.sec-cv h2 a:hover {
    color: #FF6600;
}

.sec-cv .contenido-banner .redes a {
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 8px;
    font-size: 20px;
    transition: .3s;
}

.sec-cv .contenido-banner .redes a:hover {
    background-color: #1CB698;
}

#filtro {
    background-color: #1e1e1e;
    /* Fondo oscuro */
    color: #00ffff;
    /* Color de acento brillante */
    border: 1px solid #00ffff;
    /* Borde del color de acento */
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    /* Fuente moderna */
    font-size: 16px;
    border-radius: 5px;
    /* Bordes redondeados */
    transition: all 0.3s ease;
    /* Transición suave para el efecto hover */
}

#filtro:hover {
    background-color: #00ffff;
    /* Cambiar el fondo al pasar el mouse */
    color: #1e1e1e;
    /* Cambiar el color del texto al pasar el mouse */
}

#filtro option {
    background-color: #1e1e1e;
    /* Fondo oscuro para las opciones */
    color: #00ffff;
    /* Color de texto brillante para las opciones */
}