body{
    margin: auto;
    font-family: 'Raleway', sans-serif;
    background-color: #364954;
}

.bgGris{
    background-color: #364954;
    color: #e9e9e9;
}
.bgBlanco{
    background-color: #e9e9e9;
    color:#1e2428;
}

.margin-seccion{
    margin: 2rem 0;
    padding: 1rem 0;
}

.header{
    background-color: #364954;
}
.fixed-top{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
}
.barra{
    margin: auto;
    background-color: #2b3b45;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem 0;
    box-shadow: 1px 3px 3px #1b1b1b;
}
.barra img{
    max-width: 300px;
}

.navegacion{ 
   display: flex;
   flex-direction: column;
}
.navegacion a{
    text-align: center;
    display: block;
    color: #ffff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0.5rem;
    font-size: 1.4rem;
}

.navegacion a:hover{
   color: #ff8e00;
}

.contenedor-mobile-menu{
    display: flex;
    justify-content:right;
    padding: 1rem;
    background-color: #2b3b45;
}

.mobile-menu{
    padding: 0 1rem ;
    border-radius: 10px;
    background-color: #ff8e00;
    color: #f1f2f5;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    font-weight: 800;
    
}
.mobile-menu p{
    font-size: 1rem;
    text-shadow: 0 1px 3px #000;
}
.mr-1rem{
    margin-right: 0.5rem;
}

@media (min-width:678px){

    .header{
        padding: 1rem 2rem 3rem 2rem;
    }
    .contenedor-nav{
        display: none;
    }
    .barra{
        display: flex;
        justify-content: end; 
        align-items: center;
        flex-direction: row;
    }
    .navegacion{
        flex-direction: row;
        margin-right: 2rem;

    }
    .mobile-menu{
        display: none;
    }
}


.contenedor-presentacion{
    width: 90%;
    max-width: 900px;
    min-height: 75vh;
    margin: auto;
    margin-top: 2rem;
    padding: 1rem 0;
    background-color: #364954;
    display: flex;
    justify-content: center;
    flex-direction: column; 
    position: relative;
}

.contenedor-presentacion img{
    max-width: 500px;
}


.texto h1{
    margin: 0;
    text-transform: uppercase;
    color: #e4f3f2;
}
.texto .hola{
    font-size: 4.6rem;
    font-weight: 900;
    margin: 5px 0;
}

.texto .secundario{
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin: 5px 0 ;
    color: #ff8e00;
    position: relative;
    display: inline-block;
}

.texto .nombre h1{
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 5px 0;
}
.nombre span{
    position: absolute;
    right: 0;
    width: 0;
    height: 2.6rem;
    background-color: #364954;
    border-left: 2px solid #2b373e;
    animation: maquina 3s alternate steps(14);
}
.texto .secundario .secundario-animacion{
   display: inline-block;
}
.secundario span{
    position: absolute;
    right: 0;
    width: 0;
    height: 2.3rem;
    background-color: #364954;
    border-left: 2px solid #2b373e;
    animation: maquina 2.5s alternate infinite steps(14);

}
@keyframes maquina{
from{
    width: 100%;
}to{
    width: 0;
}
}

@media (min-width:768px){
    /*.contenedor-presentacion{
        display: grid;
        grid-template-columns: 50% 50%;
        
    }*/
    .contenedor-presentacion img{
        width: 90%;
        position: absolute;
        right: -5rem;
    }
    .contenedor-presentacion .texto{
        z-index: 999;
    }
    .texto .hola{
      font-size: 6rem;
    }
    .texto .secundario{
        font-size: 2.5rem;
    }
    .secundario span{
        height: 3.5rem;
    }
    .texto .nombre h1{
      font-size: 3.5rem;
    }
    .nombre span{
        height: 4rem;
    }
}

.div-desilaza{
    display: none;
}
.mis-secciones{
    margin: auto;
    position: relative;
    text-align: center;
}
@media (max-width:768px){
    /*.mis-secciones{
        min-height: 90vh;
    }*/
    .div-desilaza{
        width: 80%;
        max-width: 500px;
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        align-items: center;
        color: #efefef;
        position: absolute;
        bottom: 0.5rem;
        left: 0; right: 0;
        margin: auto;
    }
}

.mis-secciones h1{
    font-weight: 900;
    text-transform: uppercase;
    margin: 2rem;
}
.div-iconos-habilidades{
    width: 90%;
    max-width: 600px;
    margin: auto;
    display: grid;
    grid-template-columns: 33% 33% 33%;
}


.icono-habilidad{
    display: flex;flex-direction: column;justify-content: center; align-items: center;position: relative;margin-bottom: 2rem;
}
.logo-habilidad-texto{
    background-color: rgba(175, 175, 175, 0.7);
    padding: 0.5rem;
    font-weight: 900;
    color: #364954;
    border-radius: 50px;
    font-size: 1.2rem;
    margin-bottom: 5px;
    position: absolute;
    top: 2rem;
}
.icono-habilidad img{
    width: 60px;
}

.div-proyectos{
    display: flex;
    width: 90%;
    max-width: 900px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

@media (min-width:768px){
    .div-proyectos{
        width: 100%;
        display: grid;
        grid-template-columns: 50% 50%;
    }
}

.proyecto{
    width: 100%;
    height: 200px;
    max-width: 400px;
    background-size: cover;
    background-repeat: no-repeat; position: relative;
    margin-bottom: 1rem;
}
.proyecto-descripcion{
    width: 100%; height: 100%;
    position: absolute;
    background-color: rgba(54, 73, 84, 0.7);
    color: #e4f3f2;
    background-size: cover;
}
.proyecto-descripcion .titulo{
    margin: 0;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.proyecto-descripcion .descripcion{
    width: 80%;
    margin: auto;
    text-align: justify;
}
.proyecto-descripcion .botones{
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0; right: 0;bottom: 5px;
}
.proyecto-descripcion .botones .boton{
    margin: 1rem;
    padding: 0.5rem;
    background-color: #e9e9e9;
    color: #1b1b1b;
    text-decoration: none;
}

.div-modal{
    width: 100%; height: 100%;
    background-color: rgba(175, 175, 175, 0.7);
    position: fixed;
    left: 0;right: 0;top: 0; bottom: 0;
    z-index: 10000;
}
.modal{
    width: 90%;
    max-width: 500px;
    background-color: #e9e9e9;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #000;
    margin: auto;
    text-align: center;
    padding-top: 0.5rem;
}

.modal h2{
    margin: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #1e2428;
}
.modal p{
    width: 80%;
    margin: auto;
    color: #334149;
    margin-bottom: 3rem;
    text-align: start;
    line-height: 1.4rem;
}
.modal button{
    margin: 1rem;
    width: 80%;
    padding: 0.5rem;
    background: #1e2428;
    color: #efefef;
    font-weight: 700;
    border-radius: 5px;
}

.div-actualidad{
    width: 95%;
    margin: auto;
    background-color: #e9e9e9;
    color:#1e2428;
}
@media (min-width: 768px){
    .div-actualidad{
        width: 100%;
    }
}
.div-actualidad h1{
  margin: 0;
  margin-bottom: 2rem;
}

.div-actualidad p{
    width: 90%;
    max-width: 500px;
    margin: auto;
    text-align: center;
}

.div-iconos-actualidad{
    width: 90%;
    max-width: 500px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.div-iconos-actualidad .icono-actualidad{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.div-iconos-actualidad .icono-actualidad img{
    width: 70px;
}
.div-iconos-actualidad .icono-actualidad label{
    font-weight: 700;
    margin-top: 0.5rem;
}

.formulario{
    width: 90%;
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}
.formulario input{
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #efefef;
}

.formulario input:last-of-type{
    margin-top: 1.5rem;
    background-color: #1e2428;
    color: #efefef;
}
.formulario textarea{
    padding: 1rem;
    background-color: #efefef;
    border-radius: 5px;
}

.footer{
    text-align: center;
    padding: 1rem;
    background-color: #2b3b45;
    color: #efefef;
}
.footer p{
    margin: 1rem;
}
.footer .iconos-contacto{
    width: 40%;
    max-width: 200px;
    margin: auto;
    font-size: 3rem;
    display: flex;
    justify-content: space-around;
}
.footer .iconos-contacto a{
   text-decoration: none;
   color: #efefef;
}
.footer .corazon-rojo{
    color: rgb(243, 42, 42);
}

.visitas{
    position: absolute;
    text-align: center;
    color: #e4f3f2;
    font-weight: 900;
    right: 10px;
}

.notblock{
    display: none;
}