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

*{
    box-sizing: border-box;
    font-family: 'Work sans';
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}
html{
    /* me permet de faire défiler les pages lorsque je clique sur les liens du menu*/
    scroll-behavior: smooth;
}

/*MENU*/

.conteneur-header{
    background: #1e2326;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}

.conteneur-header header {
    max-width: 1100px;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.conteneur-header header .logo a{
    font-family: 'Righteous';
    font-size: 36px;
    color: #0B0DF5;
    text-decoration:none;
}

.conteneur-header header ul {
    display: flex;
    list-style: none;
}

.conteneur-header header nav ul li a {
    text-align: none;
    color: #fff;
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}

.conteneur-header header nav ul li a:hover{
    color: rgba(4, 25, 149, 0.653);
}

.nav-responsive{
    background-color: #0f0a998f;
    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(images/fondo.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 #302d6c;
 display: block;
 width: 80%;
 margin: auto;
 border-radius: 100%;
}

.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 42px;
    font-family: 'Righteous';
}

.inicio .contenid-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;
}

.inicio .contenido-banner .redes a:hover  {
    background-color: #0b2587b6;
} 

.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: #2D27EB;
    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: #2D27EB;
    width: 130px;
}

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

.sobremi .fila .col .contenedor-intereses{
    display: flex;
    flex-wrap: wrap;
}
.sobremi .fila .col .contenedor-intereses .intereses{
    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 .intereses:hover{
    background-color: #2D27EB;
}

.sobremi .fila .col .contenedor-intereses .intereses 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: #2D27EB;
    z-index: -1;
    transition: 1s;
}

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

/* SECCION S K I L L S*/

.skills{
    background-color: #1e2326;
    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 .barra-skill{
    height: 8px;
    width: 80%;
    background-color:  #131517;
    position: relative;
    margin-bottom: 30px;
} 

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

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

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

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

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


@keyframes htmlcss {
    0%{width: 0%;}
    100%{width: 85%;}
}
.skills .skill .NET{
    width: 0%;
    animation: 2s NET forwards;
}


@keyframes NET {
    0%{width: 0%;}
    100%{width: 75%;}
}

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


@keyframes Python {
    0%{width: 0%;}
    100%{width: 65%;}
}
.skills .skill .PHP{
    width: 0%;
    animation: 2s PHP forwards;
}


@keyframes PHP {
    0%{width: 0%;}
    100%{width: 60%;}
}
.skills .skill .C{
    width: 0%;
    animation: 2s C forwards;
}


@keyframes C {
    0%{width: 0%;}
    100%{width: 60%;}
}

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


@keyframes SQL {
    0%{width: 0%;}
    100%{width: 90%;}
}

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


@keyframes GITHUB {
    0%{width: 0%;}
    100%{width: 90%;}
}

/* Estas clases  DE PROFESIONAL SKILLS se agregaran dinamicamente mediante */


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


@keyframes Comunicacion {
    0%{width: 0%;}
    100%{width: 85%;}
}


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


@keyframes Tequipo {
    0%{width: 0%;}
    100%{width: 75%;}
}


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


@keyframes Creatividad {
    0%{width: 0%;}
    100%{width: 98%;}
}


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


@keyframes Dedicacion {
    0%{width: 0%;}
    100%{width: 85%;}
}

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


@keyframes PManagement {
    0%{width: 0%;}
    100%{width: 84%;}
}

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


@keyframes Wethic {
    0%{width: 0%;}
    100%{width: 84%;}
}
.skills .skill .Tmanagement{
    width: 0%;
    animation: 2s Tmanagement forwards;
}


@keyframes Tmanagement {
    0%{width: 0%;}
    100%{width: 84%;}
}


/* CONTENIDO 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: 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;
}

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

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

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

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

} 

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

.curriculum .fila .der{
    border-left: 2px solid #12297d;
    margin-left: 20px;
}
.curriculum .fila .item .conectori{
    height: 2px;
    background-color: #12297d;
    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: #12297d;
    float: right;
    position: relative;
    bottom: 4px;
}


.curriculum .fila .item .conectord{
    height: 2px;
    background-color: #12297d;
    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: #12297d;
    float: left;
    position: relative;
    bottom: 4px;
}


/* seccion portafolio */



#error-message, #error-message-email, #error-message-number, #error-message-phone{
    font-size: 16px;
    color: #f4efee;
    font-family: Arial, sans-serif;
}
#error-message, #error-message-email, #error-message-number, #error-message-phone{
    background-color: #252A2E;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
}

.portafolio{
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px ;
}

.portafolio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.portafolio h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.portafolio .galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 🔥 Esto centra los hijos */
    gap: 1rem;
}

.portafolio .galeria .proyecto{
    position: relative;
    max-width: 100%;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
    flex: 1 1 100%;
}

.portafolio .galeria .proyecto img {
    width: 100%;
    display: block;
    
}

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

.portafolio .galeria .proyecto .overlay h3{
    margin-bottom: 20px;
    transition: 0.5s;

}

.portafolio .galeria .proyecto .overlay:hover{
    opacity: 1;
}

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



/* SECCION CONTACTO */

.contacto{
    background-image: url(images/constacto.jpg);
    background-color: #081085;
    color: #090909;
    padding: 50px;
}

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

.contacto h2{
    font-size: 48px;
    margin: auto;
    color: #fff;
}

.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: none;
    margin-bottom: 20px;
    background-color: #252A2E;
    color: white;
    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: #3902c3;
    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;
    color: #fff;
    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: #100c7b;
    display: inline-block;
    margin-right: 20px;
    width: fit-content;
    left: 50%;
    transform:tranlate(-50%, -50%);
}
/* <!--FOOTER--> */
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: #173da7;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50px;
    line-height: 50px;
    font-size: 18px;
}

.infomap{
    width: 97%;
    height: 97%;
}

/* SECCION RESPONSIVE */



/* Media query desktop: 3 columnas */
@media (min-width: 1024px) {
   .portafolio .galeria {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 🔥 Cinco columnas iguales */
    gap: 1rem;
    justify-items: center;
  }

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

@media screen and (max-width:980px){
    nav{
        display: none;
    }
    .nav-responsive{
        display: block;
    }
    nav.responsive{
        display: block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: #252A2E;
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;
    }
    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }
    .portafolio .galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas iguales */
    gap: 1rem;
    justify-items: center; /* Centra los hijos dentro de cada columna */
  }

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


@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%;
    }

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

    .curriculum .fila .col{
        width: 90%;
    }
    .curriculum .fila .derecha{
        margin-left: 20px;
    }
    .contacto .fila{
        display: block;
    }
    .contacto .fila .col{
        width: 100%;
    }
    .portafolio .galeria {
    grid-template-columns: 1fr;
  }
}}