/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap');
*{
    padding: 0px;
    margin: 0px;
    font-family: 'Dosis', sans-serif;
    color: white;
}
/* header */
header{
    width: 100%;
    height: 100vh;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(100%, #1b262ccc), to(#1b262ccc)), url(../img/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
/* menu */
.navbar-nav{
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}
#navbarNav a{
    font-weight: 300;
    text-align: center;
    font-size: 25px;
    padding: 0px;
    opacity: 1;
    color: white;
}
#navbarNav a:hover{
    border-bottom: 1px white solid;
    transform: scale(1.1);
}
/* hero */
.hero{
    display:  flex;
    flex-direction: column;
    margin-top: 15%;
    width: 100%;
    align-items: center;
}
.hero img{
    width: 100%;
    padding-bottom: 80px;
}
.hero h1{
    text-align: center;
    font-size: 65px;
    padding-bottom: 20px;
    font-weight: 400;
}
.hero h2{
    text-align: center;
    font-size: 35px;
    padding-bottom: 20px;
    font-weight: 300;
}
.hero .redes a{
    font-size: 35px;
    padding: 0px 20px 0px 20px;
    opacity: .5;
    transition: .4s;
}
.hero .redes a:hover{
    opacity: 1;
}
/* body */
.body{
    width: 100%;
    display: flex;
    padding-top: 50px;
    padding-left: 20%;
    transition: 1s;
    margin-top: -100vh;
    justify-content: flex-end;
}
/* mostrar */
#mostrar{
    color: #888888;
    font-size: 50px;
    cursor: pointer;
    position:absolute;
    margin-top: 50px;
    left: 30px;
}
/* menuizq */
.sec-active{
    color: white;
    font-weight: 900;
}
.ocultar{
    transform: translatex(-1000px);
}
.menu-izq{
    position: sticky;
    padding: 40px 20px 20px 20px;
    margin: 0px!important;
    width: 20%;
    transition: 1s;
    height: 100vh;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(100%, #1b262ccc), to(#1b262ccc)), url(../img/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.menu-izq .redes a{
    font-size: 30px;
    padding: 0px 10px 0px 10px;
    opacity: .5;
    transition: .4s;
}
.menu-izq .redes a:hover{
    opacity: 1;
}
.menu-izq .redes{
    margin-top: 70px;
}
.menu-izq img{
    width: 80%;
    margin-bottom: 100px;
}
.menu-izq .menucent .nav-link{
    color: white;
    font-size: 30px;
}
.menu-izq .menucent .nav-link:hover{
    border-bottom: white 1px solid;
}
.menu-izq .bx-menu{
    font-size: 50px;
    position: absolute;
    cursor: pointer;
    right: 20px;
}
.menu-izq .menucent{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.menufix{
    position: fixed;
}
/* secciones */
.sections{
    width: 100%;
}
/* perfil */
.perfil{
    padding: 0px 50px 50px 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.perfil .textpe{
    width: 50%;
}
.perfil h2, .perfil p{
    color: #1b262c!important;
}
.perfil h2{
    font-size: 55px;
}
.perfil p{
    margin-top: 50px;
    font-size: 25px;
}
/* estudios */
.estudios{
    background-color: #1b262c;
    padding: 50px;
    text-align: center;
    color: white!important;
}
.conestudio{
    padding: 0px 100px;
}
.estudios h2{
    font-size: 55px;
    margin-bottom: 50px;
}
/* galestudio */
.gal-estudio .certificado{
    border: white 4px solid;
    padding: 20px;
    margin: 0px 50px;
    
}
.gal-estudio .certificado img{
    width: 100%;
    margin-bottom: 40px;
}
.gal-estudio .certificado p{
    font-size:30px;
    font-weight: 500;
    margin-bottom: 40px;
}
.gal-estudio .certificado a{
    font-size: 25px;
    color: white;
    text-decoration: none;
    border: white 1px solid;
    padding: 10px 40px;

}
/* habilidades */
.habilidades{
    padding: 50px;
}
.habilidades *{
    color: #1b262c!important;
}
.habilidades h2{
    font-size: 55px;
    text-align: center;
    margin-bottom: 50px;
}
.counter, .porci{
    font-size:25px;
    font-weight:bold;
    text-align:center;
}
.cuadroh{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.cuadroh h3{
    background-color: #1b262c;
    color: white!important;
    width: 100%;
    text-align: center;
    padding: 10px 0px;
}
.cuadroh .habilidad{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.programa{
    display: flex;
    align-items: center;
    padding: 30px;
    width: 100%;
    justify-content: space-around;
}
.numh{
    display: flex;
}
/* portafolio */
.portafolio{
    padding: 50px;
    background-color: #1b262c;
}
.portafolio h2{
    text-align: center;
    font-size: 55px ;
    margin-bottom: 50px;
}
.portafolio .nav-tabs{
    border: none;
}
.portafolio .nav{
    justify-content: center;
}
.portafolio .nav-link{
    border-radius: 0px;
    border: 1px white solid;
    width: 14%;
    color: white;
    font-size: 20px;
    font-weight: 500;
}
.portafolio .nav-tabs .nav-link.active{
    color: #1b262c;
    font-weight: 700;
    transition: .4s;
}
.portafolio .cuadrop{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.portafolio .cuadrop .itemp{
    width: 30%;
    margin: 25px 0px;
    text-align: center;
}
.portafolio .itemp{
    border: white 4px solid;
    padding: 20px;
    padding-bottom: 60px;
    margin: 0px 50px;
    
}
.portafolio .itemp img{
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}
.portafolio .itemp p{
    font-size:25px;
    font-weight: 500;
    margin-bottom: 40px;
}
.portafolio .itemp a{
    font-size: 25px;
    color: white;
    text-decoration: none;
    border: white 1px solid;
    padding: 10px 40px;

}
/* contacto */
.contacto{
    width: 100%;
    padding: 50px;
}
.contacto h2{
    font-size: 55px;
    color: #1b262c;
    margin-bottom: 50px;
    text-align: center;
}
.contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact .infoc{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: #1b262c 2px solid;
}
.contact .infoc img{
    margin-bottom: 50px;
}
.contact .infoc .redes a i{
    color: #1b262c!important;
    font-size: 35px;
    margin: 0px 20px;
}
.contact .form{
    width: 40%;
}
.contact .form label{
    font-size: 20px;
    color: #1b262c;
    font-weight: 500;
}
.contact .form input, textarea{
    width: 100%;
    background-color: white;
    border: solid 2px #1b262c;
    color: #1b262c;
    padding: 5px;
}
.contact .form  textarea{
    height: 200px;
}
.contact .form button{
    background-color: #1b262c;
    padding: 10px 50px;
    font-size: 20px;
    margin-top: 20px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
}
footer{
    background-color: #1b262c;
    width: 100%;
}
footer p{
    margin-bottom: 0px;
    text-align: center;
    font-size: 20px;
    padding: 10px 0px;
}






/* responsive design */
@media screen and (max-width:800px) {
    .navbar{
        background-color: #1b262c;
        position: fixed!important;
        width: 100%;
        z-index: 100000;
    }
    .hero{
        margin-top: 0px;
        padding-top: 25%;
    }
    .body{
        margin-top: 0px;
        padding: 0px;
    }
    .perfil h2, .perfil p{
        text-align: center;
    }
    .perfil .textpe{
    padding: 50px 0px;
    }
    .mostrarr{
        display: none;
    }
    .menu-izq{
        display: none;
    }
    #navbarNav a{
        padding: 10px 0px 10px 0px;
    }
    .cuadroh .habilidad{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .portafolio .cuadrop .itemp{
        width: 70%;
        margin: 25px 0px;
        text-align: center;
    }
    .portafolio .nav-link{
        width: auto;
    }
    .contact .form{
        width: 100%;
        margin-bottom: 50px;
    }
    .contact .infoc{
        width: 100%;
        border-left: none;
    }
}
@media screen and (max-width:620px) {
    .hero img{
        width: 50%;
    }
    .hero h1{
        font-size: 35px;
        padding-bottom: 10px;
    }
    .hero{
        padding-top: 55%;
    }
    .hero h2{
        text-align: center;
        font-size: 20px;
        padding-bottom: 10px;
    }
    .hero .redes a{
        font-size: 20px;
        padding: 0px 10px 0px 10px;
        opacity: .5;
        transition: .4s;
    }
    /* perfil */
    .perfil .textpe{
        width: 100%;
    }
    .perfil img{
        width: 100%;
    }
    .perfil h2{
        font-size: 45px;
    }
    .perfil p{
        margin-top: 20px;
        font-size: 25px;
    }
    /* .estudios */
    .conestudio{
        padding: 0px 0px;
    }
    .estudios{
        padding: 50px 0px;
    }
    .estudios h2{
        font-size: 45px;
        margin-bottom: 50px;
    }
    /* galestudio */
    .gal-estudio .certificado{
        border: white 4px solid;
        padding: 20px;
        margin: 0px 50px;
    }
    .gal-estudio .slick-prev, .gal-estudio .slick-next{
        display: none!important;
    }
    .gal-estudio .certificado img{
        width: 100%;
        margin-bottom: 40px;
    }
    .gal-estudio .certificado p{
        font-size:20px;
        font-weight: 500;
        margin-bottom: 40px;
    }
    .gal-estudio .certificado a{
        font-size: 20px;
        color: white;
        text-decoration: none;
        border: white 1px solid;
        padding: 5px 10px;
    }
    /* habilidades */
    .habilidades h2{
        font-size: 45px;
    }
    .habilidades {
        padding: 25px;
        padding-bottom: 50px;
    }
    /* portafolio */
    .portafolio .cuadrop .itemp{
        width: 100%;
    }
    .portafolio h2{
        font-size: 45px;
    }
    .portafolio .itemp p, .portafolio .itemp a{
        font-size:20px;
    }
    .portafolio .itemp{
        padding-bottom: 20px;
    }
    /* .contacto */
    .contacto h2{
        font-size: 45px;
    }
    .contact .infoc img{
        width: 80%;
    }
    .contact .infoc .redes a i{
        font-size: 25px;
        margin: 0px 10px;
    }
}