.slider {
    margin-top: 0px;
    margin-block-start: 0px !important;
}

.slider .swiper-button-prev,
.slider .swiper-button-prev:hover,
.slider .swiper-button-prev:focus {
    display: flex;
    left: 100px;
    background-image: url('../../../assets/images/fleche2.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 75px;
    width: 75px;
    z-index: 1;
}

.slider .swiper-button-next,
.slider .swiper-button-next:hover,
.slider .swiper-button-next:focus {
    display: flex;
    right: 100px;
    background-image: url('../../../assets/images/fleche1.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 75px;
    width: 75px;
    z-index: 1;
}

.slider .swiper-slide {
    position: relative;
    max-height: 600px;
    height: 500px;
    width: 100% !important;
}

.slider .swiper-slide .slides-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.3;
    z-index: 1;
}

.slider .swiper-slide img,
.slider .swiper-slide .slides-placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slides-content {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 65%;
    width: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
    max-width: 1160px;
}

.slides-text {
    font-size: 28px;
    font-style: normal;
    font-weight: 750;
    line-height: 29px;
    text-align: center;
}

.slides-button {
    background-color: #EC6608;
    color: #F4F4F4;
    border: none;
    font-weight: 700;
    font-size: 14px;
    width: 292px;
    padding: 12px;
    display: flex;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.slides-button:hover {
    background-color: #F4F4F4;
    color: #EC6608;
}

.slides-button a {
    color: #F4F4F4;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 1024px) {
    .slider .swiper-button-prev {
        left: 4%;
    }

    .slider .swiper-button-next {
        right: 4%;
    }

    .slides-content {
        top: 50%;
        width: 65%;
    }
}

@media only screen and (max-width: 768px) {
    .slider .swiper-button-prev {
        left: 10px;
        width: 40px;
        height: 40px;
    }

    .slider .swiper-button-next {
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .slider .swiper-slide {
        height: auto;
    }

    .slides-text {
        font-size: 20px;
    }

    .slides-button {
        width: 200px;
        font-size: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .slides-content {
        width: 80%;
        row-gap: 20px;
    }

    .slides-text {
        font-size: 15px;
        line-height: 15px;
    }

    .slides-button {
        width: 140px;
        font-size: 9px;
    }
}

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

    .slider .swiper-button-prev,
    .slider .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .slider .swiper-slide {
        height: 300px;
    }

    .slides-content {
        width: 75%;
    }

    .slides-text {
        font-size: 16px;
        font-weight: 750;
        line-height: 20px;
    }

    .slides-button {
        font-size: 10px;
        width: 200px;
        padding: 6px;
    }
}