/* --------------------------------------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;
}
/* --------------------------------------cards servicios------------------------------------------- */
.cont-card-servi{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont-card-servi > h1{
    width: 100%;
    color: #0d41a1;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
}
.cont-dad-card-servi{
    width: 100%;
    max-width: 93rem;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center; 
}
.cont-son-card-servi{
    width: 30rem;
    height: 30rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all .7s ease-in-out;
}
.cont-son-card-servi:hover{
    width: 30rem;
    height: 42rem;
    border-bottom: 0.2rem solid #0d41a1;
}
.cont-son-servi-h1-img{
    width: 30rem;
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    border-radius: 0.8rem;
    transform-style: preserve-3d;
}
.cont-son-servi-h1-img > h1{
    width: 30rem;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    color: #fff;
    font-weight: 600;
    font-size: 1.7rem;
}
.cont-son-servi-h1-img > img{
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.cont-son-card-servi:hover > .cont-son-servi-h1-img > img{
    -webkit-filter: none;
    filter: none;
}
.cont-son-card-servi:hover > .cont-son-servi-h1-img > h1{
    text-shadow: 0rem 0.5rem 0.5rem rgba(13, 65, 161, 0.5);
    color: #fff;
}
.cont-son-card-servi-contenido{
    width: 30rem;
    height: 11rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont-son-card-servi-contenido > p{
    width: 100%;
    height: 5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    color: #000;
    font-weight: 400;
    font-size: 1rem;
}
.cont-son-card-servi-contenido > button{
    width: 10rem;
    height: 4rem;
    background-color: #0d41a1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    
}
.cont-son-card-servi-contenido > button > a{
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
}
@media screen and (max-width: 39.1rem){
    .cont-son-card-servi{
        width: 20rem;
        height: 20rem;
    }
    .cont-son-servi-h1-img{
        width: 20rem;
        height: 20rem;
    }
    .cont-son-servi-h1-img > h1{
        width: 20rem;
        height: 20rem;
        font-weight: 600;
        font-size: 1.4rem;
    }
    .cont-son-servi-h1-img > img{
        width: 20rem;
        height: 20rem;
        object-fit: cover;
    }
    .cont-son-card-servi-contenido{
        width: 20rem;
        height: 15rem;
        padding: 0.5rem;
    }
    .cont-son-card-servi-contenido > p{
        width: 100%;
        height: 100%;
        font-weight: 400;
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    .cont-son-card-servi-contenido > button{
        width: 7rem;
        height: 3rem;
        background-color: #0d41a1;
        border-radius: 1rem;
    }
    .cont-son-card-servi:hover{
        width: 20rem;
        height: 35rem;
    }
}

/* --------------------------------------Sliders------------------------------------------- */


@media screen and (max-width: 23rem){
    .nuestros-clientes-slider > h1 {
        font-size: 1.5rem;
    }
    .slider-viñeta > .slider-text > h1 {
        font-size: 1rem;
    }
    .cont-son-card-servi{
        width: 18.75rem;
        height: 18.75rem;
    }
    .cont-card-servi > h1{
        font-size: 1.5rem;
    }
    .cont-son-servi-h1-img{
        width: 18.75rem;
        height: 18.75rem;
    }
    .cont-son-servi-h1-img > h1{
        width: 18.75rem;
        height: 18.75rem;
        font-weight: 600;
        font-size: 1rem;
    }
    .cont-son-servi-h1-img > img{
        width: 18.75rem;
        height: 18.75rem;
        object-fit: cover;
    }
    .cont-son-card-servi-contenido{
        width: 18.75rem;
        height: 13rem;
        padding: 0.5rem;
    }
    .cont-son-card-servi-contenido > p{
        width: 100%;
        height: 100%;
        font-weight: 400;
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    .cont-son-card-servi-contenido > button{
        width: 7rem;
        height: 3rem;
        background-color: #0d41a1;
        border-radius: 1rem;
    }
    .cont-son-card-servi:hover{
        width: 18.75rem;
        height: 33rem;
    }
}

