.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.header_backgorund{
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: url(../img/background_servicios.webp) no-repeat;
    background-color: rgb(90, 90, 90);
    background-blend-mode: soft-light;
    background-size: cover;
    background-position: center;
}

.presentation{
    width: 100%;
	height:100%;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.presentation h1{
    font-size: var(--font-size-display);
    color: var(--color6);
    font-family: var(--font-family-tittle);
    transition: 1s;
}

.containerBodyServicios{
    
    padding-bottom: 10rem;
    position: relative;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.infoServicios{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    min-height: 300px;
    padding: 15px 30px;
}

.infoServicios h1{
    font-family: var(--font-family-tittle);
    font-size: var(--font-size-display);
    margin-bottom: 20px;
}

.infoServicios h1 span{
    color: var(--color);
}

.infoServicios p{
    font-family: var(--font-family-body);
    font-size: var(--font-size-subencabezado);
    line-height: 1.2em;
    color: grey;

}


.containerSevicios{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100dvh;
}

.infoDescripcion{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    min-height: 500px;
    margin-left: auto;
    margin-right: auto;
}

.servicio{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin-top: 10px;
}

.imgServicio{
    width: 40%;
    height: auto;
}

.imgServicio img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datosServicio{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    height: auto;
    padding: 15px 20px;
}

.datosServicio h1{
    color: var(--color);
    font-family: var(--font-family-tittle);
    font-size: var(--font-size-titulo);
    margin-bottom: 10px;
    font-weight: bold;
}

.divition{
    width: 100%;
    height: 2px;
    background-color: black;
    margin-bottom: 20px;
}

.datosServicio p{
    font-family: var(--font-family-body);
    font-size: var(--font-size-p);
    line-height: 20px;
    color: gray;
}

@media screen and (min-width:767px) and (max-width:1020px){

    .header_backgorund{
        height: 50dvh;
    }

    .containerBodyServicios{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 30dvh;
        padding-bottom:0;
        padding-top: 0;
    }

    .containerBodyServicios .infoServicios{
        width: 80%;
        padding: 10rem 2rem;
    }

    .infoServicios h1{
        font-family: var(--font-family-tittle);
        font-size: var(--font-size-display);
        text-align: center;
        width: 100%;
    }

    .infoServicios p{
        text-align: center;
        font-family: var(--font-family-body);
        font-size: var(--font-size-encabezado);
        width: 100%;
    }


    .containerSevicios{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 60dvh;
        padding-bottom: 5rem;
    }

    .servicio{
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: calc(100% / 5);
        margin-top: 10px;
    }
    
    .imgServicio{
        width: 100%;
        height: 15dvh;
    }
    
    .imgServicio img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .datosServicio{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: auto;
        line-height: 3rem;
        padding: 15px 20px;
    }
    

    .datosServicio h1{
        color: var(--color);
        font-family: var(--font-family-tittle);
        font-size: var(--font-size-encabezado);
        margin-bottom: 10px;
        font-weight: bold;
    }

    .datosServicio p{
        font-family: var(--font-family-body);
        font-size: var(--font-size-titulo);
        line-height: 2rem;
        color: gray;
    }


}















