#main-menu{
  position: fixed;
  top: 0;
  max-height: 100px;
  z-index: 1000;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  transition: all .5s;
}
#main-menu .menu-toggler{
  display: none;
  width: fit-content;
  padding: .7rem;
  background-color: transparent;
  margin: 0 1rem;
  color: white;
}
#main-menu .navigation{
  display: flex;
  justify-content: end;
  align-items: center;
  transition: all 500ms;
  height: 0;
}
#main-menu .navigation.open{
  height: 250px;
}
#main-menu.for_white .nav-link{
  color: #316ae1;

}
#main-menu.for_white .nav-link:hover{
  color: #333333;
}
#main-menu .logo-container{
  background-image: url(../assets/img/logotipo.png);
  width: 200px;
  height: 55px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#main-menu.for_white .logo-container{
  background-image: url(../assets/img/logotipo_azul.png);
}
#main-menu.fixed-top{
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #1b1b1bbb;
}
#main-menu.fixed-top.for_white{
  background-color: #ffffffbb;
}
button{
  border: none;
}
#cabecera{
  display: block;
  position: relative;
  margin: 0;
  min-height: 100vh;
  margin-bottom: 3rem;
}
.isotipo{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(../assets/icons/isotipo.svg);
  background-position: top right;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-video{
  min-height: 100vh;
  position: absolute;
  width: 100%;
  height: 110%;
  top: 0;
  left: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
}
.bg-video video{
  width: 100%;
  height: auto;
}

.high{
  position:relative;
  font-size: 5em;
  display: block;
  width: fit-content;
  -webkit-text-stroke: 1px #d1d1d1;
  color: transparent;
  font-weight: 900;
}
.posthigh{
  position:relative;
  font-size: 3em;
  display: block;
  width: fit-content;
  font-weight: 900;
}
.subhigh{
  position:relative;
  font-weight:900;
  font-size:2.5em
}
.lesshigh{
  position:relative;
  font-weight:500;
  font-size:1.5em
}
.desfase{
  margin-top: -3rem;
}
.back-header{
  color: transparent;
  font-weight: 900;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: fit-content;
  font-size: 4rem;
  margin-top: -2rem;
}
.back-header.black{
  -webkit-text-stroke: 1px black;
}
.back-header.white{
  -webkit-text-stroke: 1px white;
}

.back{
  display: block;
  width: fit-content;
  position: absolute;
  -webkit-text-stroke: 2px #d1d1d1;
  color: transparent;
  font-size: 5rem;
  top: -10%;
  right: -10%;
  z-index: -1;
}
.bg_blue{
  background-color: #316ae1;
  color: #fff;
}
.bg_gray{
  background-color: #504f53;
  color: white;
}
.bg_light_gray{
  background-color: #d1d1d1;
  color:black;  
}
.tx_blue{
  color: #316ae1;
}
.service-header{
  font-weight: 900;
  font-size: 2rem ;
}
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible;
}
#loading.hide{
  visibility: hidden;
}
#main-body{
  visibility: hidden;
}
#main-body.show{
  visibility: visible;
}
#slider3{
  border-left:1rem solid #316ae1;
  border-right: 1rem solid #316ae1;
}
#submenu{
  background-color: #316ae1;
  border-bottom: 1rem solid #1c3c81;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: all .5s;
}
#submenu.fixed-top{
  position: fixed;
  top: 88px;
  z-index: 1000;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#submenu ul{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#submenu li{
  list-style: none;
  margin: 0;
  padding: 0;
}
#submenu a{
  color: white;
  text-decoration: none;
  font-weight: 900;
}
#cabecera::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background: linear-gradient(to right top, #00000033, #000000FF);
  z-index: -1;
}
#section4{
  margin-top: 5rem;
}

#section4 .proyecto{
  margin: 0 1rem;
}

#section4 .detalle, #section8 .descripcion{
  display: block;
  color: #316ae1;
  margin-top: -3rem;
  padding: 1rem;
  width: fit-content;
  background-color: #d1d1d1;
  text-align: end;
  right: 0;
  float: right;
  clear: both;
  z-index: 2;
  position: relative;
}
#section4 .detalle h4, #section8 .descripcion h4{
  font-weight: 900;
}
#section8 .proyecto{
  position: relative;
  overflow: hidden;
}
#section8 .proyecto h4{
  font-size: 1rem;
}
#section8 .proyecto p{
  font-size: .8rem;
}
#section8 .proyecto ul{
  font-size: .8rem;
  padding-left: 1rem;
}
#section8 .proyecto .detalle{
  position: absolute;
  width: 80%;
  height: 100%;
  right: -80%;
  top: 0;
  z-index: 4;
  background-color: #031c53e3;
  color: white;
  padding: 2rem;
  transition: all .7s;
}
#section8 .proyecto .detalle h4{
  border-bottom: 1px solid white;
  text-transform: capitalize;
  line-height: 2rem;
  font-weight: 900;
}
#section8 .proyecto:hover .detalle{
  right: 0;
}

#section2{
  background-image: url(../assets/img/pg1sec2bg.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  padding-bottom: 15rem;
}
#section2 .mesa{
  height:300px;
  border-right: 3rem solid #504f53; 
  background-repeat: no-repeat; 
  background-position: center; 
  background-size:cover;
}

#section7{
  min-height: 100vh;
  color: white;
  display: block;
  position: relative;
  margin: 0;
  overflow: hidden;
}

#section7 .bg{
  background-image: url(../assets/img/servicios/br-servicios.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: animationFadeh 10s infinite linear;
  width: 100%;
  height: 100%;
  position: absolute;
}

#section6, #section5{
  background: linear-gradient(90deg, #FFFFFF 50%, gray 0, gray 100%);
}

.mapa{
  background-image: url(../assets/img/mapa.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-right: 1em solid #316ae1;
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 500px;
}
#section10 .mapa{
  background-image: url(../assets/img/mapa.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  min-height: auto;
  height: 500px;
  border-right: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer{
  background-color: #1b1b1b;
  color: white;
}

.logo-footer{
  width: 250px;
  height: auto;
  margin: 1rem;
}
.footer-link{
  color: white;
  padding: .5em;
  font-weight: 100;
  text-decoration: none;
}
.service{
  margin-left: 100px;
  position: relative;
}
.service::after{
  position: absolute;
  top: 0;
  left: -100px;
  width: 80px;
  height: 80px;
  padding: 10px;
  background-image: url(../assets/icons/machine.png);
  background-position: center;
  background-size: cover;
  content: "";
}
.service_tx{
  margin-left: 100px;
  font-weight: 300;
  text-align: justify;
}

.nav-link{
  color: white;
  padding: 1em;
}
.nav-link:hover{
  color: #316ae1;
}
.zoomer{
  background-image: url(../assets/img/servicios/maquina.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size:  100% auto;
  width: 100%;
  height: 100%;
  animation: animationFadeh 10s infinite linear;
}

@keyframes animationFadeh {
  0% {
      transform: scale(1);
  }

  10% {
      transform: scale(1.05);
  }

  20% {
      transform: scale(1.1);
  }

  30% {
      transform: scale(1.15);
  }

  40% {
      transform: scale(1.2);
  }

  50% {
      transform: scale(1.2);
  }

  90% {
      transform: scale(1);
  }

  100% {
      transform: scale(1);
  }
}

#mision{
  background-image: url(../assets/img/pg2sec2bg.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  min-height: 100vh;
}
#compromiso{
  margin-top: 10rem;
}

.usbg1{
  margin-left: calc(100%/12);
  margin-right: calc(100%/12);
}

.usbg2{
  background-color: #1b1b1b;
  background-image: url(../assets/img/pg2sec2bg2.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: white;
  padding: 4rem;
}
.my-btn{
  text-decoration: none;
   display: block;
   width:fit-content;
}
.info-contacto{
  margin-top: 100px; 
  margin-bottom: 100px;
}
@media (max-width: 992px){
  .bg-video video{
    width: auto;
    height: 100%;
  }
  .nav-link{
    padding: 0.5rem;
  }
}
@media (max-width: 768px) {
  #main-menu .menu-toggler{
    display: block;
  }
  #main-menu .navigation{
    flex-direction: column;
    background-color: white;
    height: 0;
    overflow: hidden;
  }
  
  #main-menu .nav-link, #main-menu.for_white .nav-link, #main-menu.for_white .menu-toggler{
    color: #316ae1;
    padding: 0.7rem;
  }
  #main-menu.for_white .nav-link:hover{
    color: #333333;
  }
  #main-menu .logo-container{
    width: 150px;
    height: 40px;
    margin: 0 1rem;
    background-size: contain;
  }
  #main-menu.fixed-top{
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #1b1b1bff;
  }
  #main-menu.fixed-top.for_white{
    background-color: #ffffffff;
  }
  #submenu{
    display: none;
  }
  #cabecera{
    margin-bottom: 0;
  }
  #cabecera::after {
    background: linear-gradient(to right top, #00000033, #000000bb);
  }
  #mision{
    background-size: cover;
    background-color: white;
    background-image: none;
  }
  #compromiso{
    margin-top: 3rem;
  }
  
  #compromiso p{
    font-size: 1rem;
    font-weight: 100;
    text-align: justify;
  }
  #compromiso .usbg2{
    padding: 2rem;
  }
  .back-header{
    font-size: 2rem;
    margin-top: 0;
  }
  .back-header.bigger{
    font-size: 3rem;
    top:-1rem;
    left:40%;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #section2 .mesa{
    border-right: none;
  }
  .high{
    font-size: 3em;
  }
  .subhigh{
    font-weight:600;
    font-size:1.75em;
    padding: 1rem 0;
  }
  .bg-video{
    height: 100%;
  }
  .bg-video video{
    width: auto;
    height: 100%;
  }
  .desfase{
    margin-top: 0;
  }
  .mapa{
    min-height: 350px;
  }
  .service{
    margin-left: 60px;
  }
  .service::after{
    position: absolute;
    top: 0;
    left: -60px;
    width: 50px;
    height: 50px;
    padding: 5px;
    background-image: url(../assets/icons/machine.png);
    background-position: center;
    background-size: cover;
    content: "";
  }
  .service_tx{
    margin-left: 60px;
  }
  .info-contacto{
    margin-top: 0; 
    margin-bottom: 0;
  }
}
@media (max-width: 556px) {
  #section2{
    background-size: auto 100%;
    background-attachment: fixed;
  }
  .high{
    font-size: 2.3em;
  }
  .subhigh{
    font-weight:600;
    font-size:1.5em;
  }
  .posthigh{
    font-size: 1.7em;
    font-weight: 900;
  }
  .lesshigh{
    font-size:1.2em
  }
  .footer-link{
    text-align: center;
  }
}
