
.section-hersa {
    position: unset;
    margin-top: 0px;
    margin-bottom: 0px;
    /*background: linear-gradient(left,  rgb(0,85,126), rgb(12,30,48));
    background: -webkit-linear-gradient(left, rgb(0,85,126), rgb(12,30,48));
    background: -moz-linear-gradient(left,  rgb(0,85,126), rgb(12,30,48)); 
    background: -o-linear-gradient(left,  rgb(0,85,126), rgb(12,30,48));  
    background: -ms-linear-gradient(left, rgb(0,85,126), rgb(12,30,48)); */
    background-color: var(--navy-blue-hersa);
    padding-top: 20px;
    padding-bottom: 20px;
 
}

.section-content-hersa {
    margin-top: 3em;
    margin-bottom: 3em;
}

.row-base-hersa {
    margin-top: -3em;
    margin-bottom: 3em;
}

.format-text{
    color: white;
}

.box-blue{
    background: linear-gradient(left,  rgb(0,137,208), rgb(0,85,126));
    background: -webkit-linear-gradient(left,  rgb(0,137,208), rgb(0,85,126));
    background: -moz-linear-gradient(left,   rgb(0,137,208), rgb(0,85,126)); 
    background: -o-linear-gradient(left,   rgb(0,137,208), rgb(0,85,126));  
    background: -ms-linear-gradient(left,  rgb(0,137,208), rgb(0,85,126)); 
    /* margin: 3vmin;
    padding: 2vmin;
    border-radius: 5px; */
}

.p-np{
    padding: 0;
    margin: 0;
}

.section-why{
     width: 100%;
    /*height: 100vh;*/
    background-color: aliceblue; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-why{
    width: 100%;
    height: 50vh;
    text-align: center;
    overflow: hidden;
    position:relative;
    margin: 1.5%;
    border-radius: 5px;
}

.box-why img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-why .hover-why{
    width: 0%;
    height: 50vh;
    background-color: rgb(56, 53, 53,0.568);
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .4s all;
}

.hover-why h1{
    color: aliceblue;
    text-shadow: 1px 1px 1px;
    font-size: 2.5em;
    text-transform: uppercase;
}

.box-why:hover .hover-why{
    width: 100%;
}

/*SECCION DE 40 AÑOS DE EXPERIENCIA */


/*FIN SECCION DE 40 AÑOS DE EXPERIENCIA */

/*EFECTO FLIP*/

.img{
    width: 100%;
    height: 100%;
}

.efecto_3d{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    justify-content: flex-end;
}

.efecto__columna{
    width: 171px;
    height: 148px;
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    transition: .7s ease;
    /* box-shadow: 0px 10px 15px -5px rgba(0, 0, 0, 65); */

}
.contenedor{
    margin-top: 10px;
    margin-bottom: 33px;
    margin-left: 0px;
    margin-right: 0px;
    perspective: 800 !important;

}
.contenedor-texto{
    padding-left: 25px;
    padding-right: 25px;
    line-height: 1;
}
.contenedor-texto p{
    margin: 0;
    font-size: 13.3px;
    font-weight: 800;
    color:var(--azul-deg-hersa)
}
.adelante,.atras{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}


.atras{
    /* background: #f1f1f1; */
    background-image:url('../../img/whywe/blanco.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotateY(180deg);
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contenedor:hover .efecto__columna{
    transform: rotateY(180deg) scale(1.20);
    /* z-index: 5; */
}

.text-we{
    color:white;
    margin-left: -25px;
    font-size: 2.2vmin;
    margin-top: 0;
    text-transform: uppercase;

}
.title-we{
    margin-left: 15px !important;
    text-transform: uppercase;
}
/* @media(min-width:620px){
    .contenedor{
        width: 32%;
    }
}
@media(min-width:890px){
    .contenedor{
        width: 22%;
    }
}

@media(min-width:1024px){
    .efecto_3d{
        width: 1000px;
    }
} */

@media (max-width: 575.98px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
 }

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
 }

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
 }

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1850px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around; 
         
    }
    .text-we{
        color:white;
        margin-left: -25px;
        font-size: 16px;
        margin-top: 0;
        text-transform: uppercase;
    
    }
}

@media (min-width: 1851px) { 
    .efecto_3d{
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around; 
         
    }
    .text-we{
        color:white;
        margin-left: -25px;
        font-size: 20px;
        margin-top: 0;
        text-transform: uppercase;
    
    }
    .efecto__columna{
        width: 205px !important;
        height: 177px !important;
        position: relative !important;
        text-align: center !important;
        transform-style: preserve-3d !important;
        transition: .7s ease !important;
        /* box-shadow: 0px 10px 15px -5px rgba(0, 0, 0, 65); */
    
    }
    .contenedor-texto p{
        margin: 0;
        font-size: 17px !important;
        font-weight: 800;
        color:var(--azul-deg-hersa)
    }
}

/*SECCION PORQUE NOSOTROS */
.values{
    padding-right: 25px;
    padding-left: 15px;
}
 

/*smaller diveces (landscape phones, 576px and down)*/
@media (max-width: 575.98px) { 
    .padding-col-values{
        padding-bottom: 0px;
    }

}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) { 
    .padding-col-values{
        padding-bottom: 0px;
    }
 }

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) { 
    .values-right{
        justify-content: flex-end !important;
    }
    .values-left{
        justify-content: flex-start !important;
    }
    .padding-col-values{
        padding-bottom: 45px;
    }
 }

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .values-right{
        justify-content: flex-end !important;
    }
    .values-left{
        justify-content: flex-start !important;
    }
    .padding-col-values{
        padding-bottom: 45px;
    }
 }

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .values-right{
        justify-content: flex-end !important;
    }
    .values-left{
        justify-content: flex-start !important;
    }
    .padding-col-values{
        padding-bottom: 45px;
    }
}