*{
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Ubuntu",sans-serif;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

h1{
  text-align: center;
  padding: 40px 0 30px 0;
  font-size: 30px;
  font-weight: 400;
  color: #587E92;
}

p{
  font-weight: 100;
  font-size: 16px;
  width: 850px;
  text-align: center;
  margin: auto;
}

.repText{
  padding-bottom: 30px;
}

.wppIcon img{
  width: 100%;
  height: auto;
}

.wppIcon {
  position: fixed;
  right: 26px;
  bottom: 150px;
  width: 50px;
  z-index: 90000;
  border-color: #4f9e4f;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 0 #4f9e4f inset, 0 0 0 0 #4f9e4f;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}
.wppIcon:hover {
  box-shadow: 0 0 15px 0 #4f9e4f inset, 0 0 15px 0 #4f9e4f;
}


/* ----------- NAVBAR ------------ */

.navbar{
  position: fixed;
  background-color: transparent;
  width: 100%;
  padding: 30px 0;
  top: 0;
  z-index: 999;
  transition: .3s linear;
}

.inner-width{
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

.navbar .inner-width{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  width: 215px;
  height: 50px;
  background-image: url(../img/logo.png);
  background-size: contain;
}

.menu-toggler{
  background: none;
  width: 30px;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  z-index: 999;
  display: none;
}

.menu-toggler span{
  display: block;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  position: relative;
  transition: .3s linear;
}

.navbar-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-left: 30px;
  transition: .2s linear;
}

.navbar-menu a:hover {
    color: #587E92 !important;
  }

.sticky{
  background-color: rgba(0, 0, 0, .6);
  padding: 12px 0;
}

.sticky .logo{
  background-image: url(../img/logo.png);
}

.sticky .navbar-menu a{
  color: #ffff;
}

.sticky .menu-toggler span{
  background-color: #ffff;
}


/* ----------- SLIDER ------------ */

.banner{
  position: relative;
  width: 100%;
  height: 75vh;
  background-color: #F5F5F5;
  background-size: cover;
  background-position: center;
  transition: all .1s ease-out;
  background-image: url('../img/slider/banner1.jpg');
  -webkit-animation: banner 20s infinite linear;
  -o-animation: banner 20s infinite linear;
  -ms-animation: banner 20s infinite linear;
  -moz-animation: banner 20s infinite linear;
  animation: banner 20s infinite linear;
}
.banner-content{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  color: #FFF;
  background-color: rgba(0, 22, 40, .6);
  display: flex;
  -webkit-display: flex;
  -ms-display: flex;
  -o-display: flex;
  -moz-display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  -moz-flex-direction: column;
  justify-content: center;
  align-items: center;
}
.banner-content h1{
  margin: 0;
  padding: 0;
  width: 80vw;
  padding-bottom: 30px;
  font-size: 40px;
  text-align: center;
  font-weight: lighter;
  color: #fff;
}
.banner-content a{
  text-decoration: none;
  color: #FFF;
  padding: 9px 20px;
  border: 1px solid #FFF;
  text-transform: uppercase;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.banner-content a:hover{
  background-color: #fff;
  color: #333;
}

.marcas{
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
}

@-moz-keyframes banner{
  0%{
    background-image: url('../img/slider/banner1.jpg');
  }
  25%{
    background-image: url('../img/slider/banner1.jpg');
  }


  26%{
    background-image: url('../img/slider/banner2.jpg');
  }
  50%{
    background-image: url('../img/slider/banner2.jpg');
  }


  51%{
    background-image: url('../img/slider/banner3.jpg');
  }
  75%{
    background-image: url('../img/slider/banner3.jpg');
  }
  

  76%{
    background-image: url('../img/slider/banner4.jpg');
  }
  100%{
    background-image: url('../img/slider/banner4.jpg');
  }

}

@-webkit-keyframes banner{
  0%{
    background-image: url('../img/slider/banner1.jpg');
  }
  25%{
    background-image: url('../img/slider/banner1.jpg');
  }


  26%{
    background-image: url('../img/slider/banner2.jpg');
  }
  50%{
    background-image: url('../img/slider/banner2.jpg');
  }


  51%{
    background-image: url('../img/slider/banner3.jpg');
  }
  75%{
    background-image: url('../img/slider/banner3.jpg');
  }
  

  76%{
    background-image: url('../img/slider/banner4.jpg');
  }
  100%{
    background-image: url('../img/slider/banner4.jpg');
  }

}


@keyframes banner{
  0%{
    background-image: url('../img/slider/banner1.jpg');
  }
  25%{
    background-image: url('../img/slider/banner1.jpg');
  }


  26%{
    background-image: url('../img/slider/banner2.jpg');
  }
  50%{
    background-image: url('../img/slider/banner2.jpg');
  }


  51%{
    background-image: url('../img/slider/banner3.jpg');
  }
  75%{
    background-image: url('../img/slider/banner3.jpg');
  }
  

  76%{
    background-image: url('../img/slider/banner4.jpg');
  }
  100%{
    background-image: url('../img/slider/banner4.jpg');
  }

}

#animH1::after{
  content: "Porteria y vigilancia";
  -webkit-animation: textanim 20s linear infinite;
  -moz-animation: textanim 20s linear infinite;
  -o-animation: textanim 20s linear infinite;
  -ms-animation: textanim 20s linear infinite;
  animation: textanim 20s linear infinite;
  font-weight: 600;
}

@-moz-keyframes textanim{
  0%{
    content: "Seriedad y profesionalismo";
  }
  25%{
    content: "Seriedad y profesionalismo";
  }


  26%{
    content: "Porteria y vigilancia 2";
  }
  50%{
    content: "Porteria y vigilancia 2";
  }


  51%{
    content: "Control y Monitoreo";
  }
  75%{
    content: "Control y Monitoreo";
  }
  

  76%{
    content: "Limpieza y Conserjería";
  }
  100%{
    content: "Limpieza y Conserjería";
  }
}

@-webkit-keyframes textanim{
  0%{
    content: "Seriedad y Profesionalismo";
  }
  25%{
    content: "Seriedad y Profesionalismo";
  }


  26%{
    content: "Portería y Vigilancia";
  }
  50%{
    content: "Portería y Vigilancia";
  }


  51%{
    content: "Control y Monitoreo";
  }
  75%{
    content: "Control y Monitoreo";
  }
  

  76%{
    content: "Limpieza y Conserjería";
  }
  100%{
    content: "Limpieza y Conserjería";
  }
}

@keyframes textanim{
  0%{
    content: "Seriedad y Profesionalismo";
  }
  25%{
    content: "Seriedad y Profesionalismo";
  }


  26%{
    content: "Portería y Vigilancia";
  }
  50%{
    content: "Portería y Vigilancia";
  }


  51%{
    content: "Control y Monitoreo";
  }
  75%{
    content: "Control y Monitoreo";
  }
  

  76%{
    content: "Limpieza y Conserjería";
  }
  100%{
    content: "Limpieza y Conserjería";
  }
}

/* ----------- SERVICIOS ------------ */

.servicios{
  width: 100%;
  margin-top: 40px;
}

.service{
  display: flex;
  width: 100%;
  align-items: center;
}

.service div{
  flex: 2;
  margin: 0 auto;
}

.width{
  width: 80%;
}

.service div img{
  width: 100%;
}

.service div h2{
  text-align: left;
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 400;
  color: #587E92;
}

.service div p{
  width: 100%;
  text-align: left;
}

ul li{
  text-align: left;
  list-style-type: circle;
}

.centrarServ{
  text-align: center;
  width: 1200px;
  margin: auto;
  padding-bottom: 40px;
}

.container {
    position: relative;
    width: 300px;
    height: 200px;
    display: inline-block;
    margin: 15px;
}

.image {
    display: block;
    width: 300px;
    height: 200px;
    border-radius: 4px;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    width: 80%;
}


/* ----------- PARALLAX ------------ */

.parallax {
  background-image: url('../img/frente1.jpg');
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* ----------- NOSOTROS ------------ */

.nosotros{
  display: flex;
  width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 80px;
}

.art-claro{
  width: 33%;
  background-color: #F2F2F2;
  padding: 30px;
}

.art-claro p{
  width: initial;
  text-align: left;
}

.art-claro h1{
  display: inline-block;
  font-size: 45px;
  color: grey;
}

.art-claro h3{
  padding: 0;
  display: inline-block;
}

.art-oscuro{
  width: 34%;
  background-color: #DDDDDD;
  padding: 30px;
}

.art-oscuro p{
  width: initial;
  text-align: left;
}

.art-oscuro h1{
  display: inline-block;
  font-size: 45px;
  color: grey;
}

.art-oscuro h3{
  padding: 0;
  display: inline-block;
}

/* ----------- CLIENTES ------------ */

.clients{
  width: 80%;
  margin: 0 auto;
  margin-bottom: 40px;
}
.clientes{
  display: flex;
  justify-content: center;
}

.clientes img{
  width: 150px;
  height: 150px;
  padding: 20px;
}


/* ----------- FOOTER ------------ */

.centrarFooter{
  width: 1200px;
  margin: auto;
}

footer iframe{
  display: inline-block;
  margin-top: 20px;
}

footer{
  background: #f7f7f7;
}

.copyr {
    width: 1200px;
    color: grey;
    font-size: 14px;
    font-weight: 400;
    padding: 25px;
}

.contact{
  float: right;
  margin-top: 100px;
}

h3{
  font-size: 17px;
  font-weight: 400;
  color: grey;
  padding-left: 25px;
  text-decoration: none;
}

.infoFooter{
  width: 360px;
  display: flex;
  align-items: center;
  margin: 10px;
}

/* ----------- RESPNSIVE ------------ */

@media screen and (max-width: 1400px){

.clientes{
  flex-wrap: wrap;

}
}


@media screen and (max-width: 1200px){
  
  .centrarServ{
  width: 90vw;
}

  .centrarFooter{
    width: 90vw;
  }

  footer iframe{
  width: 50%;
}

  .contact{
    width: 40%;
  }
  .infoFooter{
    width: 100%;
  }
  .copyr{
    width: 90%;
  }

  .nosotros{
    width: 100%;
  }

}

@media screen and (max-width: 980px){

  p{
    width: 90%;
  }
  
  .wppIcon{
    position: fixed;
    left: 20px;
    bottom: 16px;
    width: 65px;
    }

  .menu-toggler{
    display: block;
  }

  .navbar-menu{
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #353b48;
    top: 0;
    right: -100%;
    max-width: 400px;
    padding: 80px 50px;
    transition: .3s linear;
  }

  .navbar-menu a{
    display: block;
    font-size: 30px;
    margin: 30px 0;
  }
  
  .navbar-menu.active{
    right: 0;
  }

  .menu-toggler.active span:nth-child(1){
    transform: rotate(-45deg);
    top: 4px;
  }

  .menu-toggler.active span:nth-child(2){
    opacity: 0;
  }

  .menu-toggler.active span:nth-child(3){
    transform: rotate(45deg);
    bottom: 14px;
  }

  .marcas{
    display: none;
  }

  footer iframe{
  width: 100%;
}

  .contact{
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 700px){

.service{
    flex-direction: column-reverse;
    padding: 10px;
  }

  .service2{
    flex-direction: column;
  }

  .nosotros{
    flex-direction: column;
    margin-bottom: 0;
  }

  .art-oscuro{
    width: 100%;
  }

  .art-claro{
    width: 100%;
  }
}

@media screen and (max-width: 420px){

  .banner{
    background-image: url('../img/slider/banner2.jpg');
    -webkit-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    -moz-animation: none !important;
    animation: none !important;    
  }

  @-moz-keyframes banner{
    0%{
    background-image: url('../img/slider/banner2.jpg');
  }
  25%{
    background-image: url('../img/slider/banner2.jpg');
  }
}
  .parallax{
    background-attachment: scroll !important;  
  }
}

@media screen and (max-width: 380px){

  .container{
    margin: 0;
    margin-bottom: 5px;
    width: 80vw;
  }
  
  .image{
    width: 80vw;
  }
}


