*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

#gallery a
{

    text-decoration: none;
    color: white;

}

.carrusel{
    margin-top: 5px;
    margin-bottom: 20px;
}
.migaPan{
    margin-top: 20px;
    margin-bottom: -5px;
}
.migaPan1{
    margin-top: 20px;
    margin-bottom: -25px;
}
.contenedorSec1{
    padding: 0%;
}
.contenedorSec1 hr{
    border-top: 1px solid rgba(1, 1, 1, 0.3)
}
.contenedorSec1Link{
    padding: 5%;
}
.contenedorSec1Link a{
    width: 200px;
}

.contenedorSec2{
    padding: 10%;
    margin-top: -10%;
}
.contenedorSec2 hr{
    border-top: 1px solid rgba(1, 1, 1, 0.3)
}
.contenedorSec2Link{
    padding: 15%;
}
.contenedorSec2Link a{
    width: 200px;
}


footer{
    
    width: 100%;
    background: #202020;
    color: white;
    
}

.container-footer-all{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}
.container-body{
    display: flex;
    justify-content: space-between;

}
.column1{
    max-width: 400px;
    
}
.column1 h1{
font-size: 22px;
display: flex;

}

.row1{
margin-top: 10px;

}
.row1 img {
    width: 35px;
    height: 35px;
}
.row1 label{
    margin-top: 10px;
    margin-left: 10px;
}

.column2{
    max-width: 800px;
}
.column2 h1{
    font-size: 22px;
    display: flex;
}
.row2{
    margin-top: 20px;
}
.row2 img{
    width: 35px;
    height: 35px;
}
.row2-cn img{
    width: 35px;
    height: 35px;
    margin-top: 20px;
    
}
.row2 label{
    margin-top:10px;
    margin-left: 20px;
    max-width: 190px;
}
.row2-cn label{
    margin-left: 20px;
}

.container-footer{
    width: 100%;
    background: black;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.contenedorQuieneSomos{
    width: auto;
    border: solid 2px #000;
}
.contenedorFlyers{
    width: auto;
    border: solid 2px #000;
    
}

.galeria col-lg-4{
    margin: 0 !important;
    padding: 25px;
    
}
.galeria img{
    width: 100%;
    height: 250px;
    
}
.galeria img:hover {
    border: 5px solid white;
}

.imagentitulo1{
    margin-top: 30px;
    
}

/* fin de declaraciones */

.containergallery
{

    margin: 0;
    padding: 0;
    width: 100%;
}

#gallery h2
{

    font-size: 1.3em;

}

#gallery
{

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;

}

#gallery .containergallery
{

   display: flex;
   flex-direction: column;
   width: 100%;
   padding: 30px 0;
   align-items: center;
   justify-content: center;
   text-align: center;

}

#gallery .panelesg
{

    max-width: 1440px;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;    
    width: 100%;
    justify-content: center;

}

.pane
{

    height: 75%; 
    width: 100%;
    padding: 0;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    margin: 0;
}



.titulos
{

display: flex;
flex: 1;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: center;
transform: translateY(0);
height: 25%;

}

.contapan1 .pane
{

    background-image: linear-gradient(0deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/ambiente1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.contapan1,.contapan2,.contapan3,.contapan4
{
    border-radius: 5px;
    justify-content: space-between;
    width: calc( 50% - 20px); 
    background-position: center;
    background-color: rgb(69, 69, 69);
    height: 297px;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 10px 0;
    color: white;
    text-align: center;
    
}


.contapan2 .pane
{
    
    background-image: linear-gradient(0deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/Tramites.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    

}


.contapan3 .pane
{
    
    background-image: linear-gradient(0deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../img/Planta\ de\ tratamiento.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;


}


.contapan4 .pane
{

    background-image: linear-gradient(0deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../img/Imagen\ de\ Flyers.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

/* quienes */

#info-quienes
{

    display: flex;
    background-color: rgb(245, 245, 245);
    flex-direction: column;
    padding: 60px 0;
    align-items: center;
}
#info-quienes .container
{

    display: flex;
    flex-direction: column;
}

#info-quienes p
{

    padding: 15px 20px;
    font-size: 1.3em;

}

#info-quienes h2
{

    padding: 0 20px;

}

#info-quienes .img-somo
{

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;

}

#info-quienes .img-somo img
{

    width: 300px;
    height: 300px;

}

.texto
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

}

#about-banner{
    display: flex;
    background-image:linear-gradient(0deg,rgba(0,0,0,0.6),rgba(0,0,0,0.6)) ,url(../img/about.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y:70%;
    justify-content: center;
    align-items: center;
    color: white;
}

#about-banner .container
{
    display: flex;
    flex-direction: column;
    padding: 60px 20px;

}

#principios
{

    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgb(66, 64, 64); */
    background-color: rgb(245, 245, 245);
    color: black;

}

#principios .container
{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 90px 0;
    text-align: center;
}


#principios h1
{

    font-size: 1.7em;
    padding: 0 10px;
    font-weight: bold;


}

#principios .minipans
{

    font-size: 0.7em;
    padding: 0 15px;
    margin: 0;  
    display: flex;
    align-items: center;
    justify-content: center;
}

#principios .principios-pans
{

    display: flex;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 1.5em;
    color: black;
    margin: 25px 0;

}


.principios-pans h2
{

    margin-top: 10px;
    font-weight: bold;

}

#principios .minipans:hover
{

    opacity: 1;
    transition: 0.8s;

}

/* flyers */

    #servs
    {

        display: flex;
        flex-direction: column;
        padding: 100px 0;
        margin: 0;
        align-items: center;
        justify-content: center;

    }
    #servs .containerservi
    {

       display: flex;
       flex-direction: column;
       max-width: 1440px;
       align-items: center;
       padding: 0 20px;
       justify-content: center;
       width: 100%;

    }

    .services-panel
    {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }


  .service a
  {

    text-decoration: none;
    color: black;
    border-radius: 5px;
    border: 1px solid;
    margin: 20px;
    background-color: white;
    font-weight: bold;
    padding: 15px 9px;

  }

  .service a:hover
  {

    background-color: #007bff;
    color: white;
    border: 1px solid black;
    transition: 0.5s;

  }



  .service{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 0;
    padding: 5px 0;
    justify-content: center;


    
  }

  .textserv
  {

    text-align: center;

  }

  .service{
    padding: 25px 0;
  }

  .service:first-child
  {
    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/Flyer\ limpieza\ clientes.jpg);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);



  }
  
  .service:nth-child(2)
  {
    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/HIGIENE\ INDUSTRIAL\ Y\ SALUD\ OCUPACIONAL_001.png);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);


  }
  .service:nth-child(3)
  {
    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/SERVICIOS\ SIGNA_001.png);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);

  }
  .service:nth-child(4)
  {

    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/flyers\ servicios\ generales_001.png);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);

  }
  .service:nth-child(5)
  {

    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/flyer\ hoteles.png);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);

  }
  .service:nth-child(6)
  {

    background-image:linear-gradient(0deg,rgba(0,0,0,0.56),rgba(0,0,0,0.56)) ,url(../img/flyer\ pastillas\ de\ cloro.png);
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  }



@media screen and (max-width : 1100px){
    .container-body{
        flex-wrap: wrap;
    }


    
    .colunm1 ,
    .colunm2{
        margin-top: 40px;
    }
}


@media(min-width:768px)
{

    #gallery .panelesg
{

   justify-content: space-between;
   flex-direction: row;
   width: calc(100% - 20px);
}



}

@media(min-width:769px){
.contapan4:hover .titulos,.contapan1:hover .titulos,.contapan2:hover .titulos, .contapan3:hover .titulos
{
    position: static;
    background-color: rgba(1, 1, 1, 0.3);
    transform: translateY(-75%);
    transition: 3s;
    
}
.contapan4:hover .titulos,.contapan1:hover .titulos,.contapan2:hover .titulos, .contapan3:hover .titulos
{
    height: 100%;
    transition: height 1s;
    
}



}


@media (max-width: 768px) {

    .contapan1,.contapan2,.contapan3,.contapan4 {
        width: calc(100% - 20px); /* Una columna en pantallas pequeñas */
      }
      
}

@media(min-width:992px){
    
    #info-quienes
    {

        padding: 80px 0;

    }

    .services-panel
    {


        grid-template-columns: repeat(2,1fr);
        gap: 20px; 
        padding: 0;

    }

    #info-quienes .texto{

        display: flex;
        flex-direction: column;
        justify-content: center;


    }
    
    #info-quienes .container
    {

        flex-direction: row;

    }
    .losminis
    {

        display: flex;
        
        flex-direction: row;
        gap: 0 10px;


    }

    .completo
    {

        padding: 50px 5px;

    }

    .principios-pans
    
    {

        padding: 5px 0;

        width: 25%;

       

    }

    #principios h1
    {

        font-size: 3em;

    }

    .principios-pans p
    
    {

        padding: 0;
        font-size: 1.3em;
        
        

    }

    .texto
    {
    
        align-items: start;
    
    }


}