:root{
  --color1: rgb(219,144,.5);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11,194,211, 0.623);
    --colorAzul: #111E6C;
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido:45px;
    --espacios-botones: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'open sans';
  background: var(--fondo);
}

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:500px;
  background: linear-gradient(to bottom,
  rgba(64, 64, 64, .45),
  rgba(38, 38, 38, .45),
 rgba(13, 13, 13, .45)
  ), url(img/fabrica.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

nav{
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
      font-family: 'Roboto', sans-serif;
}

.nav1{
  background: #0d0d0d;
  height: 80px;
  color:#fff;
}

.nav2{
  background: var(--fondo);
  height:82px;
  color:#000;
}

.contenedor-nav{
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width:1000px;
  height:inherit;
  overflow: hidden;
}

nav .enlaces a{
  display: inline-block;
  padding: 5px 0;
  margin-right: 17px;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: inherit;
    
}

nav .enlaces a:hover{
  border-bottom: 3px solid #F2CB05;
  transition: 0.6s;
}

.logo, .logo img{ 
    height:70px;
    width: 150px;
}

.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;
  overflow: hidden;
  text-align: center;
  font-family: 'Kanit', sans-serif;
}

.textos>h1{font-size:80px;;}

.textos>h2{font-size: 30px; font-weight: 300;}

/* Main */

.contenedorpimg{
    background-color: #4E9000;
    padding: var(--margenes) 0;
}

.contenedor{
  margin:auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}



.contenedor h3{
  font-size: var(--titulos);
  
  margin-bottom: var(--espacios);
}

.textoAzul{
    color: var(--colorAzul)
}
.contenedor p{
  font-size: var(--subtitulos);
  font-weight: 300;
  color: var(--colorAzul);
}

.after::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 500px;
  height: 2px;
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}


.after2::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 500px;
  height: 2px;
  background: var(--color1);
  margin-bottom: 10px;
}

.card{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.content-card{
  width: 31%;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  overflow: hidden;
  height:400px;
}

.people{
  height: 80%;
}

.content-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto-team{
  height: 20%;
  width: 100%;
  padding: var(--espacios) 0;
}



.ambiental{
    background: #2F7505;
  height: auto;
    width: auto;
}

.about{
  /*background: url(img/teclado.jpg);*/
  height: auto;
}

.catalogo{
  display: flex;
  color:#fff;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}

.cat{
  background: url(img/teclado.jpg);
  height: auto;
}

.caja-catalogo{
  width: 20%;
  margin: auto;
  text-align: center;
}



.servicios{
  display: flex;
  color:#fff;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}
.caja-servicios{
  width: 30%;
  margin: auto;
  text-align: center;
}
.caja-servicios>h4{
  margin-bottom: var(--espacios);
}

.caja-servicios>p{
  text-align: center;
}

.botones-work{
  overflow: hidden;
    font-family: 'Roboto', sans-serif;
    
}

.botones-work li{
  display: inline-block;
  text-align: center;
  margin: 5px;
  padding: 6px 12px;
  border: 1px solid var(--color1);
    border-radius: 5px;
  list-style: none;
  color: var(--color1);
}

.botones-work li:hover{
  background: var(--color1);
  color:#fff;
  cursor: pointer;
}

.botones-work .active{
  background: var(--color1);
  color:#fff;
}

.galeria-work{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.cont-work{
  width: 90%;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  height:auto;
  overflow: hidden;
  margin-bottom: var(--espacios-contenido);
}

.img-work{
  height: 90%;
  width: 100%;
}

.img-work img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.textos-work{
    text-align: left;
    line-height: 35px;
    padding: 20px;
    padding-left: 50px;
  height: auto;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    
}

.textos-work h4{
  line-height: inherit;
  font-weight: 300;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}


.tablaeco{
  
    background-color: #fff;
    padding: 20px;
    box-sizing: 50px;
    border-color: blueviolet;
    border-radius: 12px;
    
}

/* Footer */
.fondo{
    background:url(img/teclado.jpg);
}


footer{background:url(img/teclado.jpg);}


.fab{
  font-size:60px;
  color: #FFF;
  margin-bottom: var(--espacios);
  display: inline-block;
}

footer p{
  margin-top:var(--espacios);
}

@media screen and (max-width: 700px){
  .nav2{
    color: #fff;
  }
    

  .icono{
    display:block;
    cursor: pointer;
  }

  .enlaces{
    position: fixed;
    top:80px;
    background: #2c3e50;
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
     
  }

  .enlaces a{
    display: block;
    width: 100%;
    height: 50px;
    padding: 20px;
    text-align: center;
    background: #34495e;
    color:#fff;
  }

  .textos>h1{    
    font-size: 50px;
    margin: 20px;
    }
    
  .textos>h2{

      font-size: 20px;
    }

  .content-card{
    width: 48%;
    margin-bottom:var(--margenes);
  }

  :root{
    --margenes: 30px;
  }
}

@media screen and (max-width: 500px){
  :root{
    --espacios-contenido: 15px;
  }

  .content-card{
    width: 90%;
  }

  .caja-servicios{
    width: 90%;
    margin-bottom: var(--margenes);
  }

  .cont-work{
    width: 85%;
      
  }
    
   

  .marca-logo{
    width: 80%;
  }

  .iconos{
    margin: auto;
  }
}


.fuente1{
    font-size: 70px;
    font-family: 'Roboto', sans-serif;
}

.fuente2{
    font-size: 70px;
    color: whitesmoke;
    font-family: 'Roboto', sans-serif;
}

.fuente3{
    font-size: 17px;
    color: aliceblue;
    font-family: 'Roboto', sans-serif;
    margin-top: 10px;
}

.fuente4{
    margin-top: 10px;
    font-size: 15px;
    color: black;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: center;
}

.fuenteeco{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #365213;
    font-style: normal;
    text-align: center;
}

.fuenteul{
    font-size: 15px;
    color: #111E6C;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: center;
}

.fuentecontacto{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #FFDF00;
}

.fuentefooter{
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #F2BE11;
    line-height: 30px;
}

.pp{
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

.imgli{
    width: 90%;
    height: inherit;
}

.imglials{
    width: 30%;
    height: inherit;
}

.fuentebotones{
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: bold;
}

.imgservicios{
    width: 80%;
    height: inherit;
}

.imgserviciosp{
    width: 50%;
    height: inherit;
}



form{
    width: 450px;
    background-color: aliceblue;
    margin: auto;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 7px;
    margin-top: 10px;
}

input, textarea{
    width: 100%;
    margin-bottom: 10px;
    padding: 7px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.textarea{
    resize:none;
    height: 100px;
}

a.btnambiental {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
    background-color: #76A62E;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    width: 20%;
    border-radius: 7px;
    padding: 5px;
    margin: 15px;
    
}


a.btnambiental:hover{
    background-color: #2F7505;
    cursor: pointer;
}



#btnenviar{
    background-color: #FFBF1C;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    width: 30%;
    border-radius: 7px;
}

#btnenviar:hover{
    background-color: whitesmoke;
    cursor: pointer;
}

@media (max-width: 700px){
    form{
        width: 90%;
    }
}



.parallax {
  /* The image used */
  background-image: url("img/fabrica.jpg");

  /* Set a specific height */
  height: 180px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}



.fondoPA{
    background: linear-gradient(to bottom,
  rgba(2, 38, 1, .45),
  rgba(38, 38, 38, .45),
 rgba(2, 38, 1, .45)
  ), url(img/fabrica.jpg);
    background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.textosPA{
    font-size:40px;
    color:#fff;
    overflow: hidden;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    margin: 20px;
}

a.btnregresar{
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

   
  
    text-decoration: none;
    color: initial;
    text-align: center;
    background-color: #FFBF1C;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    width: auto;
    border-radius: 12px;
    padding: 5px;
    margin-top: 25px;
    margin-left: 20px;
    background-repeat:no-repeat;
  
    
}


a.btnregresar:hover{
    background-color: #76A62E;
    color: white;
    cursor: pointer;
}

.contenedorPA{
    margin-top: 20px;
  margin:auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}

.tablaPA{
    background-color: #fff;
    padding: 50px;
    box-sizing: 50px;
    border-color: blueviolet;
    border-radius: 12px;
    
}

.fuentePA{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: black;
    font-style: normal;
    text-align: justify;
}

.fuentePAF{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: black;
    font-style: normal;
    text-align: left;
}

.fuentePAC{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: black;
    font-style: oblique;
    text-align: center;
}


.fuentePAC1{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #F27507;
    font-style: oblique;
    text-align: center;
}

.fuentePAT{
    font-size: 16px;
    font-family: 'Fjalla One', sans-serif;
    color: black;
    font-style: normal;
    text-align: center;
}

.fuenteecoPA{
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #365213;
    font-style: normal;
    text-align: left;
}

.ul{
    
  list-style-image: url("img/hojita.png");

}