@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;
}
html{
    /* me permite deslizar cuando hago clic en los links del menu */
    scroll-behavior: smooth;
}
/* Respeta la preferencia del usuario de reducir animaciones */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
/* MENU */
.contenedor-header{
    background: #1e2326;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.contenedor-header header .logo a{
    font-family: 'Righteous';
    font-size: 36px;
    color: #1CB698;
    text-decoration: none;
}
.contenedor-header header ul{
    display: flex;
    list-style: none;
}
.contenedor-header header nav ul li a{
    text-align: none;
    color: #fff;
    margin: 0 15px;
    padding: 3px;
    border-bottom: 2px solid transparent;
    transition: .5s;
    text-decoration: none;
}
.contenedor-header header nav ul li a:hover{
    color: #1CB698;
}
.contenedor-header header nav ul li a.activo{
    color: #1CB698;
    border-bottom: 2px solid #1CB698;
}
.nav-responsive{
    background-color: #1CB698;
    color:#fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
/* 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/portada.jpg);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}
.inicio .contenido-banner{
    padding: 20px;
    background-color: #1e2326;
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}
.inicio .contenido-banner img{
    margin-top: 40px;
    border: 10px solid #1CB698;
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 100%;
}
.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 42px;
    font-family: 'Righteous';
}
.inicio .contenido-banner h2{
    font-size: 15px;
    font-weight: normal;
}
.inicio .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 5px;
    font-size: 20px;
    transition: .3s;
}
/* Entrada escalonada del hero al cargar la pagina */
@keyframes fadeInUp{
    from{ opacity: 0; transform: translateY(25px); }
    to{ opacity: 1; transform: translateY(0); }
}
.inicio .contenedor-img{
    opacity: 0;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .1s;
}
.inicio .contenido-banner h1{
    opacity: 0;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .3s;
}
.inicio .contenido-banner h2{
    opacity: 0;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .5s;
}
.inicio .contenido-banner .redes{
    opacity: 0;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .7s;
}
.inicio .contenido-banner .redes a:hover{
    background-color: #1CB698;
}
.sobremi{
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px;
}
.sobremi .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.sobremi h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}
.sobremi .contenido-seccion p{
    font: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}
.sobremi .contenido-seccion p span{
    color: #1CB698;
    font-weight: bold;
}
.sobremi .fila{
    display: flex;
}
.sobremi .fila .col
{
    width: 50%;
}
.sobremi .fila .col h3{
    font-size: 28px;
    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;
}
.sobremi 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;
}
.sobremi button .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1CB698;
    z-index: -1;
    transition: 1s;
}
.sobremi button:hover .overlay{
    width: 100%;
}
/* 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 .grupo-skills{
    margin-bottom: 22px;
}
.skills .grupo-skills h4{
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a9096;
    margin-bottom: 12px;
}
.skills .titulo-idiomas{
    margin: 30px 0 20px 0;
}
.skills .tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skills .tags .tag{
    background-color: #131517;
    border: 1px solid #1CB698;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}
.skills .tags .tag:hover{
    background-color: #1CB698;
    color: #1e2326;
}
.skills .tags .tag-idioma{
    text-align: center;
}
.skills .tags .tag-idioma small{
    display: block;
    font-size: 11px;
    font-weight: normal;
    color: #8a9096;
    margin-top: 2px;
}
.skills .tags .tag-idioma:hover small{
    color: #1e2326;
}
/* 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 .experiencia-laboral{
    margin-bottom: 45px;
}
.curriculum .experiencia-laboral h3{
    font-size: 28px;
    font-family: 'Righteous';
    text-align: center;
    margin-bottom: 20px;
}
.curriculum .item-laboral{
    background-color: #252A2E;
    border-left: 4px solid #1CB698;
    padding: 25px 30px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.curriculum .item-laboral:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.curriculum .item-laboral h4{
    font-size: 22px;
    margin-bottom: 6px;
}
.curriculum .item-laboral .casa{
    color: #1CB698;
    font-size: 20px;
    font-weight: bold;
    display: block;
}
.curriculum .item-laboral .fecha{
    display: block;
    color: #8a9096;
    margin-bottom: 15px;
}
.curriculum .item-laboral ul{
    list-style: none;
    line-height: 26px;
}
.curriculum .item-laboral ul li::before{
    content: "▸ ";
    color: #1CB698;
}
.curriculum .item-laboral .badge-actual{
    position: absolute;
    top: 25px;
    right: 30px;
    background-color: #1CB698;
    color: #1e2326;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.curriculum .fila{
    display: flex;
    justify-content: space-between;
}
.curriculum .fila .col{
    width: 49%;
    padding: 0 20px;
}
.curriculum .fila .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}
.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;
    transition: transform .3s ease, box-shadow .3s ease;
}
.curriculum .fila .item:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.curriculum .fila .item h4{
    font-size: 20px;
    margin-bottom: 10px;
}
.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 .fila .item .link-proyecto{
    margin-top: 12px;
    line-height: normal;
}
.curriculum .fila .item .link-proyecto a{
    color: #1CB698;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: .3s;
}
.curriculum .fila .item .link-proyecto a:hover{
    color: #fff;
}
.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;
    animation: pulso-punto 2.5s infinite;
}
.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;
    animation: pulso-punto 2.5s infinite;
}
@keyframes pulso-punto{
    0%{ box-shadow: 0 0 0 0 rgba(28,182,152,.6); }
    70%{ box-shadow: 0 0 0 10px rgba(28,182,152,0); }
    100%{ box-shadow: 0 0 0 0 rgba(28,182,152,0); }
}
/* SECCION PORTFOLIO */
.portfolio{
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}
.portfolio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.portfolio h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}
.portfolio .galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.portfolio .galeria .proyecto{
    position: relative;
    max-width: 250px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}
.portfolio .galeria .proyecto img{
    width: 100%;
    display: block;
}
.portfolio .galeria .proyecto .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(28,182,152,.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;
}
.portfolio .galeria .proyecto .overlay:hover{
    opacity: 1;
}
.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;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}
.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: 2px solid transparent;
    margin-bottom: 20px;
    background-color: #252A2E;
    color: #fff;
    font-size: 18px;
    transition: border-color .3s ease;
}
.contacto .col input:focus, .contacto .col textarea:focus{
    outline: none;
    border-color: #1CB698;
}
.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 .col img{
    width: 100%;
}
.contacto .col .info{
    position: absolute;
    top: 40%;
    background-color: #252A2E;
    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%;
}
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;
}
/* BOTON FLOTANTE VOLVER ARRIBA */
.back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1CB698;
    color: #1e2326;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .3s ease;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0,0,0,.35);
}
.back-to-top.mostrar{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover{
    background-color: #fff;
}

/* ANIMACIONES DE ENTRADA POR SCROLL */
[data-reveal]{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{
    opacity: 1;
    transform: translateY(0);
}
/* Los grupos de tags no se desplazan como bloque: sus hijos aparecen en cascada */
.tags[data-reveal]{
    opacity: 1;
    transform: none;
    transition: none;
}
.tags[data-reveal] .tag{
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s ease, transform .45s ease;
}
.tags[data-reveal].is-visible .tag{
    opacity: 1;
    transform: translateY(0);
}
.tags[data-reveal].is-visible .tag:nth-child(1){ transition-delay: .00s; }
.tags[data-reveal].is-visible .tag:nth-child(2){ transition-delay: .05s; }
.tags[data-reveal].is-visible .tag:nth-child(3){ transition-delay: .10s; }
.tags[data-reveal].is-visible .tag:nth-child(4){ transition-delay: .15s; }
.tags[data-reveal].is-visible .tag:nth-child(5){ transition-delay: .20s; }
.tags[data-reveal].is-visible .tag:nth-child(6){ transition-delay: .25s; }
.tags[data-reveal].is-visible .tag:nth-child(7){ transition-delay: .30s; }
.tags[data-reveal].is-visible .tag:nth-child(8){ transition-delay: .35s; }
/* La galeria del portafolio tampoco se desplaza como bloque: sus tarjetas aparecen en cascada */
.galeria[data-reveal]{
    opacity: 1;
    transform: none;
    transition: none;
}
.galeria[data-reveal] .proyecto{
    opacity: 0;
    transform: translateY(25px) scale(.96);
    transition: opacity .5s ease, transform .5s ease;
}
.galeria[data-reveal].is-visible .proyecto{
    opacity: 1;
    transform: translateY(0) scale(1);
}
.galeria[data-reveal].is-visible .proyecto:nth-child(1){ transition-delay: .00s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(2){ transition-delay: .06s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(3){ transition-delay: .12s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(4){ transition-delay: .18s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(5){ transition-delay: .24s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(6){ transition-delay: .30s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(7){ transition-delay: .36s; }
.galeria[data-reveal].is-visible .proyecto:nth-child(8){ transition-delay: .42s; }

/* SECCION RESPONSIVE */
@media screen and (max-width:980px){
    nav{
        display: block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: #252A2E;
        width: 180px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
    }
    .nav-responsive{
        display: block;
    }
    nav ul{
        display: block !important;
    }
    nav ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }
    nav.responsive{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}
@media screen and (max-width:700px){
    .sobremi .fila{
        display: block;
    }
    .sobremi .fila .col{
        width: fit-content;
    }

    .skills .fila{
        display: block;
    }
    .skills .fila .col{
        width: 100%;
        margin-bottom: 20px;
    }

    .curriculum .item-laboral{
        max-width: 100%;
    }
    .curriculum .item-laboral .badge-actual{
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
    .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;
    }
    .contacto .fila .col{
        width: 100%;
    }
}
