

.container{
    width: 100%;
    /* min-height: 100vh; */
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.slider{
    background-color: #f2f2f2;
    padding: 40px 0;
}

.services-tittle_container{
    text-align: center;
}

.services-title{
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 60px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secundary-color);
    display: inline-block;
}

.slider__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 10px;
}

.slider__body{
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
    display: grid;
    background-color: #f2f2f2;
    grid-template-columns: 1fr max-content;
    align-items: center;
    transition: opacity 1.5s;
}

.slider__body--show{
    opacity: 1;
    pointer-events: unset;
}

.slider__texts{
    max-width: 600px;
    margin-right: 10px;
}

.subtitle{
    font-size: 29px;
    margin-bottom: 20px;
}

.slider__review{
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
}

.slider__img{
    width: 650px;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.slider__arrow{
    cursor: pointer;
    width: 90%;
}

.slider__arrow:nth-of-type(2){
    justify-self: end;
}

.slider__review{
    display: flex;
    flex-direction: column;
}


.slider__review a{
    margin-top: 30px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    /* display: inline-flex;
    border: 2px solid var(--primary-color); */
}




@media (max-width:1050px){
    .slider__img{   
        width: 500px;
    }
}
@media (max-width:850px){
    .slider__img{   
        width: 400px;
    }
}

@media (max-width:768px){
    .slider__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 1em;
    }

    .slider__picture{
        grid-row: 1/2;
    }

    .slider__img{   
        width: 100%;
    }

    .slider__texts{
        text-align: center;
    }
}

@media (max-width:550px){
    .slider__container{
        grid-template-columns: 25px 1fr 25px;
    }

    .slider__arrow{
       width: 100%;
    }

    .slider__img{   
        width: 100%;
        height: 250px;
    }

    .subtitle{
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slider__review{
        font-size: 1rem;
        line-height: 1.6;
    }
}