/* --------------------------------------Sliders------------------------------------------- */

.slider-servicios{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    z-index: 0;
    margin-bottom: 1.5rem;
}
.slider-serviciosr > h1{
    color: #0d41a1;
    font-weight: 700;
    font-size: 2rem;
    padding: 1rem;
}
.slider-vnp{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.slider-clientes-contenedor{
    width: 100%;
    position: relative;
}
.slider-contenedor{
    width: 100%;
    height: 100%rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35rem;
    animation: slider 40s infinite alternate ease-in;
}
.slider-pn{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.slider-viñeta {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.slider-contenido{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.slider-contenido > h1{
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0rem 0.5rem 0.5rem rgba(13, 65, 161, 0.5);
    color: #fff;
    margin-bottom: 0.5rem;
}
.slider-contenido > p{
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0rem 0.5rem 0.5rem rgba(13, 65, 161, 0.5);
    color: #fff;
    margin-bottom: 0.5rem;
}
.slider-contenido > button{
    width: 10rem;
    height: 3rem;
    background-color: #0d41a1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}
.slider-contenido > button:hover{
    background-color: #fcc02d;
}
.slider-contenido > button > a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-weight: 400;
    font-size: 1.2rem;
}
.slider-viñeta > img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.slider-viñeta > .slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider-viñeta > .slider-text > h1 {
    color: #fff;
    font-weight: 800;
    font-size: 5rem;
    text-align: center;
}
.prev, .next {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0rem 0.5rem;
    padding: 1rem;
    transition: 0.6 ease;
    user-select: none;  
}
.prev > i, .next > i {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
    background-color: rgba(255,255, 255, 0.337);
    border-radius: 50%;
}
.prev:hover > i,
.next:hover > i{
    color: #fcc02d;
}
.elements{
    text-align: center;
}
.slider-indicador{
    cursor: pointer;
    height: 0.2rem;
    width: 1rem;
    margin: 0 2px;
    background-color: #0d41a1;
    display: inline-block;
    transition: background-color 0.6s ease;
    border-radius: 2px;
}
.active, .slider-indicador:hover{
    background-color: #de8927;
}



/* --------------------------------------servicios listados------------------------------------------- */
.cont-listados-servi{
    width: 100%;
    height: 100%;
    margin: 1rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont-listados-servi > h1{
    width: 100%;
    text-align: center;
    height: 3rem;
    font-size: 2rem;
    font-weight: 800;
    color: #0d41a1;
    margin: 0rem 1rem;
}
.cont-card-servi{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont-card-servi-section{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0rem;
}
.cont-card-servi-section > h1{
    width: 90%;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 600;
    background-color: #fff;
    color: #0d41a1;
    box-shadow: 0rem 0rem 0.5rem 0.5rem rgba(13, 65, 161, 0.337);
}
.cont-card-servi-section > p{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0.5rem; 
}
.cont-card-servi-section > img{
    width: 70%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}
.cont-card-servi-section-all-1 {
    display: flex;
    flex-direction: column;
}
.cont-servi-contenido{
    width: 90%;
    height: 100%;
    margin: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cont-servi-contenido > img{
    width: 15rem;
    height: 15rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}
.cont-servi-contenido > p{
    width: 24rem;
    height: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0.5rem;
}


@media screen and (max-width: 39.1rem){
    .slider-contenido > h1 {
        font-size: 2rem;
        transition: all 0.6s;
    }
    
    
}
@media screen and (max-width: 23rem){
    .slider-contenido > h1 {
        font-size: 1.5rem;
        transition: all 0.6s;
    }
    .slider-contenido > button{
        width: 7rem;
        height: 1.9rem;
    }
    .slider-contenido > button > a{
        font-size: 1rem;
    }
    .cont-listados-servi  > h1{
        font-size: 1.5rem;
    }
}