.h1-services,
.h2-services,
.p-services,
.li-services {
    color: #44606c !important;
}

.bandeau-header {
    width: 100%;
    background-image: url(/assets/img/Voiture_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.bandeau-header-overlay {
    background-color: rgba(22,33,51, 0.8);
    width: 100%;
    height: 100%;
    padding: 40px 50px 50px 50px;
}

.titrenbrvo p {
    color: white;
    text-align: justify;
    font-size: 20px !important;
    margin: 25px 20% 40px 20%;
    font-family: 'AssistantLight', sans-serif;
    font-weight: lighter !important;
}

.titres-garage {
    font-size: 50px !important;
    font-family: 'AssistantBold', sans-serif;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 15px 0 15px;
    animation: animDecorationTitre 1s ease-in-out;
    z-index: 2;
    color: white;
}

.decoration-titres-garage {
    width: 100px;
    height: 4px;
    background-color: #d02626;
}

.p-services {
    font-size: 18px !important;
    font-family: 'AssistantLight', sans-serif;
    opacity: 0;
    animation: fadeFromBottom 1s ease-in-out;
    animation-fill-mode: forwards;
}

.title-services {
    margin: 30px auto;
}

.image-services {
    background-color: #222226;
    margin-bottom: 15px;
    width: 400px;
    transition-duration: 0.5s;
}

.image-services:hover {
    transform: rotate(-3deg);
    transition-duration: 0.5s;
}

.description-services h2 {
    color: #222226;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50px !important;
    font-family: 'AssistantRegular', sans-serif;
    z-index: 2;
}

.description-services h3 {
    color: #d02626;
    text-transform: uppercase;
    font-size: 27px !important;
    font-family: 'AssistantLight', sans-serif;
    z-index: 2;
}

.h2-pair {
    position: relative;
    text-align: right;
    animation: fadeFromRight 1s ease-in-out;
    animation-fill-mode: forwards;
    margin-top: 100px;
}

.h2-impair {
    position: relative;
    text-align: left;
    animation: fadeFromLeft 1s ease-in-out;
    animation-fill-mode: forwards;
    margin-top: 100px;
}

.div-savoir-plus {
    margin-top: 30px !important;
    margin-bottom: 10px !important;
}

.savoir-plus-service {
    padding: 10px;
    border: 1px #44606c solid;
    color: #44606c;
    font-family: 'AssistantRegular', sans-serif;
    font-size: 20px !important;
    transition-duration: 0.3s;
}

.article:hover .savoir-plus-service {
    padding: 10px;
    color: #d02626;
    border: 1px #d02626 solid;
}

.trait-bleu-titre-impair {
    position: relative;
    left: -45px;
    height: 3px;
    width: 40%;
    background-color: #d02626;
}

.trait-bleu-titre-pair {
    position: relative;
    right: -45px;
    height: 3px;
    width: 40%;
    background-color: #d02626;
}

.a-link-service{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.h3-pair {
    position: relative;
    text-align: right;
    animation: fadeFromRight 1s ease-in-out;
    animation-fill-mode: forwards;
}

.h3-impair {
    position: relative;
    text-align: left;
    animation: fadeFromLeft 1s ease-in-out;
    animation-fill-mode: forwards;
}

.description-services p {
    color: #44606c;
    font-size: 20px !important;
    font-family: 'AssistantLight', sans-serif;
    opacity: 0;
    animation: fadeFromBottom 1s ease-in-out;
    animation-fill-mode: forwards;
    z-index: 2;
    animation-delay: 0.2s;
}

.article {
    position: relative;
    margin: 50px 0;
    transition-duration: 0.5s;
}

.img-article {
    z-index: 2;
    position: relative;
}

.image-services-background {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition-duration: 0.5s;
    box-shadow: 0 0 10px -2px black;
    animation: fadeFromLeft 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

.cadre-service-pair {
    position: absolute;
    width: 90%;
    height: 500px;
    border: #d02626 3px solid;
    top: -20px;
    left: -6px;
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleCadre 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.2s;
}

.cadre-service-impair {
    position: absolute;
    width: 90%;
    height: 500px;
    border: #d02626 3px solid;
    top: 20px;
    left: 11%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleCadre 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.2s;
}

@keyframes scaleCadre {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ruban {
    position: absolute;
    height: 100%;
    width: 50px;
    background-color: #222226;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    opacity: 0;
    animation: fadeFromTop 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

.souligne {
    border: 2px solid #222226;
    border-radius: 5px;
    width: 60%;
}

.btn-perso {
    color: white;
    background-color: #222226;
    border-color: #222226;
}

.btn-perso:hover {
    color: gainsboro;
    text-decoration: none;
}


/*-----------------------------------------*/
/*                 RESPONSIVE              */
/*-----------------------------------------*/


@media screen and (max-width: 991px) {

    .p-services {
        margin-bottom: 50px;
    }

    .article {
        margin: 30px 0;
    }

    .img-article {
        text-align: center;
        top: 0;
        width: 70%;
    }

    .image-services-background {
        width: 100%;
        height: 250px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .ruban {
        display: none;
    }

    .cadre-service-pair {
        display: none;
    }

    .cadre-service-impair {
        display: none;
    }

    .h2-pair {
        text-align: center;
        margin-top: 10px;
    }

    .h2-impair {
        text-align: center;
        margin-top: 10px;
    }

    .description-services h2 {
        font-size: 40px !important;
    }

    .description-services h3 {
        font-size: 25px !important;
    }

    .title-services {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .services {
        display: flex;
        flex-direction: column-reverse;
    }

    .description-services {
        margin-bottom: -40px;
    }
}

@media screen and (max-width: 768px) {
    .cadre-service-pair {
        left: 62px;
    }

    .cadre-service-impair {
        left: 105px;
    }
    
    .titrenbrvo p{
        margin: 25px 0 40px 0;
    }
}

@media screen and (max-width: 576px) {
    .cadre-service-pair {
        left: 50px;
    }

    .cadre-service-impair {
        left: 88px;
    }
}
