@font-feature-values{
    font-family: 'Montserrat', sans-serif;
}

body{
    overflow-x: hidden;
    background: url(imgg/fon-cat.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
@media screen and (max-width: 800px){
    body{
        overflow-x: hidden !important;
    }

}

.banner{
    width: 100%;
}
/* Navbar */
.bg-light{
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar .navbar-nav .nav-item{
    position: relative;
    font-size: 16px;
}
.navbar .navbar-nav .nav-item a{
    position: relative;
    font-size: 18px;
}
.navbar .navbar-nav .nav-item::after{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: -10 auto;
    content: '';
    background-color:#80171B;
    width: 0%;
    height: 2px;
    transition: all .5s;
}
.navbar .navbar-nav .nav-item:hover::after{
    width: 100%;
}

/* Fin Navbar */

/*animacion de botones*/
button{
    padding: 14px 19px;
    font-size: 15px;
    border: none;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    background: #80171B;
    border-radius: 5px;
    color: #fff;
    z-index: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.5s;
}

button::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: -50px;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff71, transparent);
    transition: all 1s;
    z-index: -1;
    transform: translate(-120px) skew(-20deg);
}

button:hover::before{
    transform: translate(300px)
    skew(-20deg);
}
button:active::before{
    animation: ripple 100ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes ripple {
    to {
        transform: scaleX(1);
    }
}
/*fin de animacion de botones*/


/*mision y vision*/
/*diseño desktop*/ 
.mivi{
    padding: 16px;
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 100px;

}
.titulo1{
    text-align: left;
    padding-right: 5%;
    color: #80171B;

}
.p1{
    text-align: justify;
    color: black;
    font-size: 19px;
}
.titulo2{
    text-align: left;
    padding-left: 5%;
    color: #80171B;
    border-color : #80171B;
    border-left: solid 4px;

}
.p2{
    color: black;
    text-align: justify;
    font-size: 19px;
}
/*fin de diseño desktop mivi*/

/*diseño movile*/ 
@media screen and (max-width: 800px){
    
    .mivi{
        display: block;

    }
    .titulo1{
       border-bottom: solid 2px;
       border-color: #80171B;
       border-right: none;
       padding-right: 0px;
       text-align: center;
    }

    .titulo2{
        border-top: solid 2px;
        border-color: #80171B;
        border-left: none; 
        padding-left: 0px;
        text-align: center;
        
    }
    .titulo2 h1{
        margin-top: 10px;
    }

}
#servicios{
    background: #80171B;
}
/*fin de diseño movil para mivi */

/*proyectos*/

@media screen and (max-width: 800px){
    
    .container-proy{
        display: block !important;
    
    }
    .tit-proy{
        width: 100% !important;
    }

}

.container-proy{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url(imgg/fond-proy.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 80px;
}

.proy{
    width: 50%;
    padding-right: 60px;
}
.tit-proy{
    width: 45%;
    padding-left: 10px;
    color: #80171B  ;
    text-align: center;
    border-radius: 15px;
    padding-right: 10px;
    

}

.btn-proy{
    margin-left: 13%;
    transition: 0.5s;
}
.btn-proy:hover{

    transform: scale(1.1);

}
.proy-prim{
    font-size: 35px;
    font-weight: bold;
    margin-top: 20px;
    justify-content: justify;
    text-shadow: 1px 1.5px 3px white;

}

/*fin de proyectos*/

.tit_aliado{
    text-align: center;
    color: #80171B;
    padding-top: 70px;
    font-weight: bold;
    padding-bottom: 50px;
}

/*footer*/

.pie-pagina{
    width: 100%;
    background-color: #ffff;
    padding-top: 10px;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: black;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: black;
    margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: aqua;
}
.pie-pagina .grupo-2{
    background-color: #80171B;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}
.red-social img{
    transition: .2s;
}

.red-social img:hover{
transform: scale(1.2);

}
/*fin del footer*/

/*Slider clientes*/
.slider-clientes {
    display: flex;
    overflow-x: hidden !important;
    margin-bottom: 30px;
    overflow-y: hidden !important;
  }
  
.slide-clientes {
    width: 20%;
    margin-right: 3%;
    height: 200px;
    animation: slide-c 35s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
  }
.slider-clientes img{
    max-width:200px;
    max-height: 200px;
    transition: .2s;

  }
.slider-clientes img:hover{
    scale: 1.1;


  }
.tit-slider{
    width: 100%;
    padding-left: 30px;
    color: #80171B  ;
    text-align: center;
    border-radius: 15px;
    box-shadow: 3px solid black;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
    
  }
@keyframes slide-c{
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-2650%);
    }
}

@media screen and (max-width: 800px){
    
    .slider-clientes {
        display: flex;
      }
    .slide-clientes {
        width: 50%;
        margin-right: 10%;
        height: 200px;
        animation: slide-c 15s ease-in-out infinite alternate;
    }
    .slider-clientes img{
        max-width:  100px;
        height: 100px;
      }
      @keyframes slide-c {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-2500%);
        }
    }
}
/*Fin Slider clientes*/

/*engranajes*/

  /*menu*/
  
.faq-container {    
    max-width: 800px;
    margin: 50px auto 0 auto;
    padding: 2rem;
  }

  .faq-container h2 {
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #80171B;
    font-weight: bold;
  }
  details { 
    background-color: #f0f0f0;
    width: 100%;
    margin-bottom: 1rem;   
    border-radius: 8px;  
    border: 1px solid #d8e0e9;
    color: #80171B;
    position: relative; 
    box-shadow: 2px 2px 5px black ; 
    transition: 0.2s;
  }

  details summary {  
    font-weight: 400;
    font-size: 1.25rem;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
  }
  details p {
    padding: 1rem;
    margin: 0 1rem 1rem 1rem;
    background: #dadada;
    border-left: 2px solid #80171B;
    color: black;
  }
  
  details:hover, details[open] {
    box-shadow: 5px 5px 10px #000000;
    scale: (0.5);
  }
  
  details[open] {
    background: #f1f1f1;
  }

  .prueba{
    width: 20%;
    height: 10%;
    font-size: 13px;
    display: flex;
  }
  
  details summary::before {
    position: absolute;
      content: "+";    
      font-size: 1.75rem;
      top: 10px;
      right: 16px;
  }
  
  
  
  /*fin menu*/

.cont-engra{
    padding-bottom: 80px;
}
.tit-ofrecemos{

    width: 100%;
    color: #80171B  ;
    text-align: center;
    font-weight: bold;
    font-weight: bold;
    padding-top: 80px;

}
.pa-ofrecemos{
    width: 100%;
    color: black  ;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 20px;
}

@media screen and (max-width: 800px){
    
    .arrow_1 , .container{
        display: flex;
        justify-content: center;
        animation-play-state:paused;
        padding-left: 50px !important;
        
      }
      .arrow-1, .arrow-2 , .arrow-3 , .arrow-4 {
        position: relative;
        animation: arrowFadeIn 2s;
        animation-play-state: paused;
        width: 130px !important;
        height: 90px !important;
        padding-left: 15px !important;
        display: flex;
        left: -6% !important;
        
    }
    .pa-ofrecemos{
        color: black  ;
        text-align: center;
        font-size: 16px;
    }

}
    .arrow_1 {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        margin-top: 10px;
        overflow-x: hidden;
    }
    .ar1{
        width:850px;
        margin-right: 95px;
    }
    .ar2{
        width:850px;
        margin-right: 95px;
        padding-bottom: 10px;
    }
    .container {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .container img{
        width: 250px;
        height: 150px;
    }

    .arrow-1, .arrow-2 , .arrow-3 , .arrow-4 {
        position: relative;

    }
    .arrow-2 {
        margin-left: -40px;
    }
    .arrow-3 {

        margin-left: -40px;
    }
    .arrow-4 {

        margin-left: -40px;
    }

 /*fin de engranajes*/


 /*Chatbot 2*/
 #init{
    margin-top: 2rem;
    background: #ffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: aliceblue;
    cursor: pointer;
    position: fixed;
    bottom: 3%;
    right: 1%;
    z-index: 90;
    max-width: 80px;
    max-height: 80px;
    border-radius: 100%;
    box-shadow: 0 0 5px black;
    overflow-x: hidden;
}
#init img{
height: 80px;
right: 46%;
position: relative;
}
.desc p{
    color: rgb(133,153,168);
    margin: 0;
    font-weight: 600;
}

.bot-img{
    width: 20rem;
    height: 20rem;
}
.child{
    box-shadow: 0 0 5px black;
    border-radius: 15px;
    height: 450px;
    width: 300px;
    margin: auto;
    background: white;
}
.header-bot img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0 0.5rem;

}
.header-bot{
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    color: white;
    border-bottom: 1px solid whitesmoke;
    background: #80171B;
    width: 100%;
    padding: 5px 0;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    z-index: 1;
    box-shadow: 0 0 2px rgb(175,175,175);
}
.footer-bot{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #80171B;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 3px rgb(153,153,153);
}
.h-child{
    display: flex;
    align-items: center;
}
.header-bot span{
    font-size: 13px;
    margin: 0;
    padding: 0;
}
.refBtn{
    position: absolute;
    bottom: 1.5rem;
    right: 2%;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#chat-box{
    position: relative;
    top: 40px;
    padding: 40px 10px;
    font-size: 12px;
    height: 24.2rem;
    overflow: auto;
    background: white;
    text-align: center;

}

.msg{
    background: lightgray;
    padding: 5px 7px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 14px;
    color: black;
    box-shadow: 0 0 2px black;
    max-width: 65%;
    text-align: left;

}
.test{
    text-align: right;
    margin: 10px 0;
 
}
.hover-whats:hover{
    text-decoration-line: underline;
    text-decoration-color: lawngreen ;

}
.rep{
    background: #80171B;
    color: white;
    padding: 5px 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 14px;
    box-shadow: 0 0 3px black;
    padding: 10px;
    border: solid 1px black;
}
.opt{
    padding: 5px 20px;
    border: 1px solid black;
    border-radius: 1rem;
    margin: 0.3rem 0.5rem;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
    background: #80171B;
    text-align: center;
    font-size: 14px;
    color: white;
}
.opt a{
    color: white;
    text-decoration: none;
}
.link{
    text-decoration: none;
    display: block;
    text-align: center;
    color: aliceblue !important;
    background: blueviolet;
}
.m-link{
    text-decoration: none;
}
.link:active{
    background: white;
    border: 1px solid blueviolet;
    color: blueviolet;
}
@media (prefers-reduced-motion: no-preference){
    :root {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }
    }
 /*fin chatbot 2*/

 /*menu aliados*/

 #aliados{
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url(imgg/fond-proy.jpg);
    padding-top: 100px;
    padding-bottom: 100px;
    background-attachment: fixed;
 }
 
.cort{
    display: flex;
    padding: 18px;
}

.div-cort{
    align-content: center;
}

button.accordion {
    background-color: #f0f0f0;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 80%;
    box-shadow: 0 0 3px #0000;
    text-align: left;
    font-size: 15px;
    transition: all 1s;
    margin-right: 20px;
}

@media screen and (max-width: 800px){
    .cort{
        width: 450px;
        display: block !important;
    }

    #aliados img{
        width: 150px;
    }

}

button.accordion.active, button.accordion:hover {
    background-color: #f0f0f0f0;
}

button.accordion:after {
    content: '\02795';
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after {
    content: "\2796";
}

div.panel {
    padding: 1rem;
    max-height: 0;
    opacity: 0;
    
}

div.panel.show {
    opacity: 1;
    max-height: 85%;
    max-width: 80%;
    background: #dadada;
    border-radius: 0px 0px 5px 5px;
    transition: all 0.8s;
}

div .athd{
    padding: 1rem;
    background: #f0f0f0;
    border-radius: 0px 10px 10px 0px;
    box-shadow: 0 0 1px #000;
}
.cort2{
    border-left: 3px solid #80171B;
}
/*fin menu aliados*/

