@import url('https://fonts.googleapis.com/css2?family=Sansita:wght@400;700;800&display=swap');
*{
    font-family: 'Sansita', sans-serif;
    text-transform: capitalize;
    text-decoration: none;
    outline: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
        font-family: 'Poppins', sans-serif;
}

/* Estilo icon wsp */

a.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-size: 30px;
    color: #fff;
    background-color: #25d366;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }
  
  a.whatsapp:hover {
    background-color: #128c7e;
  }

/* img fondo inicio */
header{
    width: 100%;
    height: 40vh;
    background-image: url(../img/headerconocenosoficial.jpeg);
    background-size: cover;
    background-position: center;
}
/* barra de navegacion */
.nav{
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.5s ease;
}
.nav.active{
    background: #fff;
    padding: 15px;
    box-shadow: 0 .2rem 3.5rem rgb(0, 0, 0, .4);
    z-index: 101;
}
/* se activa con scroll */
.nav.active .logo{
    color: rgb(0, 4, 250);
    font-weight: 800;
}
.nav.active a,
.nav.active .menu-btn{
    color: rgb(0, 0, 0);
}

.nav.active a:hover{
    background: rgb(0, 4, 250);
    color: #fff;
}
.logo img{
    width: 150px;
    height: 75px;

}
.logo{

    font-size: 25px;
    color: #fff;
    font-weight: 600;
}
.menu{
    display: flex;
}
.menu li{
    list-style: none;
    margin: 20px
}
.menu li a{
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s ease;
}
.menu li a:hover{
    padding: 5px 10px;
    background: #fff;
    color: #000;
    border-radius: 15px;
}
.scrol{
    height: 100px;
}

.menu-btn{
    color: white;
    font-size: 20px;
    display: none;
    cursor: pointer;
}

@media screen and (max-width:1035px){

    .nav{
        justify-content: space-between;
    }

    .menu-btn{
        display: block;
    }
    .menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 155px;
        height: 100vh;
        background: red;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease;
        transform: translateX(-100%);
        z-index: 9999;
    }
    .menu li{
        margin: 15px 0;
    }    
    
    .menu.active{
        transform: translateX(0);
    }

    .nav.active a, .nav.active {
        color: rgb(255, 255, 255);
    }

}

/* responsive logo nav */

@media only screen and (max-width: 1035px){
    .logo img {
      margin-left: 435px;
  }
    }

    @media only screen and (max-width: 930px){
        .logo img {
          margin-left: 400px;
      }
        }
    
        @media only screen and (max-width: 860px){
            .logo img {
              margin-left: 350px;
          }
            }
        



/* contenido del header */
.header-cont{
    max-width: 90%;
    height: 50vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-cont h2{
    font-size: 8vw;
    color: red;
    text-transform: uppercase;
    text-shadow: 3px 3px 7px rgb(0, 0, 0);
}

.header-cont h2 span{
    color: red;
}

.header-cont p{
    font-size: 2vw;
    color: rgb(255, 255, 255);
    font-weight: 300;
}

/* Media queries para pantallas más pequeñas */

@media (max-width: 768px) {
    .header-cont{
        max-width: 90%;
        height: 40vh;
    }
    .header-cont h2{
        font-size: 12vw;
    }
    .header-cont p{
        font-size: 1.5vw;
    }

    .logo img {
        margin-left: 100px;
    }
    
    .nav {
        justify-content: space-between;
    }

    .box-container .box2 {
        height: 27rem;
        width: 30rem;
    }
    
}

@media only screen and (max-width: 768px){
    .logo img {
      margin-left: 300px;
  }
    }

    @media only screen and (max-width: 680px){
        .logo img {
            margin-left: 250px;
        }
          }

@media (max-width: 480px) {
    .header-cont{
        max-width: 90%;
        height: 30vh;
    }
    .header-cont h2{
        font-size: 13vw;
        margin-top: auto;
    }
    .header-cont p{
        font-size: 1.2vw;
    }

    .logo img {
        margin-left: 100px;
    }
    
    .nav {
        justify-content: space-between;
    }

    .box-container .box2 {
        height: 27rem;
        width: 30rem;
    }
    
}

@media only screen and (max-width: 615px){
    .logo img {
        margin-left: 200px;
    }
      }

      @media only screen and (max-width: 550px){
        .logo img {
            margin-left: 150px;
        }
          }

          @media only screen and (max-width: 430px){
            .logo img {
                margin-left: 140px;
            }
              }


            
              @media (max-width: 450px) {

                .subtitle3{
                    margin-top: 110px;
                }
                .header-cont{
                    max-width: 100%;
                    height: 30vh;
                }
                .header-cont h2{
                    font-size: 13vw;
                    margin-top: auto;
                }
                .header-cont p{
                    font-size: 1.2vw;
                }
            
                .logo img {
                    margin-left: 100px;
                }
                
                .nav {
                    justify-content: space-between;
                }
            
                .box-container .box2 {
                    height: 27rem;
                    width: 30rem;
                }
                
            }

            @media only screen and (max-width: 430px){
                .logo img {
                    margin-left: 130px;
                }
                  }

            @media only screen and (max-width: 450px){
                .logo img {
                    margin-left: 135px;
                }
                  }

                  @media only screen and (max-width: 390px){
                    .logo img {
                        margin-left: 100px;
                    }
                      }

                      @media only screen and (max-width: 330px){
                        .logo img {
                            margin-left: 70px;
                        }
                          }


.line{
    width: 500px;
    height: 4px;
    background: rgb(0, 4, 250);
    margin: 10px auto;
    border-radius: 5px;
}

.container{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding: 80px 0;
    max-width: 1200px;
}

.subtitle{
    color: red;
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about_img{
    text-align: center;
}

.about_img--left{
    text-align: left;
}

.about_picture{
    max-width: 80%;
}

.about_paragraph{
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
}

/*vCONTENEDORESSSSS 2 */


.line{
    width: 500px;
    height: 4px;
    background: rgb(0, 4, 250);
    margin: 10px auto;
    border-radius: 5px;
}

.container2{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 80px 0;
    max-width: 1200px;
}

.subtitle2{
    color: red;
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.subtitle3{
    color: red;
    font-size: 2.5rem;
    margin-bottom: 35px;
    text-align: center;
}

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about_img2{
    text-align: center;
}

.about_img--left2{
    text-align: left;
}

.about_picture2{
    max-width: 80%;
}

.about_paragraph2{
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
}

.about_paragraph3{
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
    font-size: 22px;
    text-align: justify;
}


/* contenedores responsive */

@media screen and (max-width:800px){

   :root{
    --boton-padding: 18px 40px;
   }

    .subtitle{
        font-size: 1.5rem;
    }

    .about{
        grid-template-columns: 1fr;
    }

    .about .container{
        padding-top: 30px;
    }

    .about_img--left{
        text-align: center;
    }

    .about_texts:last-child{
        grid-row: 3/4;
    }
}


 /* contenedores responsive 2 */

 @media screen and (max-width:800px){

    :root{
     --boton-padding: 18px 40px;
    }
 
     .subtitle2{
         font-size: 1.5rem;
     }
 
     .about{
         grid-template-columns: 1fr;
     }
 
     .about .container2{
         padding-top: 30px;
     }
 
     .about_img--left2{
         text-align: center;
     }
 
     .about_texts2:last-child{
         grid-row: 3/4;
     }
 }

 @media screen and (max-width: 500px){

    :root{
        --boton-padding: 18px 35px
    }

    .subtitle2{
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .about{
        row-gap: 60px;
    }

    .about .container2{
        padding-top: 10px;

    }


 }

 /* box cont */
.box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.box-container .box2{
    height: 20rem;
    width: 30rem;
    background: #fcfcfc; /*color card*/
    text-align: center;
    border-radius: 1rem;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.13);
    margin: 2rem;
    cursor: pointer;
}

.box-container .box2 i{
    height: 3.5rem;
    width: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: rgb(0, 4, 250);
    font-size: 28px;
    margin: 1rem 0;
    transition: .2s;
}

.box-container .box2 h3{
    font-size: 20px;
    color:  rgb(250, 0, 0);;
    transition: .2s;
}

.box-container .box2 p{
    font-size: 19px;
    padding: .4rem 2rem;
    text-align: justify;
}

/* Responsive box cont */

@media (max-width: 500px){
    .box-container .box2 p {
        font-size: 15px;
        padding: .4rem 2rem;
        text-align: justify;
    }
}

@media (max-width: 460px){
    .box-container .box2 p {
        font-size: 15px;
        padding: .4rem 2rem;
        text-align: justify;
    }
}

@media (max-width: 375px){
    .box-container .box2 p {
        font-size: 13px;
        padding: .4rem 2rem;
        text-align: justify;
    }
}

@media (max-width: 310px){
    .box-container .box2 p {
        font-size: 11px;
        padding: .4rem 2rem;
        text-align: justify;
    }
}
/*------------*/

.hiabb{
    width: 100%;
    height: 30vh;
    background-image: url(../img/headergrua3.jpg);
    background-size: cover;
    background-position: center;
}

.header-hiab{
max-width: 600px;
height: 100%;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}

.header-hiab h2{
font-size: 60px;
color: rgb(255, 0, 0);
text-transform:none;
}

.header-hiab p{
font-size: 20px;
color: rgb(212, 212, 212);
font-weight: 300;
}

.header-hiab a{
display: inline-block;
margin-top: 25px;
background: rgb(255, 0, 0);
padding: 10px 15px;
border-radius: 40px;
text-decoration: none;
color: rgb(255, 255, 255);
font-weight: 300;
transition: all 0.3s ease;
}

.header-hiab a:hover{
transform: translateY(-5px);
}
/* titulo para card */

.titlenosotros{
    text-align: center;
    padding-top: 4rem;

}

.titlenosotros h2{
    color: rgb(255, 0, 0);
    font-size: 3rem;
    margin-bottom: 25px;
}

.titlenosotros p{
    line-height: 1.7;
}

/*:::::Pie de Pagina */
.pie-pagina{
    width: 100%;
    background-color: #f8f8f8;
}

.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: #ff0000;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p{
    color: #000000;
    margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: rgb(0, 4, 250);
    margin-right: 10px;
    background-color: #f0f0f0;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover{
    color: red;
}

.pie-pagina .grupo-2{
    background-color: #e2e2e2;
    padding: 15px 10px;
    text-align: center;
    color: #000000;
}

.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;
    }
}