/*--------- page Services ---------*/

.services .first {
    height: 30vh;
    padding-top: 12vh;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    background: linear-gradient(0, rgba(0, 0, 0, 0.70) 30%, var(--secondary-fixed-color) 100%),
        url("../img/illustrations/services_background.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: 20%;
}

.services .first .container .presentation-services {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 2vh;
}

.services .first .container .presentation-services span {
    display: inline-block;
    height: 50px;
    width: 2px;
    background-color: var(--primary-fixed-color);
    margin-right: 25px;
}

.services  .first .container .presentation-services p {
    width: 45vw;
}

.services .type-service .container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.services .type-service:nth-child(3){
    background-color: var(--second-background-color);
}

.services .type-service .container > img{
    width: 25vw;
    height: 300px;
    object-fit: cover;
}

.services .type-service .container .infos-content{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.services .type-service .container .infos-content .picto{
    height: 100%;
    width: 40px;
    margin-right: 20px;
}

.services .type-service .container .infos-content.picto path{
    fill: var(--main-color);
}

.services .type-service .container .infos-content .describe{
    display: flex;
    flex-direction: column;
}

.services .type-service .container .infos-content .describe h2{
    margin-top: 0;
    padding-top: 0;
    line-height: 40px;
}

.services .type-service .container .infos-content .describe p.global{
    margin-top: 1vh;
    font-family: 'Jost Medium';
}

.services .type-service .container .infos-content .describe p{
    max-width: 25vw;
}

.services .type-service .container .infos-content .describe span{
    display: block;
    width: 25%;
    height: 2px;
    background-color: var(--main-color);
    margin: 2vh 0;
}


@media screen and (max-width: 1280px) {

    .services  .first .container .presentation-services p {
        width: 55vw;
    }
}

@media screen and (max-width: 1025px) {


    .services  .first .container .presentation-services p {
        width: 65vw;
    }

    .services .type-service .container > img{
        width: 30vw;
        height: 250px;
    }

    .services .type-service .container .infos-content .describe p{
        max-width: 35vw;
    }
}

@media screen and (max-width: 769px) {

    .services .type-service .container > img{
        width: 30vw;
        height: 200px;
        margin: auto 0;
    }

    .services .type-service .container .infos-content .describe p{
        max-width: 40vw;
    }

    .services .type-service .container .infos-content .picto{
        width: 30px;
    }

    .services .type-service .container .infos-content .describe h2{
        line-height: 30px;
    }
}

@media screen and (max-width: 570px) {


    .services  .first .container .presentation-services p {
        width: 75vw;
    }

    .services .first {
        height: 20vh;
        padding-top: 10vh;
    }

    .services .type-service .container .infos-content .picto{
        width: 25px;
        margin-right: 15px;
    }

    .services .type-service .container .infos-content .describe h2{
        line-height: 25px;
    }
}