@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;
}
/* MENU */
.contenedor-header{
    background: linear-gradient(to right, black, black, darkred);
    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;
    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;
    transition: .5s;
    text-decoration: none;
}
.contenedor-header header nav ul li a:hover{
    color: #8d312c;
}
.nav-responsive{
    background-color: #8d312c;
    color:#fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

.contenedor-header header .redes {
    display: flex;
    width: 100px;
}

.contenedor-header header .redes a{
    color: #fff;
    display: flex;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    line-height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: .3s;
}


.contenedor-header header .redes a:hover{
    background: #131517;
}


/* 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/fondo.jpg);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.inicio .contenido-banner{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1)),url(img/fondo.jpg);
    padding: 30px;
    background-color: #1e2326;
    max-width: 350px;
    height: 520px;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
}

.inicio .contenido-banner img{
    display: block;
    width: 100%;
    margin: auto;
    height: 300px;
    border-radius: 40px;
} 
.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 25px;
    font-family: 'fantasy';
}
.inicio .contenido-banner h2{
    font-size: 15px;
    font-weight: normal;
    visibility: hidden;
    opacity: 0;
}
.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;
    visibility: hidden;
    opacity: 0;
}

.inicio .contenido-banner:hover h2 {
    opacity: 1;
    visibility: visible;
}

.inicio .contenido-banner:hover a{
    opacity: 1;
    visibility: visible;
}

.inicio .contenido-banner:hover img{
    transform: scale(1.15);
}

.inicio .contenido-banner .redes a:hover{
    background-color: #8d312c;
} 

/* sobre mi */
.sobremi{
    color: #fff;
    padding: 50px 20px;
}
.sobremi .contenido-seccion{
    max-width: 700px;
    margin: auto;
}
.sobremi .contenido-seccion .aboutButon{
    display: flex;
    width: 330px;
}

.sobremi .contenido-seccion .aboutButon button{
    height: 30px;
    width: 130PX;
}

.sobremi h2{
    font-size: 48px;
    font-family: 'fantasy';
    padding: 20px 0;
}




.sobremi .contenido-seccion p{
    font: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}
.sobremi .contenido-seccion p span{
    color: #8d312c;
    font-weight: bold;
}
.sobremi .fila{
    display: block;
}
.sobremi .fila .col
{
    width: 74%;

}
.sobremi .fila .col h3{
    font-size: 28px;
    font-family: 'fantasy';
    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: #8d312c;
    width: 130px;
}
.sobremi .fila .col ul li span{
    background-color: #8d312c;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}
.sobremi .fila .col .contenedor-intereses{
    display: flex;
    height: 120px;
}
.sobremi .fila .col .contenedor-intereses .interes{
    width: 100px;
    height: 120px;

    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 i{
    font-size: 30px;
    margin-bottom: 10px;
}
.sobremi button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: 60px;
    margin: 40px auto;
    padding: 5px ;
    font-size: 15px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.sobremi button a {
    text-decoration: none;
    color: #fff;
}

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

/* SECCION SKILLS */
.skills2{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1));
    color: #fff;
    padding: 50px 15px;

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

.skills2 h2{
    font-size: 48px;
    font-family: 'fantasy';
    padding: 20px 0;

}
.skills2 .fila{
    display: flex;
    flex-wrap: wrap;
    width: 800px;
}

:root{
    --border-fondo1:10px solid rgb(200, 108, 22);
    --border-fondo2:10px solid rgba(6, 22, 168, 0.3);
    --border-fondo3:10px solid rgb(183, 194, 29);
    --border-fondo4:10px solid rgba(28, 192, 192, 0.648);
    --border-fondo6:10px solid rgba(55, 162, 34, 0.956);
    --border-fondo7:10px solid rgb(196, 191, 191);
    --border1:10px solid rgb(247, 134, 28);
    --border2:10px solid rgb(5, 21, 170);
    --border3:10px solid rgb(233, 247, 37);
    --border4:10px solid rgba(36, 249, 249, 0.648);
    --border6:10px solid rgba(76, 221, 46, 0.956);
    --border7:10px solid rgb(255, 255, 255);
}



.skills2 .contenedor{
    height: 90px;
    overflow: hidden;
    margin: 30px 30px;
}
.skills2 .contenedor .progreso{
    border-radius: 50%;
    height: 190px;
    width: 190px;
    position: relative;
    color: #fff;
    text-align: center;
}
.skills2 .contenedor .pro-1{
    border: var(--border-fondo1);
    color: rgb(247, 134, 28);
}
.skills2 .contenedor .pro-2{
    border: var(--border-fondo2);
    color: rgb(5, 21, 170);
}
.skills2 .contenedor .pro-3{
    border: var(--border-fondo3);
    color: rgba(233, 247, 37);
}
.skills2 .contenedor .pro-4{
    border: var(--border-fondo4);
    color: rgb(36, 249, 249, 0.648);
}
.skills2 .contenedor .pro-6{
    border: var(--border-fondo6);
    color: rgba(76, 221, 46, 0.956);
}
.skills2 .contenedor .pro-7{
    border: var(--border-fondo7);
    color: rgba(255, 255, 255);
}

.skills2 .progreso h1{
    font-family: "fantasy";
    margin-bottom:-37px ;
    font-size: 16px ;
}
.skills2.progreso h1,h2{
    margin-top: 18px;
}
.skills2 .progreso h2{
    font-size: 30px;
    font-family: "fantasy";
}
.skills2 .progreso .circle{
    border-radius: 50%;
    height: 190px;
    width: 190px;
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(-125deg);
}
.skills2 .circle1{
    border-top: var(--border1);
    border-left: var(--border1);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar1 1s linear forwards;
    animation-delay: 1s;
}
.skills2 .circle2{
    border-top: var(--border2);
    border-left: var(--border2);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar2 1s linear forwards;
    animation-delay: 2s;
}
.skills2 .circle3{
    border-top: var(--border3);
    border-left: var(--border3);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar3 1s linear forwards;
    animation-delay: 3s;
}
.skills2 .circle4{
    border-top: var(--border4);
    border-left: var(--border4);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar4 1s linear forwards;
    animation-delay: 3s;
}
.skills2 .circle6{
    border-top: var(--border6);
    border-left: var(--border6);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar6 1s linear forwards;
    animation-delay: 3s;
}
.skills2 .circle7{
    border-top: var(--border7);
    border-left: var(--border7);
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    animation:  rotar7 1s linear forwards;
    animation-delay: 3s;
}

/* 45 - 100 */
@keyframes rotar1{
    100%{
        transform: rotate(-15deg);
    }
}
@keyframes rotar2{
    100%{
        transform: rotate(-15deg);
    }
}
@keyframes rotar3{
    100%{
        transform: rotate(-20deg);
    }
}
@keyframes rotar4{
    100%{
        transform: rotate(-15deg);
    }
}
@keyframes rotar6{
    100%{
        transform: rotate(-35deg);
    }
}
@keyframes rotar7{
    100%{
        transform: rotate(-45deg);
    }
}

/* SECCION CURRICULUM */
.curriculum{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1));
    color: #fff;
    padding: 50px 20px;
}
.curriculum .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.curriculum h2{
    font-size: 48px;
    font-family: 'fantasy';
    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: 'fantasy';
    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: #8d312c;
    font-size: 22px;
    font-weight: bold;
    display: block;
}
.curriculum .fila .item .fecha{
    display: block;
    color: #8d312c;
    margin-bottom: 10px;
}
.curriculum .fila .item p{
    line-height: 24px;
}
.curriculum .fila .izq{
    border-right: 2px solid #8d312c;
    margin-right: 20px;
}
.curriculum .fila .der{
    border-left: 2px solid #8d312c;
    margin-left: 20px;
}
.curriculum .fila .item .conectori{
    height: 2px;
    background-color: #8d312c;
    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: #8d312c;
    float: right;
    position: relative;
    bottom: 4px;
}
.curriculum .fila .item .conectord{
    height: 2px;
    background-color: #8d312c;
    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: #8d312c;
    float: left;
    position: relative;
    bottom: 4px;
}
/* SECCION PORTFOLIO */
.portfolio{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1));
    color: #fff;
    height: 140vh;
    padding: 50px 20px;
}
.portfolio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.portfolio h2{
    font-size: 48px;
    font-family: 'fantasy';

}
.portfolio .galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    height: auto;
}
.portfolio .galeria .proyecto{
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}

.portfolio .galeria .proyecto .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 80%;
    text-align: center;
    /* background: linear-gradient(rgba(192, 191, 191, 0.8), rgba(190, 190, 190, 0.8)); */
    display: flex;
    flex-direction: column;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0;
}
.portfolio .galeria .proyecto .overlay h3{
    font-size: 20px;
    margin-bottom: 15px;
    transition: 1s;
}

.portfolio .galeria .proyecto video{
    border-radius: 10px;
}
.portfolio .galeria .proyecto .overlay a:hover{
    color: #8d312c;
}


.portfolio .galeria .proyecto .overlay:hover{
    opacity: 1;
}
.portfolio .galeria .proyecto .overlay:hover h3{
    margin-bottom: 0px;
}
.portfolio .galeria .proyecto .overlay a{
    font-size: 30px;
    transition: 1s;
    text-decoration: none;
    color: #fff;
    font-family: "fantasy";
}


footer{
    background-color: #1e2326;
    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: #8d312c;
    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: #252A2E;
        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: 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%;
    }
}
