/*----- fichier service.css-----*/

@keyframes opacityEffect {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.slide.show {
    z-index: 5;
    animation: zoomEffect 7s ease, opacityEffect 7s ease-out;
    animation-fill-mode: forwards;
}
h1 {
    padding-left: calc(8% + 3px);
    margin: 0 auto;
    margin-top: 6%;
}

.wrapper-services .container_img {
    width: 50%;
}

.text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 33%;
}

.text li {
    margin: 15px 0;
}

.a_button,
.a_button_2 {
    display: block;
    width: max-content;
    margin: 0 auto;
}
article {
    align-items: start;
}
@media only screen and (max-width: 1000px) {
    article {
        display: flex;
        flex-direction: column;
    }
    .wrapper-services .flex_reverse {
        flex-direction: column;
    }
    .wrapper-services .container_img {
        width: 100%;
        margin: 40px 0;
    }
    .text {
        width: 100%;
    }

    .wrapper-services h1 {
        margin: 5% 5% 0 5%;
        width: 90%;
        text-align: left;
        padding-left: 0;
    }
}

@media only screen and (max-width: 810px) {


    .a_button {
        margin-top: 15%;
    }
}
