:root{
    --anaranjado: #ee6c4d;
    --negroClaro: #293241;
    --azulClaro: #e0fbfc;
    --azulMedio: #98c1d9;
    --azulGris: #3d5a80;
    --verde: #4CAF50;
    --fuente:'Lato', sans-serif;
}
.mg-5{
    margin: 5rem 0;
}

.servicios{
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 25rem;
    gap: 5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
}
@media (min-width: 992px){
    .servicios{
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: unset;
    } 
}


.servicios__texto h2{
    font-size: 3rem;
    
}
.servicios__texto p{
    text-align: justify;
    font-size: 2rem;
    line-height: 1.5;
}

.servicios__fondo{
    background-image: url(/img/servicio/cardan3.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 25rem;
}
@media (min-width: 992px){
    .servicios__fondo{
        background-size: contain;
        height: auto;
    } 
}


/* Paralax */


.paralax__contenido{
    padding: 5rem 3rem;
    line-height: 1.5;
}

.paralax__contenido h2{
    font-size: 2.5rem;
    color: var(--azulGris);
}
@media (min-width: 992px){
    .paralax__contenido h2{
        font-size: 4rem;
    } 
}

.paralax__contenido p{
    font-size: 1.5rem;
    text-align: justify;
}
@media (min-width: 768px){
    .paralax__contenido p{
        font-size: 3rem;
    }  
}

.paralax{
    width: 100%;
    height: 25vh;

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center ;
}
@media (min-width: 992px){
    .paralax{
        height: 45vh;
    } 
}

.sec1{
    background-image: url(/img/servicio/paralax1.jpg);  
}

.sec2{
    background-image: url(/img/servicio/paralax2.jpg);  
}

.sec3{
    background-image: url(/img/servicio/paralax3.jpg);  
}

.sec4-1 {
    background-image: url(/img/servicio/inspeccion.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 5rem 2rem;
    height: 15rem;
    padding: 0; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 700px) {
    .sec4-1 {
        height: 35rem;
    } 
}




.sec4-2{
    background-image: url(/img/servicio/4-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 5rem 2rem;
    height: 15rem;
    padding: 0; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 700px) {
    .sec4-2{   
        height: 35rem;
    } 
}

.sec5-1 {
    background-image: url(/img/servicio/lubricacion.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 5rem 2rem;
    height: 15rem;
    padding: 0; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 700px) {
    .sec5-1 {
        height: 35rem;
    }
}



.sec6{
    background-image: url(/img/servicio/paralax6.jpg);  
}

.sec7{
    background-image: url(/img/servicio/paralax4.jpg);  
}

.sec8{
    background-image: url(/img/servicio/fase.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 5rem 2rem;
    height: 25rem;
    padding: 0; /* Eliminamos el padding para reducir cualquier espacio adicional */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
