
/*LLAMAR LOS OTROS ESTILOS*/
@import url(estilos_PROYECTOS.css);
@import url(estilos_CONOCENOS.css);
@import url(estilos_SERVICIOS.css);

@import url(estilos_CONTACTO.css);


/*ESTILOS BASE DE TODAS MIS WEBS*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:sans-serif;
}

body {
    margin: 0;
    *background: #555252;
    background: #a2a7ab;
}

img{
    display: block;
    width: 100%;
    max-width: 100%;
    
}

h1,h2,h3,h4,h5,h6{
    margin: 0;
}


/*EFECTO DE SCROLL CON scroll-margin-top: 12ex;*/
html{
    scroll-behavior: smooth;
}

/*ESTILOS_DEL_MENU*/

header{
    width: 100%;
    height: 90px;
    background: #fff;
    box-shadow: 0 4px 35px -10px black;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 25;
}

.contenedor{
    width: 98%;
    margin: auto;
}

.contenedor img{
    width: 220px;
    margin-top: 5px;
    float: left;
}

#menu-bar{
    display: none;
}

header label{
    float: right;
    font-size: 25px;
    height: 45px;
    margin: 30px 0;
    cursor: pointer;
    padding: 10px;
    color: #2770ca;
    
}

.menu{
    position: absolute;
    top: 90px;
    left: 0;
    width: 175px;
    height: 100vh;
    background:#fff;
    box-shadow: 0 4px 35px -20px black;
    transition: all 0.5s;
    transform: translateX(-100%);
}

header .contenedor{
    display: table;
}


.menu a{
    display: block;
    text-align: left;
    color: rgb(39, 36, 36);
    height: 50px;
    text-decoration: none;
    padding: 15px;
    *border-bottom: 1px solid rgba(39, 112, 202, 0.3);
    *#a2a7ab
}


.menu a.normal:hover{
    color: #fff;
    background: #2770ca;
}

.menu a.fa-brands{
    color: #626263;
    margin: auto;
    width: 100%;
    }

.menu a.fa-brands:hover{
    color: #fff;
    background: #2770ca;
}

.menu a.fa-solid{
    color: #626263;
    margin: auto;
    width: 100%;
}

.menu a.fa-solid:hover{
    color: #fff;
    background: #2770ca;
}

.menu a.cotizar:hover{
    color: #fff;
    background: #2770ca;
}

.menu a.selected{
    color: #2770ca;
}

#menu-bar:checked ~ .menu{
    transform: translateX(0%);
}


/*MENU_escritorio*/

@media(min-width:1024px){

    .contenedor{
    max-width: 1100px;
    margin: auto;
    }
    
    header label{
        display: none;
    }
    
    .menu{
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: right;
        display: flex;
        background:#fff;
        box-shadow: none;
        margin-top: 30px;  
    }

    .redes_sociales{
        display: flex;
    }

   .menu a{
        color: #626263;
    }

   .menu a.normal:hover{
        color: #2770ca;
        background-color: #fff;
    }

    .menu a.cotizar{
        height: 40px;
        padding: 10px 25px;
        border: 1px solid #276eb6;
        border-radius: 20px;
        margin: 3px 10px;
        text-decoration: none;
        color: black;
        transition:500ms;
    }
    
    .menu a.cotizar:hover{
    color: #fff;
    background: #2770ca;
    }
    
    .menu a.fa-brands{
    height: 40px;
    width: 40px;
    
    padding: 10px 11px;
    margin: 3px 3px;
    font-size: 18px;

    }

    .menu a.fa-brands:hover{
  
    background: #2770ca;
    border-radius: 25px;
    padding: 12px 12px;
    margin: 2px 3px;
    font-size: 16px;
    
    }

    .menu a.fa-solid{
    height: 40px;
    width: 40px;
    
    padding: 10px 11px;
    margin: 3px 3px;
    font-size: 18px;

    }

    .menu a.fa-solid:hover{
  
    background: #2770ca;
    border-radius: 25px;
    padding: 12px 12px;
    margin: 2px 3px;
    font-size: 16px;
    
}

   
}



/*ESTILOS SLIDER AUTOMATICO*/

.container_slider{
    width: 100%vw;
    /*max-width: 1200px;*/
    margin: auto;
    margin-top: 90px;
    position: relative;
    z-index: 1;
    
}


.slider{
    width: 100%;
    height: 800px;
    margin: auto;
    overflow: hidden;
    
   
}

.slider ul{
    padding: 0;
    display: flex;
    width: 500%;/*son 5 imagenes*/

    animation: cambio 24s infinite alternate ease-in-out;
    animation-direction:alternate;
    /*a la animacion le pongo un nombre en este caso "cambio, dura 20s infinita" y para que cuando termine la animacion se regrese de la ültima imagen a la primera le pongo elternate*/
}

.slider li{
    list-style: none;
    width: 100%;
    position: relative;
}


.texto{
    position: absolute;
    text-align: left;
    width: 100%;
    padding:  0 250px;
    background-color: rgba(39, 36, 36, 0.8);
    top: 150px;
    color: #faf8f8;
    padding: 15px;
}

.texto h2{
    font-size: 35px;
    font-weight: 1;
    margin-bottom: 25px;
}

.slider img{
height: 800px;
object-fit: cover;
}


@keyframes cambio {
   0% {margin-left:0%;}
   15% {margin-left:0%;}

   20% {margin-left:-100%;}
   35% {margin-left:-100%;}

   40% {margin-left:-200%;}
   55% {margin-left:-200%;}

   60% {margin-left:-300%;}
   75%{margin-left:-300%;}

   80% {margin-left:-400%;}
   100%{margin-left:-400%;}

}
    /*La animación dura 20segundo entonces 20% de 24 segundos son 4, cada imagen dura 4seg. antes de que cambie*/

/*SLIDER AUTOMATICO_escritorio*/
@media(min-width:363px){
    .container_slider{
        margin-top: -30px;
    }
}


@media(min-width:490px){
    .container_slider{
        margin-top: 90px;
    }
    
    .slider{
         height: 600px;
    }

    .slider img{
        height: 600px;
    }
}

@media(min-width:768px){
    
    
    .slider{
        height: 600px;
      }

    .slider img{
    height: 600px;
    
}
}

@media(min-width:1024px){
    .container_slider{
    margin-bottom: -80px;
    
}
    
    .texto{
        width: 100%;
        text-align:left;
    }
    
    .caja_texto{
        width: 1100px;
        margin: auto;
    }
    .texto h2{
    font-size: 45px;
    margin-bottom: 3px;
    
    }

    .texto p{
        /*margin: auto;*/
        /*width: 1224px;*/
    }
}

/*BOTONES_SLIDER*/

.botones{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 5;
    margin-top: -370px;
    margin-bottom: 50px;
    margin-left: 15px;       
}


.boton{
        width: 200px;/*quitarlo en tablet*/
        height: 45px;
        border: 1px solid #2770ca;
        border-radius: 20px;
        margin: 5px 15px;
        text-decoration: none;
        padding: 15px 20px;
        font-size: 15px;
        text-align: center;
        background:rgba(39, 36, 36, 0.9);
        color: #fff;
        justify-content:space-between;
        transition:500ms; 
}

.boton:hover{
    background: #2770ca;
    color: #fff;
}

/*BOTONES_SLIDER_tableta*/
@media(min-width:363px){
    .botones{
        margin-top: -430px;
        margin-bottom: 110px;
    }
}

@media(min-width:490px){
    .botones{
        margin-top: -200px;
        margin-bottom: 50px;
    }
}

@media(min-width:720px){
    .botones{
    justify-content: center;
    margin-bottom: 100px;
    margin-top: -200px;
    }
}


 @media(min-width:768px){
    .botones{
    justify-content: center;
    margin-bottom: 50px;
    }
}

 @media(min-width:1024px){
    .botones{
        max-width: 1150px;
        margin:auto;
        top: -200px;
    }
}


/*WHATS FLOTANTE*/
.contenedor_boton_w a{
    font-size: 25px;
    margin: 20px;
    background: #0bdd51;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color:#fff;
    text-decoration: none;
    box-shadow: 2px 2px 3px #161515;

    position: fixed;
    right: 10px;
    top: 90%;
    z-index: 1000;
    }

    .contenedor_boton_w a:hover{
        background: #276eb6;
    }


/*TITULOS*/
.container_titulos{
    padding-bottom: 15px;
    max-width: 1100px;
    margin: auto;
    *margin-top: 500px;
    width: 98%;
     background-color: rgba(39, 36, 36, 0.9);
    padding-top: 5px;
    padding-bottom: 5px;
    
    text-align: left;
    position: relative;

    scroll-margin-top: 12ex;
}


.container_titulos_otros{
    padding-bottom: 15px;
    max-width: 1100px;
    margin: auto;
    width: 98%;
    background-color: rgba(39, 36, 36, 0.9);
    padding-top: 5px;
    padding-bottom: 5px;
    
    
    text-align: left;
    position: relative;

    scroll-margin-top: 12ex;
}


.titulo_articulo{
    font-size: 30px;
    font-weight: 1;
    color: #a2a2a2;
    padding-left: 5px;
}

.titulo_articulo p{
    font-size: 25px;;
}

.titulo_articulo_otros{
    font-size: 30px;
    font-weight: 1;
    color: #a2a2a2;
    padding-left: 5px;
}

.titulo_articulo_otros p{
    font-size: 25px;;
}



b{

color: #efefef;
}

/*TITULOS celpeque*/

@media(min-width:363px){
.titulo_articulo{
    font-size: 25px;
}
.titulo_articulo p{
    font-size: 15px;
    color:#efefef;
}

.titulo_articulo_otros p{
    font-size: 25px;
    font-size: 15px;
    color:#efefef;
}

}

b{
font-size: 22px;
}

/*TITULOS tableta*/
 @media(min-width:768px){
    .container_titulos{
       text-align: left;
       margin-top: 100px; 
    }
}
/*TITULOS escritorio*/
 @media(min-width:1024px){
    .container_titulos{
        margin-top: 5px;
    }

    .container_titulos_otros{
        margin-top: -10px;
    }
 }


/*ESTILOS_CSS_GRID*/

.contenedor_galeria{
    max-width: 1100px;
    width: 98%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 150px;
    grid-gap:10px;

    padding-bottom: 50px;
}

.gallery__item{
    position: relative;
}

.gallery__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.gallery__title{
    position: absolute;
    bottom: 0;
    color: #fff;
    *background: linear-gradient(rgba(255,255,255,0.5),rgba(0,0,0,1));
    *background: #333;
    *width: 100%;
}

.gallery__item:nth-child(1){
    grid-column-start: span 4;
}

.gallery__item:nth-child(1){
    grid-row-start: span 2;
}

.gallery__item:nth-child(2){
    grid-column-start: span 2;
}

.gallery__item:nth-child(2){
    grid-row-start: span 4;
}

.gallery__item:nth-child(3){
    grid-column-start: span 2;
}

.gallery__item:nth-child(3){
    grid-row-start: span 2;
}

.gallery__item:nth-child(4){
    grid-column-start: span 2;
}

.gallery__item:nth-child(4){
    grid-row-start: span 1;
}

.gallery__item:nth-child(5){
    grid-column-start: span 2;
}

.gallery__item:nth-child(5){
    grid-row-start: span 1;
}


.imagen_overlay{
    width: 100%;
    height: 100%;
    position: relative;
    
}

.imagen_overlay img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background:rgba(79, 81, 82, 0.6);
    width: 0;
    height: 0;
    overflow: hidden;
    /*transition:all 500ms;*/
}

.nombre_proyecto{
    color: #fff;
    width: 100%;
    position: relative;
    font-weight: 100;
    font-size: 17px;
    line-height: 20px;
    margin: auto;
    padding: 10px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

.imagen_overlay:hover .overlay{
    width: 100%;
    height: 100%;
    cursor: pointer;
}

@media (min-width:363px) {
    .nombre_proyecto{
    font-size: 15px;
}
}


@media (min-width:768px) {
    .contenedor_galeria{
    padding-bottom: 30px;
    
    grid-template-columns: repeat(4,1fr);
    }

    .gallery__item:nth-child(5){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(6){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(7){
    grid-row-start: span 2;
    }

    .gallery__item:nth-child(9){
    grid-row-start: span 1;
    }
    
}

@media (min-width:1024px) {
    .contenedor_galeria{
        grid-template-columns: repeat(6,1fr);   
    }

    .gallery__item:nth-child(1){
    grid-column-start: span 4;
    }

    .gallery__item:nth-child(1){
    grid-row-start: span 3;
    }

    .gallery__item:nth-child(2){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(2){
    grid-row-start: span 5;
    }

    .gallery__item:nth-child(3){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(3){
    grid-row-start: span 2;
    }
    
    .gallery__item:nth-child(4){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(4){
    grid-row-start: span 1;
    }

    .gallery__item:nth-child(5){
    grid-column-start: span 2;
    }

    .gallery__item:nth-child(5){
    grid-row-start: span 1;
    }

      
}


/*ESTILOS_CSS_GRID_SOCIAL*/

.contenedor_galeria_2{
    max-width: 1100px;
    width: 98%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 150px;
    grid-gap:10px;

    padding-bottom: 50px;
}

.gallery__item_2{
    position: relative;
}

.gallery__img_2{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}


.gallery__item_2:nth-child(1){
    grid-column-start: span 2;
}

.gallery__item_2:nth-child(1){
    grid-row-start: span 3;
}

.gallery__item_2:nth-child(2){
    grid-column-start: span 2;
}

.gallery__item_2:nth-child(2){
    grid-row-start: span 2;
}

.gallery__item_2:nth-child(3){
    grid-column-start: span 2;
}

.gallery__item_2:nth-child(3){
    grid-row-start: span 1;
}

.gallery__item_2:nth-child(4){
    grid-column-start: span 4;
}

.gallery__item_2:nth-child(4){
    grid-row-start: span 2;
}

.gallery__item_2:nth-child(5){
    grid-column-start: span 4;
}

.gallery__item_2:nth-child(5){
    grid-row-start: span 2;
}

@media (min-width:768px) {
.contenedor_galeria_2{
    margin-bottom: -130px;
}

}

@media (min-width:1024px) {
    .contenedor_galeria_2{

    margin-bottom: -20px;
    
    grid-template-columns: repeat(6,1fr);   
    }

    .gallery__item_2:nth-child(1){
    grid-column-start: span 2;
    }

    .gallery__item_2:nth-child(1){
    grid-row-start: span 5;
    }

    .gallery__item_2:nth-child(2){
    grid-column-start: span 2;
    }

    .gallery__item_2:nth-child(2){
    grid-row-start: span 1;
    }

    .gallery__item_2:nth-child(3){
    grid-column-start: span 2;
    }

    .gallery__item_2:nth-child(3){
    grid-row-start: span 1;
    }

    .gallery__item_2:nth-child(4){
    grid-column-start: span 4;
    }
    
    .gallery__item_2:nth-child(4){
    grid-row-start: span 2;
    }

    .gallery__item_2:nth-child(5){
    grid-column-start: span 4;
    }

    .gallery__item_2:nth-child(5){
    grid-row-start: span 2;
    }

    
}





/*CONTENIDO SE MUEVE*/
.container-all{
    transition: all 0.5s;
}

.move-container-all{
   transform: translateX(176px);
}


/*ESTILOS DEL FOOTER*/

.container-footer{
    width: 100%;
    padding: 40px 0;
    background: #cacdd0;
    margin-top: -10px;
}

.container-footer footer{
    max-width: 1200px;
    margin: auto;
}

.container-footer footer .logo-footer{
    text-align: center;
}

.container-footer footer .logo-footer img{
    width: 150px;
    margin: auto;
}

.container-footer footer .redes-footer{
    /*para que los iconos esten uno al lado del otro*/
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.redes-footer a{
    font-size: 20px;
    margin: 20px;
    background: #efefef;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color:#a2a2a2;
    text-decoration: none;
}

.redes-footer a:hover{
    background: #2770ca;
    color: #fff;
}

.direccion{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: #8e8e8e;
    }

hr{
    margin-top: 20px;
    margin-bottom: 10px;
    border: none;
    height: 1px;
    background: #a2a2a2;
}

h4{
    text-align: center;
    margin-top: 60px;
    color:#8e8e8e;
    font-weight: bold;
}
 
