:root{
  --color1: black;  
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11,194,211, 0.623);
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 15px;
  --espacios: 10px;
  --espacios-contenido:45px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'open sans';

   background: linear-gradient(to bottom, rgba(243, 176, 7, 0.1),  rgba(243, 176, 7, 0.1),  rgba(243, 176, 7, 0.1)  );
}

img{
  vertical-align: top;
}


/* Preloader */
/* .hidden{
  overflow: hidden;
}

.centrado{
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;  
} */

/* --------------------------------------------------------------------------------------------------------------------------------------*/

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }

}
/* --------------------------------------------------------------------------------------------------------------------------------------*/


/* Header */

header{
  width: 100%;
  height:950px;
  
    
  background: -webkit-linear-gradient(to bottom, rgba(39, 59, 211, 0.0), rgba(243, 176, 7, 0.1)), url(renta_de_maquinaria_en_metepec/renta_de_maquinaria_huixquilucan.jpg);  
  background: linear-gradient(to bottom, rgba(39, 59, 211, 0.0), rgba(243, 176, 7, 0.1)), url(renta_de_maquinaria_en_metepec/renta_de_maquinaria_huixquilucan.jpg);  
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

nav{
  width: 100%;
  position: fixed;
  z-index: 100;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5)
}

.nav1{
  background: transparent;
  height: 90px;
  color:#fff;
}

.nav2{
  background: #fff;
  height:100px;
  color:#000;
}

.contenedor-nav{
  display: flex;
  margin: auto;
  width: 95%;
  justify-content: space-between;
  align-items: center;
  max-width:1200px;
  height:inherit;
  overflow: hidden;
}

nav .enlaces a{
  display: inline-block;
  padding: 5px 0;
  margin-right: 17px;
  font-size: 17px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  
  color: #000;
}

nav .enlaces a:hover{
  border-bottom: 3px solid #000;
  transition: 0.6s;
}

.logo, .logo img{ height:80px;

  animation: moverDerechalogo 1.5s ease-in;  
}

.logo img{
  border-radius: 10px;
  box-shadow: 0 6px 6px 0 rgba(0,0,0,.5);

 }


.icono{
  display:none;
  font-size: 24px;
  padding: 23.5px 20px;
}

.textos{
  width: 100%;
  height: 100%;
  display:flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color:#fff;
  
  /* color: #044c52; */
  overflow: hidden;
  text-align: center;
}

.textos>h1{
  
  font-size:45px;
  background-color: rgba(0, 0, 0, 0.5)  ;
  padding: 10px;
  border-radius: 10px ;
  animation: moverDerecha 1s ease-in;  
  


}

@keyframes moverDerecha{
  0%{
      opacity: 0;
      transform: translateX(100px);
  }

  100%{
      opacity: 1;
      transform: translate(0);
  }
}


@keyframes moverDerechalogo{
  0%{
      opacity: 0;
      transform: translateX(300px);
  }

  100%{
      opacity: 1;
      transform: translate(0);
  }
}


@keyframes arriba{
  0%{
      opacity: 0;
      transform: translateY(100px);
  }

  100%{
      opacity: 1;
      transform: translate(0);
  }
}



.textos>h2{
  
  font-size: 30px; 
  font-weight: 300;
  background-color: rgba(0, 0, 0, 0.5)  ;
  padding: 5px;
  border-radius: 10px;
  animation: arriba 1s ease-in;

}









/* Main */

.contenedor{
  margin:auto;
  padding: var(--margenes) 0;
  width: 95%;
  max-width: 1200px;
  text-align: center;
  overflow: hidden;
  
}


.about .contenedor>h3{
  font-size: var(--titulos);
  /* color: #fff; */
  color: var(--color1);
  margin-bottom: var(--espacios);
  
}


.contenedor h3{
  font-size: var(--titulos);
  color: var(--color1);
  /* margin-bottom: var(--espacios); */
  padding: 40px;
}


.about .contenedor p{
  font-size: 20px;
  font-weight: 300;
  color: #fff;
}

.contenedor p{
  font-size: 20px;
  font-weight: 300;
  color: var(--color1);
}


.about .after::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  
  
  /* box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.11);   */
  /* background-color: red; */
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}

.after::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  
  /* box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.11);   */
  /* background-color: red; */
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}


.contenedor p{
  font-size: 20px;  
  
}
.card{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.content-card{
  width: 35%;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  overflow: hidden;
  height:450px;
}

.people{
  height: 80%;
}

.content-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.texto-team{
  /* background-color: #000; */
  height: 20%;
  width: 100%;
  padding: var(--espacios) 0;
}

.texto-team h4{
  padding: 10px 0;
}

.about{
  /* background: url(img/teclado.jpg); */
  background: linear-gradient(to bottom, rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1)  );
  height: auto;
}

.work{
  /* background: url(img/teclado.jpg); */
  /* background: linear-gradient(to bottom, rgba(65, 120, 179, 0.7),  rgba(65, 120, 179, 0.7),  rgba(65, 120, 179, 0.7)  ); */
  
}

.contenedor-sobre-nosotros{
  display: flex;    
  /* position: absolute; */
  
  /* justify-content: space-around; */
  /* justify-content: space-between; */
  justify-content: space-evenly;
  /* background-color: rgb(63, 165, 42); */
  padding: 0 0 50px 0;
}

.contenedor-sobre-nosotros5{
  display: flex;    
  /* position: absolute; */
  
  /* justify-content: space-around; */
  /* justify-content: space-between; */
  justify-content: space-evenly;
  /* background-color: rgb(63, 165, 42); */
  padding: 0 0 50px 0;
}

.imagen-about-us{    
  width: 45%;
  /* height: 400px; */
  /* border: 1px rgb(19, 0, 128) solid;  */
  /* background-color: chartreuse; */
  overflow: hidden;
  object-fit: cover;
  
}

.contenedor-sobre-nosotros img{
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
  border-radius: 5px;
  animation: arriba 1s ease-in;
 
}

.contenedor-sobre-nosotros5 img{
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
  border-radius: 5px;
  animation: arriba 1s ease-in;
 
}

.contenido-textos{
  /* background-color: rgb(255, 0, 13); */
  width: 45%;
  /* margin: 0 0 0 120px; */
  /* text-align: center; */
  text-align: left;
  /* border: 1px rgb(19, 0, 128) solid;  */
}


.contenido-textos4{
  /* background-color: rgb(255, 0, 13); */
  width: 45%;
  /* margin: 0 0 0 120px; */
  /* text-align: center; */
  text-align: left;
  /* border: 1px rgb(19, 0, 128) solid;  */
}



.contenido-textos h3{
  font-size: 25px;    
  /* margin: 25px 0 10px 0; */
  /* border: 1px rgb(19, 0, 128) solid;  */
  padding: 5px 0 1px 55px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
}


.contenido-textos4 h3{
  font-size: 25px;    
  /* margin: 25px 0 10px 0; */
  /* border: 1px rgb(19, 0, 128) solid;  */
  padding: 5px 0 1px 55px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
}


.contenido-textos h3 span{
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: inline-block;   /* lo hace bloque pero hace que continue en la linea*/
  text-align: center;
  width: 35px;
  height: 35px;
  padding: 5px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
  margin: 0px 15px 0 15px;   
}


.contenido-textos4 h3 span{
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: inline-block;   /* lo hace bloque pero hace que continue en la linea*/
  text-align: center;
  width: 35px;
  height: 35px;
  padding: 5px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
  margin: 0px 15px 0 15px;   
}


.contenido-textos li{
  /* background: #b4b5c0; */
  margin-left: 55px;
  padding: 10px 0 3px 30px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
  list-style: none;
  /* margin-right: 15px; */
  font-weight: 500;
  font-style: italic;
  /* font-size: x-large; */
  /* font-size: large; */
  font-size: 22px;  
  /* font-weight: normal; */
  text-align: left;
}


.contenido-textos4 li{
  /* background: #b4b5c0; */
  margin-left: 55px;
  padding: 10px 0 3px 30px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
  list-style: none;
  /* margin-right: 15px; */
  font-weight: 500;
  font-style: italic;
  /* font-size: x-large; */
  /* font-size: large; */
  font-size: 22px;  
  /* font-weight: normal; */
  text-align: left;
}



.servicios{
  display: flex;
  color:#fff;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}
.caja-servicios{
  display: flex;
  width: 90%;
  margin: auto;
  text-align: center;
  justify-content: space-between;
}
.caja-servicios>h4{
  font-size: 20px;
  margin: 30px;
  /* margin-bottom: var(--espacios); */
}

.caja-servicios>p{
  text-align: center;
}

.botones-work{
  overflow: hidden;
}

.botones-work li{
  display: inline-block;
  text-align: center;
  margin-left: var(--espacios);
  margin-bottom: var(--espacios-contenido);
  padding: 6px 12px;
  border: 1px solid var(--color1);
  border-radius: 5px;
  list-style: none;
  color: var(--color1);
  font-size: 18px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
}

.botones-work li:hover{
  background: green;
  /* background: rgba(114, 123, 126, 0.45); */
  /* background: var(--color1); */
  color:#fff;
  cursor: pointer;
}

.botones-work .active{
    background: green;
  /* background: var(--color1); */
  color:#fff;
}

.galeria-work{
  display:flex;
  flex-wrap: wrap;
  
  justify-content: space-around;
}

.cont-work{
  width: 45%;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.9);
  /* height:300px; */
  overflow: hidden;
  display:flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: var(--espacios-contenido);
}

.img-work{
  height: 90%;
  width: 100%;
}

.img-work img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}



.textos-work{
  height: 10%;
  display:flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;


  /* background-color: #068c27; */
}

.textos-work h4{
  /* background-color: lightcoral; */
  /* line-height: inherit; */
  font-weight: 300;
  font-size: 20px;
  text-align: center;
}

/* Footer */

footer{
  /* background: linear-gradient(to bottom, rgba(191, 195, 196, 0.8),  rgba(191, 195, 196, 0.8),  rgba(191, 195, 196, 0.8)  ); */
  /* background: linear-gradient(to bottom, rgba(65, 120, 179, 0.7),  rgba(65, 120, 179, 0.7),  rgba(65, 120, 179, 0.7)  ); */
  background: linear-gradient(to bottom, rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1)  );
  /* padding: 0 0 30px 0; */
  margin: auto;
  text-align: center;
  
  /* background:url(img/teclado.jpg); */
}

.ligas a{
  font-size: 15px;
  text-decoration: none;
  color: rgba(243, 176, 7, 1);
}



.maquinaria{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* justify-content: center; */
  justify-content: space-around;
  /* justify-content: space-between; */
  /* justify-content: space-evenly; */

}

.pesada img{
  width: 250px;

}


.marca-logo{
  width: 40%;
  margin: auto;
  margin-bottom: var(--espacios);
}
.marca-logo img{
  width: 100%;
}
.iconos{
  display: flex;
  margin: auto;
  justify-content: space-around;
  width: 100%;
}
.fab{
  font-size:60px;
  color: #FFF;
  margin-bottom: var(--espacios);
  display: inline-block;
}

footer p{
  margin-top:var(--espacios);
}

.contenedor-footer{
  display: flex;
  width: 90%;
  justify-content: space-evenly;
  margin: auto;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.content-foo{
  text-align: center;
}

.content-foo h4{
  color: #000;
  border-bottom: 3px solid #061386;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-size: 22px;
}

.content-foo p{
  color: #000;
  font-size: 20px;
}

.titulo-final a{
  /* text-align: center; */
  font-size: 20px; 
  margin: auto;
  text-decoration: none;
  
  cursor: none;
  color: #000;
  /* background-color: aqua; */
}






@media screen and (max-width: 950px){
  .nav2{
    color: #fff;
  }
/* 
   .content-card{
    width: 90%;
  } */


  .icono{
    display:block;
    cursor: pointer;
  }


  .contenedor-sobre-nosotros{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.contenedor-sobre-nosotros5{
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
}

.contenido-textos{
    width: 95%;
    
}

.contenido-textos4{
  width: 95%;
  
}

.contenido-textos h3{
  /* font-size: 18px;     */
  /* margin: 25px 0 10px 0; */
  /* border: 1px rgb(19, 0, 128) solid;  */
  padding: 30px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
}

.contenido-textos4 h3{
  /* font-size: 18px;     */
  /* margin: 25px 0 10px 0; */
  /* border: 1px rgb(19, 0, 128) solid;  */
  
  padding: 30px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
}


.imagen-about-us{
    width: 95%;
}

  .enlaces{
    position: fixed;
    top:80px;
    /* background: #fff; */
    background: linear-gradient(to bottom, rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1)  );
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
  }

  .enlaces a{
    display: block;
    width: 100%;
    height: 50px;
    /* height: 100vh; */
    padding: 20px;
    text-align: center;
    /* background: #fff; */
    background: linear-gradient(to bottom, rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1),  rgba(243, 176, 7, 1)  );
    color:#fff;
  }

  .textos>h1{font-size: 40px;}
  .textos>h2{font-size:25px;}


  .content-card{
    width: 90%;
    height: 100%;
    margin-bottom: 30px;
  }
  /* .content-card{
    width: 48%;
    margin-bottom:var(--margenes);
  } */
  .cont-work{
    width: 85%;
  }

  :root{
    --margenes: 30px;
  }

  .contenedor-footer{
    flex-direction: column;
    /* border: none; */
}

.content-foo{
    margin-bottom: 20px;
    text-align: center;
}

.content-foo h4{
    /* border: none; */
    width: 20%;
    margin: auto;
}

.content-foo p{
    /* color: #ccc; */
    /* border-bottom: 1px solid #f2f2f2; */
    padding-bottom: 10px;
    font-size: 18px;
}

.titulo-final{
    font-size: 20px;
}
}

@media screen and (max-width: 500px){
  :root{
    --espacios-contenido: 25px;
  }

  .content-card{
    width: 90%;
  }



  .contenido-textos h3{
    font-size: 18px;    
    /* margin: 25px 0 10px 0; */
    /* border: 1px rgb(19, 0, 128) solid;  */
    padding: 10px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
  }


  .contenido-textos4 h3{
    font-size: 18px;    
    /* margin: 25px 0 10px 0; */
    /* border: 1px rgb(19, 0, 128) solid;  */
    padding: 10px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
  }
  
  .contenido-textos h3 span{
    background: #061386;
    color: #fff;
    border-radius: 50%;
    display: inline-block;   /* lo hace bloque pero hace que continue en la linea*/
    text-align: center;
    width: 35px;
    height: 35px;
    padding: 7px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
    margin: 15px 15px 0 5px;   
  }


  .contenido-textos4 h3 span{
    background: #061386;
    color: #fff;
    border-radius: 50%;
    display: inline-block;   /* lo hace bloque pero hace que continue en la linea*/
    text-align: center;
    width: 35px;
    height: 35px;
    padding: 7px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.911);  
    margin: 15px 15px 0 5px;   
  }
  
  .contenido-textos li{
    /* background: #b4b5c0; */
    margin-left: 20px;
    padding: 10px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
    list-style: none;
    /* margin-right: 15px; */
    font-weight: 500;
    font-style: italic;
    /* font-size: x-large; */
    /* font-size: large; */
    font-size: 18px;  
    /* font-weight: normal; */
    text-align: left;
  }
  
  .contenido-textos4 li{
    /* background: #b4b5c0; */
    margin-left: 20px;
    padding: 10px 0 10px 5px;      /* ARRIBA   DERECHO ABAJO IZQUIERDO   */
    list-style: none;
    /* margin-right: 15px; */
    font-weight: 500;
    font-style: italic;
    /* font-size: x-large; */
    /* font-size: large; */
    font-size: 18px;  
    /* font-weight: normal; */
    text-align: left;
  }



  .caja-servicios{
    width: 90%;
    margin-bottom: var(--margenes);
  }

  .cont-work{
    width: 85%;
  }

  .marca-logo{
    width: 80%;
  }

  .iconos{
    margin: auto;
  }
}