@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Righteous&family=Sofia+Sans+Condensed&family=Ubuntu:wght@300;400;500;700&family=Work+Sans:wght@100;200;300;400;600;800&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0;
    padding: 0;
}

html {
    /* Permite deslizar cuando hago click en los links del menu */
    scroll-behavior: smooth;
}

/* MENU */
.contenedor-header {
    background-color: #071A40;
    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: 50px;
    color: #1cb698;
    text-decoration: none;
}

.contenedor-header header ul {
    display: flex;
    margin-top: 15px;
    list-style: none;
}

.contenedor-header header nav ul li a {
    text-align: center;
    color: #fff;
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}

.contenedor-header header nav ul li a:hover {
    color: #1cb698;
}

.nav-responsive {
    background-color: #1cb698;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* SECCION INICIO */

.inicio {
    margin-top: 2rem;
    background-color: #021F59;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

.inicio .contenido-banner {
    padding: 20px;
    background-color: #071A40;
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
    margin-top: 5rem;
}

.inicio .contenido-banner img {
    margin-top: 20rem;
    border: 2px solid #1cb698;
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 50%;
}

.inicio .contenido-banner h1 {

    font-size: 42px;
    font-family: 'Righteous';
}

.inicio .contenido-banner h2 {
    font-size: 18px;
    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: #1cb698;
}

.sobremi {
    background-color: #071A40;
    color: #fff;
    padding: 50px 20px;
}

.sobremi .contenido-section {
    max-width: 1100px;
    margin: auto;
}

.sobremi h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.sobremi .contenido-section p {
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
}

.sobremi .contenido-section p span {
    font-size: 25px;
    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 .contenedor-intereses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sobremi .fila .col .contenedor-intereses .interes {
    width: 100px;
    height: 100px;
    background-color: #021F59;
    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 .fila .col .contenedor-intereses .interes span {
    text-align: center;
}

.sobremi button {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit 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%;
    color: #aaa;
}

a:link, a:visited, a:active {
    color: #fff;
    text-decoration:none;
}

/* SECCIÓN SKILLS */
.skills {
    background-color: #021F59;
    color: #fff;
    padding: 50px 20px;
}

.skills .contenido-section {
    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 .skills>span {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.skills .skill .barra-skill {
    height: 8px;
    width: 80%;
    background-color: #071A40;
    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: #1cb698;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
    top: -17px;
    right: -5px;
    font-size: 14px;
}

/* Estas clases se agregaran dinámicamente mediante javascript */
.skills .skill .javascript {
    width: 0%;
    animation: 2s javascript forwards;
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 60%
    }
}

.skills .skill .htmlcss {
    width: 0%;
    animation: 2s htmlcss forwards;
}

@keyframes htmlcss {
    0% {
        width: 0%;
    }

    100% {
        width: 80%
    }
}

.skills .skill .github {
    width: 0%;
    animation: 2s github forwards;
}

@keyframes github {
    0% {
        width: 0%;
    }

    100% {
        width: 75%
    }
}

.skills .skill .react {
    width: 0%;
    animation: 2s react forwards;
}

@keyframes react {
    0% {
        width: 0%;
    }

    100% {
        width: 50%
    }
}
/* .skills .skill .node {
    width: 0%;
    animation: 2s node forwards;
}

@keyframes node {
    0% {
        width: 0%;
    }

    100% {
        width: 50%
    }
} */

.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: 70%
    }
}

.skills .skill .creatividad {
    width: 0%;
    animation: 2s creatividad forwards;
}

@keyframes creatividad {
    0% {
        width: 0%;
    }

    100% {
        width: 50%
    }
}

.skills .skill .ingles {
    width: 0%;
    animation: 2s ingles forwards;
}

@keyframes ingles {
    0% {
        width: 0%;
    }

    100% {
        width: 70%
    }
}

/* SECCIOÓN CURRICULUM */
.curriculum {
    background-color: #071A40;
    color: #fff;
    padding: 50px 20px;
}

.curriculum .contenido-section {
    max-width: 1100px;
    margin: auto;
}

.curriculum h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.curriculum .fila {
    display: flex;
}

.curriculum .fila .col {
    
    width: 49%;
    padding: 0 20px;
}

.curriculum .fila .col h3 {
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.curriculum .fila .item {
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #1cb698;
    border-radius: 10px;
    background-color: #021F59;
    position: relative;
}

.curriculum .fila .item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.curriculum .fila .item .casa {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.curriculum .fila .item .fecha {
    display: block;
    color: #1cb698;
    margin-bottom: 10px;
}

.curriculum .fila .item p {
    line-height: 24px;
}

.curriculum .img-edu img{
    border: 2px solid #071A40;
    border-radius: 5px;
    box-shadow: 10px 5px 5px 5px black;
    margin-bottom: 2rem;
    width: 40%;
    height: 300px;
    /* object-fit:cover */
    
}

.curriculum .img-edu{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

/* SECCIÓN DE PORTFOLIO */

.portfolio {
    background-color: #021F59;
    color: #fff;
    padding: 50px 20px;
}

.portfolio .contenido-section {
    max-width: 1100px;
    margin: auto;
}

.portfolio h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.portfolio .galeria {
    padding: 50px;
    margin-bottom: 30px;
    border: 1px solid #1cb698;
    border-radius: 10px;
    background-color: #071A40;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio .galeria .proyecto {
    

    position: relative;
    max-width: 340px;
    height: fit-content;
}

.portfolio .galeria .proyecto img {
    
    border-radius: 10px;
    box-shadow: 10px 5px 5px black;
    margin-bottom: 10px;
    width: 100%;
    display: block;
}

.portfolio .galeria .proyecto .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #071a40a9;
    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;
}

.mobile{
    font-family: 'Righteous';
}

/* SECCION CONTACTO */

.contacto {
    background-color: #071A40;
    color: #fff;
    padding: 50px 0;
}

.contacto .contenido-section {
    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{
    margin-left: 2rem;
    display: block;
    width: 80%;
    padding: 18px;
    border: none;
    margin-bottom: 20px;
    background-color: #021F59;
    color: #fff;
    font-size: 18px;
}

.contacto button {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit 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%
}

/* Estamos ocultando el mailto */
#mailto {
    opacity: 0;
}

.contacto .col iframe {
    width: 80%;
}


/* FOOTER */

footer{
    background-color: #021F59;
    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;
}


/* SECCION RESPONSIVE */



@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: #071A40;
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;

    }
    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 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%;
    }
    .skills .fila .col .barra-skill{
        width:100%;
    }

    .curriculum .fila{
        display: block;
    }

    .curriculum .fila .col{
        width: 100%;
    }

    .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%;
    }

    .curriculum .img-edu img{
        width: 250px;
        height: 150px;
     }
    
    
}