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

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

html {
    scroll-behavior: smooth;
}

/* HEADER */

.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: 'Space Grotesk';
    font-size: 36px;
    color: aqua;
    text-decoration: none;
}

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

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

.contenedor-header header nav ul li a:hover {
    color: yellow;
}

.nav-responsive {
    background-color: aqua;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* INICIO */



.inicio {
    background: linear-gradient(to top, rgba(30, 35, 38, .8), rgba(30, 35, 38, 1)), url(imagenes/photo-1617042375876-a13e36732a04.jfif);
    background-size: cover;
    height: 115vh;
    color: white;
    display: flex;
    align-items: center;
}

.inicio .contenido-banner {
    padding: 20px;
    background-color: black;
    max-width: 400px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}

.inicio .contenido-banner img {
    margin-top: 40px;
    border: 8px solid aqua;
    display: block;
    width: 70%;
    margin: auto;
    border-radius: 100%;
}

.inicio .contenido-banner h1 {
    margin-top: 30px;
    font-size: 42px;
    font-family: 'Space Grotesk';
}

.inicio .contenido-banner h2 {
    font-size: 15px;
    font-weight: normal;
}

.inicio .contenido-banner .redes a {
    color: white;
    display: inline-block;
    text-decoration: none;
    border: 1px solid white;
    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: rgb(117, 117, 31);
}

/* SOBRE MI */

.sobreMi {
    background-color: rgb(27, 27, 27);
    color: white;
    padding: 50px 20px;
}

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


.sobreMi h2 {
    font-size: 40px;
    font-family: 'Space Grotesk';
    text-align: center;
    padding: 20px 0;
}

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

.sobreMi .contenido-seccion p span {
    color: aqua;
    font-weight: bold;
}


.sobreMi .fila {
    display: flex;
    justify-content: center;
}

.sobreMi .fila .col {
    width: 50%;
    margin: 30px 50px 40px 50px;
    border: 2px solid aqua;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 1px 1px 10px 2px aqua;
}

.sobreMi .fila #colIntereses {
    padding: 20px;
}


.sobreMi .fila .col h3 {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-family: 'Space Grotesk';
    margin-bottom: 25px;
}

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

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

.sobreMi .fila .col ul strong {
    display: inline-block;
    color: aqua;
    width: 130px;
}

.sobreMi .fila .col ul span {
    background-color: aqua;
    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: grey;
    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: rgb(170, 170, 46);
}

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

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

.sobreMi button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgb(1, 117, 117);
    z-index: -1;
    transition: .1s;
}

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

/* SKILLS */

.skills {
    background-color: #252A2E;
    color: white;
    padding: 50px 20px;
}

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

.skills h2 {
    font-size: 40px;
    font-family: 'Space Grotesk';
    text-align: center;
    padding: 20px 0;
}

.skills .fila {
    display: flex;
    justify-content: center;
}

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

.skills .fila .col h3 {
    font-size: 18px;
    font-family: 'Space Grotesk';
    margin-bottom: 25px;
}

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

}

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

.skills .skill .progreso {
    background-color: rgb(5, 199, 199);
    color: black;
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
}

.skills .skill .barra-skill span {
    position: absolute;
    height: 40px;
    width: 40px;
    background-color: aqua;
    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 .htmlcss {
    width: 0%;
    animation: 2s htmlcss forwards;
}

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

    100% {
        width: 90%;
    }
}


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

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

    100% {
        width: 85%;
    }
}

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

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

    100% {
        width: 70%;
    }
}

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

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

    100% {
        width: 65%;
    }
}

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

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

    100% {
        width: 60%;
    }
}

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

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

    100% {
        width: 70%;
    }
}

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

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

    100% {
        width: 80%;
    }
}

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

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

    100% {
        width: 70%;
    }
}

.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: 75%;
    }
}

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

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

    100% {
        width: 90%;
    }
}

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

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

    100% {
        width: 65%;
    }
}

/* CURRICULUM */

.sanjo {
    text-decoration: none;
    color: inherit;
}

.curriculum {
    background-color: #1e2326;
    color: white;
    padding: 50px 20px;
}

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

.curriculum h2 {
    font-size: 40px;
    font-family: 'Space Grotesk';
    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: 18px;
    font-family: 'Space Grotesk';
    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: aqua;
    font-size: 22px;
    font-weight: bold;
    display: block;
}

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

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

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

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

.curriculum .fila .item .conectori {
    height: 2px;
    background-color: aqua;
    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: aqua;
    float: right;
    position: relative;
    bottom: 4px;
}

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

/* PORTFOLIO */

.portfolio {
    background-color: #1e2326;
    color: white;
    padding: 50px 20px;
}

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

.portfolio h2 {
    font-size: 40px;
    font-family: 'Space Grotesk';
    text-align: center;
    padding: 20px 0;
}

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

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

.portfolio .galeria .proyecto .overlay {
    position: absolute;
    border: 2px solid black;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(0, 255, 255, .8), rgba(0, 255, 255, .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;
    box-shadow: 1px 1px 10px 2px aqua;
}

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

/* CONTACTO */

.contacto {
    background-image: url();
    background-color: #1e2326;
    color: white;
    padding: 50px 0;


}

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

.contacto h2 {
    font-size: 40px;
    font-family: 'Space Grotesk';
    text-align: center;
    padding: 20px 0;
}

.contacto .fila {
    display: flex;
    justify-content: center;
}

.contacto .col {
    width: 60%;
    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 white;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: white;
    position: relative;
    z-index: 10;
}

.contacto button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgb(1, 117, 117);
    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: aqua;
    display: inline-block;
    margin-right: 20px;
}

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

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


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

footer .redes a:hover {
    background-color: rgb(170, 170, 46);
}


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

.h-captcha {
    text-align: center;
}

/* 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: #252A2E;
        width: 180px;
    }

    nav.responsive ul {
        display: block !important;
    }

    nav.responsive ul li {
        border-bottom: 1px solid white;
        padding: 10px 0;
    }

    .sobreMi .fila .col {
        width: 100%;
        margin: 30px 10px 40px;
    }
}

@media screen and (max-width:700px) {
    .sobreMi .fila {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .sobreMi .fila .col {
        width: 100%;
        margin: 30px 10px 40px;
    }

    .sobreMi .fila .col ul li {
        display: flex;
        flex-direction: column;
    }

    .sobreMi .fila #colIntereses {
        padding: 10px;
    }

    #colMediaQueriesIntereses {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #colMediaQueriesIntereses .contenedor-intereses {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    #colMediaQueriesIntereses .intereses {
        margin: 10px;
    }


    .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: flex;

    }

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

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

    .contacto .fila {
        display: block;
    }

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

}