* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    
}

html{
    scroll-behavior: smooth;
}
#particles{
    position: fixed;
    z-index: -1;
    width: 100%;
  height: 100%;
  background-color: #000;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
#inicio{
    z-index: 2;
}


#icono-nav{display: none;color: #fff;}

#inicio .contenido header{
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
} 

.header{
    transition: .3s ease-in-out;
}
.scrolled{
    background: rgba(0, 0, 0, 0.9);
    transition: .3s ease-in-out;
}

a{
    text-decoration: none;
    color: #4b92cf;
}

#inicio .contenido header .contenido-header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
#inicio .contenido header .contenido-header img{
    width: auto;
    height: 45px;
    object-fit: cover;
    
}

#inicio .contenido header .contenido-header h1{
    text-align: center;
    color: #4b92cf;
    font-size: 26px;
}
#inicio .contenido header .contenido-header h1::first-letter{
    text-align: center;
    color: #ffffff;
}
#inicio .contenido header .contenido-header nav ul{
    list-style: none;
    display: flex;
    align-items: center;
}
#inicio .contenido header .contenido-header nav ul a{
    text-decoration: none;
    color: #ffffff;
    margin: 0 12px;
    font-weight: 400;
    transition: .2s;
    text-transform: uppercase;
    font-size: 17px;
}

#inicio .contenido header .contenido-header nav ul a:hover,#inicio .contenido header .contenido-header nav ul a.active{
    color: #4b92cf;
    font-size: 20px;
    transition: .2s;
}



#inicio .contenido header .contenido-header #social-media a{
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
    transition: .5s;
}
#inicio .contenido header .contenido-header #social-media a:hover{
    transition: .5s;
    color: #4b92cf;
}
#inicio .contenido header .contenido-header .seleccionado{
    color: #4b92cf;
}


#inicio .contenido .presentacion{
    max-width: 1100px;
    height: 100vh;
    margin: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#inicio .contenido .presentacion .bienvenida{
    font-size: 21px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

#inicio .contenido .presentacion h2{
    font-size: 55px;
    margin-bottom: 25px;
    text-align: center;
}

#inicio .contenido .presentacion h2 span{
    font-size: 29px;
    color: #4b92cf;
}

#inicio .contenido .presentacion .descripcion{
    max-width: 700vh;
    margin: 10px auto;
    font-size: 18px;
    text-align: center;
}
#inicio .contenido .presentacion a{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    outline: 2px solid white;
    border-radius: 2px;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    transition: .8s;
}
#inicio .contenido .presentacion a:hover{
    transition: .8s;
    opacity: .9;
    color: #4b92cf;
}
#icon-nav{
    color: #fff;
    display: none;
}
/* Divisor */

.dv{
    border-style: dotted none none;
    width: 8%;
    border-width: 0.64rem;
    border-color: #a0a0a0 ;
    margin: auto;
}
/* Divisor */

/* SECCION ABOUT ME */

#sobremi{
    max-width: 1100px;
    margin: auto;
    padding: 100px 15px;
    color: #111135;
    display: flex;
    background-color: transparent;
}

#sobremi .contenedor-foto{
    margin-right: 114px;
}
#sobremi .contenedor-foto img{
    padding:0;
    filter: grayscale(25%);
    width: 450px;
    border-radius: 20px;
    min-width: 140px;
    background-color: #f3f3f3;
}
#sobremi .sobremi{
    margin: 0 40px;
}
#sobremi .sobremi .titulo-selecion{
    font-size: 22px;
    text-transform: uppercase;
    color: #4a89c4;
    padding: 15px 0;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px ;
}

#sobremi .sobremi h2{
    font-size: 34px;
    color: #fff;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;

}
#sobremi .sobremi span {
    color: #4b92cf;
}
#sobremi .sobremi h3{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    color:#fff;
    letter-spacing: 1px;
}
#sobremi .sobremi p{
    font-size: 16px;
    line-height: 25px;
    color: #afafaf;
    margin-bottom: 12px;
}
#sobremi .sobremi a{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 2px;
    outline: 2px solid #ffffff;
    padding: 15px;
    margin-top: 30px;
    transition: .5s;
}
#sobremi .sobremi a:hover{
    color: #000;
    background-color: #ffffff;
    transition: .5s;
}

/* section services */
#servicios {
    padding: 100px 15px;
    text-align: center;
    background-color: #f3f3f3;
}

#servicios .titulo-seccion {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#servicios .fila {
    display: flex;
    justify-content: space-between;
    max-width: 1150px;
    margin: 30px auto;
}

#servicios .fila .servicio {
    max-width: 350px;
    background-color: #fff;
    padding: 30px;
    margin: 0 5px;
    border-radius: 5px;
    transition: .5s;
    cursor: pointer;
}

#servicios .fila .servicio:hover {
    box-shadow: 5px 5px 10px #565656, -5px -5px 10px #8a8a8a;
}

#servicios .fila .servicio .icono {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d3d3d3;
    padding: 20px;
    margin-bottom: 25px;
}

#servicios .fila .servicio h4 {
    font-size: 22px;
    margin-bottom: 25px;
}

#servicios .fila .servicio hr {
    width: 30%;
    margin: auto;
    color: #000;
    margin-bottom: 25px;
}

#servicios .fila .servicio ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

#servicios .fila .servicio p {
    font-size: 14px;
    line-height: 22px;
}

/* skills */

.contenedor-skils{
    background:linear-gradient(#4b92cf, rgba(16, 29, 33, 0.8)), url("../assets/img/skilss.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    text-align: center;
}   

.contenedor-skils .skill{
    max-width: 600px;
    margin: 30px auto;
}
.contenedor-skils .skill .info{
    display: flex;
    justify-content: space-between;
}

.contenedor-skils .skill .lista{
    display: inline-block;
    margin-right: 20px;
    width: 10px;
    height: 10px;
    background-color: #fff;
}

.contenedor-skils .skill .barra{
    background-color: #919191;
    width: 100%;
    height: 6px;
    margin: 10px 0  ;
}
.contenedor-skils .titulo-seccion{
    color: #fff;
    font-size: 22px;
}
.contenedor-skils .info{
    color: #fff;
}

.contenedor-skils .skill .barra-progreso1{
    background-color: #fff;
    width: 95%;
    height: 6px;
    animation: progreso1 2s forwards;
}
.contenedor-skils .skill .barra-progreso2{
    background-color: #fff;
    width: 90%;
    height: 6px;
    animation: progreso2 2s forwards;
}
.contenedor-skils .skill .barra-progreso3{
    background-color: #fff;
    width: 85%;
    height: 6px;
    animation: progreso3 2s forwards;
}
.contenedor-skils .skill .barra-progreso4{
    background-color: #fff;
    width: 80%;
    height: 6px;
    animation: progreso4 2s forwards;
}

/* animaciones */
@keyframes progreso1{
    0%{
        width: 0;
    }
    100%{
        width: 95%;
    }
}

@keyframes progreso2{
    0%{
        width: 0;
    }
    100%{
        width: 90%;
    }
}

@keyframes progreso3{
    0%{
        width: 0;
    }
    100%{
        width: 85%;
    }
}

@keyframes progreso4{
    0%{
        width: 0;
    }
    100%{
        width: 80%;
    }
}

/* portafolio */

#portfolio {
    max-width: 1500px;
    padding: 150px 0;
    margin: auto;
}

#port_a{
    text-decoration: none;
    color: #4b92cf;
}

#portfolio .titulo-seccion {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #858585;
    text-decoration-thickness: 5px;
}

#portfolio .fila {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

#portfolio .fila .proyecto {
    max-width: 380px;
    border: 1px solid #000;
    margin: 0 10px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

#portfolio .fila .proyecto img {
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    object-fit: cover;
    transition: .5s;
}
#portfolio .fila .proyecto  img:hover{
    transform: scale(1.05);
}
#portfolio .fila .proyecto:hover{
    transform: scale(1.05);
    transition: .5s;
}
#portfolio .fila .proyecto{
    transition: .5s;
}

#portfolio .fila .proyecto:hover img {
    filter: grayscale(0);
}

#portfolio .fila .proyecto .info {
    
    position: absolute;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #4b92cf;
    width: 100%;
    padding: 10px;
    opacity: 0;
    bottom: -40px;
    transition: .5s;
}

#portfolio .fila .proyecto:hover .info {
    opacity: 1;
    bottom: 0;
}
/* contacto */

#contact{
    padding: 100px 15px;
}
#contact .titulo-seccion{
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color:#d3d3d3 ;
    text-decoration-thickness: 5px;
    letter-spacing: 2px;
    
}

#contact .contenedor-form{
    max-width: 1100px;
    margin: auto;

}
#contact .contenedor-form .fila{
    margin-bottom: 15px;
    border-radius: 20px;
}

#contact .contenedor-form .mitad{
    display: flex;
    justify-content: space-between;
}
#contact .contenedor-form input,
#contact .contenedor-form textarea{
    padding: 20px;
    border-radius: 20px;
    border: none;
    border: 1px solid #919191;
}
#contact .contenedor-form .mitad input{
    width: 48%;
}

#contact .contenedor-form .input-full{
    width: 100%;
}
#contact .btn-enviar{
    display: block;
    margin: auto;
    cursor: pointer;
    transition: .5s;
    margin-top: 25px;
    padding: 10px 12px;
    font-size: 18px;
    font-weight: bold;
}
#contact .btn-enviar:hover{
    background-color: #4b92cf;
    color: #fff;
}
#contact{
    background-color: #f3f3f3;
}

/* footer */

footer{
    background-color: #000;
    padding: 30px 0;
    color: #fff;
    text-align: center;
    
}
footer p{
    color: #fff;
    
}
footer .redes a{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    margin: 5px;
    font-size: 26px;
}

/* responsive */
@media screen and (max-width:1096px){
    #sobremi .contenedor-foto img{
        width: 250px;
    }
    #sobremi .contenedor-foto {
        margin-right: 0;
    }
}


@media screen and (max-width:694px){
    #social-media{
        display: none;
    }

    nav {
        display: none;
    }
    nav.responsive{
        display: block;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        position: absolute;
        top: 48px;
        left: 0;
        padding: 10px 0;
    }
    nav.responsive ul {
        display: block !important;
        text-align: center;
    }
    nav.responsive ul li{
        margin: 5px 0;
    }
    #icono-nav{
        display: block;
    }
    #inicio .contenido .presentacion h2{
        font-size: 2.5rem;
        
    }
    #inicio{
        font-size: px;
    }
    #sobremi {
        padding: 50px 0;
        display: block;
    }
    #sobremi .contenedor-foto{
        max-width: 200px;
        margin: auto;
        display: flex;

        justify-content: center;
        margin-bottom: 40px;
        
    }
    #sobremi .contenedor-foto img{
        width: 200px;
        padding: 2px;
        
    }
    @media screen and (max-width:384px){
        .sobremi .contenedor-foto{
            width: auto;
        }
        #sobremi .contenedor-foto img{
            width: 200px;
            
        }
    }

    #sobremi .sobremi .titulo-seccion{
        text-align: center;

    }
    #sobremi .sobremi h2{
        font-size: 25px;
        text-align: center;
    }
    #servicios{
        padding: 50px 15px;

    }
    #servicios .fila{
        display: block;
    }
    #servicios .fila .servicio{
        margin: 10px auto;
    }
    #skills{
        padding: 50px 20px;
    }
    #portfolio{
        padding: 50px 0;
    }
    #portfolio .fila{
        display: block;
        
    }
    #portfolio .fila .proyecto{
        margin: 10px auto;
    }
    #contacto{
        padding: 50px 15px;
    }
    #contacto .contenedor-form .mitad {
        margin-bottom: 15px;
        display: block;
    }
    #contacto .contenedor-form .mitad input{
        width: 100%;
        margin-bottom: 15px;
    }
}


@media only screen 
                   and (max-device-height: 894px) 
                   and (orientation: landscape) {
    

                    #inicio .contenido .presentacion .bienvenida {
                        margin-top: 120px;
                    }
                    #sobremi .contenedor-foto{
                        max-width: 60%;
                        height: auto;
                        margin-right: 10px;
                        
                    }
                    #sobremi .contenedor-foto img{
                        max-width: 60%;
                        height: auto;
                    }

}