/*GENERALES*/

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

body{
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.contenedor{
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.titulo-seccion{
  text-align: center;
  margin-bottom: 40px;
}

.titulo-seccion h2{
  color: #149639;
  font-size: 3.125rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.titulo-seccion p{
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
}

/*Boton Volver Arriba*/
.btn-volver-arriba{
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 30%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  margin-right: -60px;
  transition: all .4s ease;
}

.btn-volver-arriba a{
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 30%;
  text-align: center;
}

.btn-volver-arriba a i{
  font-size: 1rem;
  color: #fff;
  line-height: 40px;
}

/* ------ ENCABEZADO ------ */

.menu-bar-pc{
  width: 100%;
  min-height: 68px;
  border-bottom: 1px solid rgba(255,255,255, 0.15);
  padding: 0 36px;
  background: transparent;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo{
  display: inline-block;
  width: 200px;
}

.logo img{
  width: 100%;
  vertical-align: top;
}

.menu-principal a, .top-redes a{
  display: inline-block;
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.876rem;
  letter-spacing: 0;
  line-height: 1.5em;
  transition: all .3s ease;
}

.menu-principal a:last-child, .top-redes a:last-child{
  padding-right: 0;
}

.top-redes a i{
  font-size: 1rem;
}

.menu-principal a:hover, .top-redes a:hover{
  color: #69B42D;
}

.fixed-header{
  width: 100%;
  min-height: 68px;
  border-bottom: 1px solid rgba(204,204,204,0.5);
  padding: 0 36px;
  background: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all .4s ease;
  margin-top: -68px;
}

.fixed-header .menu-principal a, .fixed-header .top-redes a{
  color: #444444;
}

.fixed-header .menu-principal a:hover, .top-redes a:hover{
  color: #69B42D;
}

/*Mobile menu*/
.menu-mobile{
  display: none;
}

/* ------ MAIN ------ */

/*Banner principal*/

.main{
  width: 100%;
  margin-top: -68px;
}

.main .banner-principal{
  width: 100%;
  position: relative;
}

.main .banner-principal .banner{
  width: 100%;
  height: 100vh;
  background-image: url('../img/banner.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.main .banner-principal .texto-banner{
  display: inline-block;
  width: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.main .banner-principal .texto-banner h2{
  font-weight: 300;
  color: #fff;
  margin-bottom: 5px;
}

.main .banner-principal .texto-banner h1{
  font-size: 6rem;
  font-weight: 300;
  line-height: 80px;
  color: #fff;
  margin-bottom: 50px;
}

.main .banner-principal .texto-banner a{
  text-decoration: none;
  display: inline-block;
  padding: 8px 20px;
  background: #69B42D;
  color: #fff;
  transition: all .7s ease;
}

.main .banner-principal .texto-banner a:hover{
  background: #fff;
  color: #69B42D;
}

/*Acerca de*/

.main .acerca-de{
  background: #FFFFFF;
  padding-top: 60px;
  padding-bottom: 100px;
}

.main .acerca-de .contenedor{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;

}

.main .acerca-de .contenedor .titulo-seccion{
  width: 33.33%;
  text-align: left;
}

.main .acerca-de .contenedor .titulo-seccion h2{
  margin-bottom: 0;
}

.main .acerca-de .texto-acerca-de{
  width: 66.66%;
  text-align: justify;
}

.main .acerca-de .texto-acerca-de p{
  margin-top:20px;
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
}

.main .acerca-de .texto-acerca-de h5{
  margin-top:60px;
  color: #69B42D;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}


/*Servicios*/

.main .servicios{
  background: #F3F4FA;
  padding-top: 54px;
  padding-bottom: 108px;
}

.main .servicios .contenedor{
  display: flex;
  flex-direction:column;
  flex-wrap: wrap;
  justify-content: space-between;
}

.main .servicios .servicios-info h4{
  margin-top:20px;
  color: #69B42D;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.main .servicios .servicios-info p{
  margin-top: 20px;
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
}

.main .servicios .contenedor .texto-transporte .vehiculos{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: left;
  margin-top:40px;
}

.main .servicios .texto-transporte .vehiculos .icono-vehiculos{
  width: 5%;

}

.main .servicios .texto-transporte .vehiculos .icono-vehiculos i{
  font-size: 1rem;
  color: #000;

}

.main .servicios .texto-transporte .vehiculos .texto-vehiculos{
  margin-left: 3%;
    text-align: left;

}

.main .servicios .texto-transporte .vehiculos .texto-vehiculos p1{
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
}


/*Contacto*/

.main .contacto{
  padding: 100px 0;

}

.main .contacto .contenedor-formulario{
  background: #fff;
  min-height: 485px;
  border-radius: 3px;
  box-shadow: 0px 9px 32px -1px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.main .contacto .contenedor-formulario .formulario{
  width: 50%;
  padding: 70px;
}

.main .contacto .contenedor-formulario .formulario h2{
  font-size: 1.375rem;
  line-height: 24px;
  color: #149639;
  font-weight: 500;
  margin-bottom: 50px;
}

.main .contacto .contenedor-formulario .formulario p{
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.main .contacto .contenedor-formulario .formulario h1{
  color: #979797;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.main .contacto .contenedor-formulario .formulario form input[type="text"], .main .contacto .contenedor-formulario .formulario form input[type="email"]{
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  outline: none;
  width: 100%;
  margin-bottom: 10px;
  color: #979797;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.main .contacto .contenedor-formulario .formulario form textarea{
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  outline: none;
  width: 100%;
  max-width: 100%;
  max-height: 88px;
  min-height: 88px;
  color: #979797;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
}

.main .contacto .contenedor-formulario .formulario form input[type="submit"]{
  width: 100%;
  border: none;
  border: 1px solid #69B42D;
  padding: 8px;
  background: #69B42D;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .7s ease;
}

.main .contacto .contenedor-formulario .formulario form input[type="submit"]:hover{
  background: #fff;
  color: #69B42D;
}

.main .contacto .contenedor-formulario .foto{
  width: 50%;
  background-image: url('../img/foto-contacto.jpg');
  background-size: cover;
}

/*Validacion formulario*/

.main .contacto .contenedor-formulario .formulario form .error{
  display: none;
  color: #ff8c8c;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* ------ PIE DE PÁGINA ------ */

footer{
  background: #f3f4fa;
  padding: 54px 0;
  text-align: center;
}

footer .copy{
  color: #979797;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 15px;
}

footer .footer-redes a{
  display: inline-block;
  padding: 0 10px;
  color: #979797;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0;
  line-height: 1.5em;
  transition: all .3s ease;
}

footer .footer-redes a:hover{
  color: #69B42D;
}


/* ----- MEDIA QUERIES ----- */

@media screen and (max-width:1040px){
  /*Nuestro equipo*/
  .main .nuestro-equipo .titulo-seccion{
    margin-bottom: 60px;
  }
  .main .nuestro-equipo .equipo .persona-equipo{
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
  .main .nuestro-equipo .equipo .persona-equipo:first-child{
    top: -20px;
  }
  .main .nuestro-equipo .equipo .persona-equipo .foto{
    margin-right: 20px;
  }

  /*Sección información extra*/
  .main .info-extra .contenedor .info{
    width: 100%;
  }
  .main .info-extra .contenedor .foto{
    display: none;
  }
}

@media screen and (max-width: 900px){
  /*Encabezado*/
  .menu-bar-pc{
    display: none;
  }

  .menu-mobile{
    display: block;
    width: 100%;
    padding: 5px 18px;
    background: #fff;
    color: #444444;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }
  .menu-mobile .barra{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-mobile .barra .logo{
    width: 120px;
  }
  .menu-mobile .barra a i{
    font-size: 1.4rem;
    color: #444444;
  }

  .menu-mobile .menu-principal{
    width: 80%;
    display: block;
    position: fixed;
    top: 56px;
    left: -100%;
    border-bottom: 1px solid rgba(204,204,204,0.5);
    border-right: 1px solid rgba(204,204,204,0.5);
    box-shadow: 0px 1px 5px -1px rgba(0,0,0,0.2);
    background: #fff;
    text-align: center;
  }

  .menu-mobile .menu-principal a{
    display: block;
    padding: 10px;
    color: #444444;
    border-bottom: 1px solid rgba(204,204,204,0.5);
  }

  .menu-mobile .menu-principal a:hover{
    background: #f7f7f7;
  }
  .fixed-header{
    display: none;
  }

  /*Main*/
  .main{
    margin-top: 0;
  }

  /*Acerca de*/
  .main .acerca-de .contenedor .titulo-seccion, .main .acerca-de .contenedor .texto-acerca-de{
    width: 100%;
    text-align: center;
  }

  /*Contacto*/
  .main .contacto .contenedor-formulario .formulario{
    width: 100%;
    text-align: center;
  }

  .main .contacto .contenedor-formulario .foto{
    display: none;
  }

}

@media screen and (max-width:550px){
  /*Banner principal*/
  .main .banner-principal .texto-banner h1{
    font-size: 4rem;
  }
  /*Titulo secciones*/
  .titulo-seccion h2{
    font-size: 2.125rem;
  }
  /*Proyectos*/
  .main .proyectos .galeria-proyectos .proyecto{
    width: 49%;
  }
  /*Nuestro equipo*/
  .main .nuestro-equipo .equipo .persona-equipo{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /*Sección información extra*/
  .main .info-extra .contenedor .info .contenido-info{
    flex-wrap: wrap;
    text-align: center;
  }
  .main .info-extra .contenedor .info .contenido-info .icono-info{
    width: 100%;
    margin-bottom: 25px;
  }
  .main .info-extra .contenedor .info .contenido-info .icono-info i{
    font-size: 3.5rem;
  }
  .main .info-extra .contenedor .info .contenido-info .texto-info{
    margin-left: 0;
  }
  .main .info-extra .contenedor .info .contenido-info .texto-info h4{
    font-size: 1.175rem;
  }
  .main .info-extra .contenedor .info .contenido-info:first-child{
    margin-bottom: 40px;
  }
  /*Contacto*/
  .main .contacto .contenedor-formulario .formulario{
    padding: 70px 40px;
  }
}
