.home-container {
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8%;
    position: relative;
}

.home-item {
    max-width: 500px;
    margin: 0 auto 20px;
}

@media screen and (min-width: 1024px) {
    .home-container {
        flex-direction: row;
    }
    .home-item {
        width: 28%;
    }
}

@media screen and (min-width: 1280px) {
    .home-container {
        gap: 100px;
    }
}

@media screen and (min-width: 1380px) {
    .home-container {
        padding: 0;
    }
}
.edit-inactif{
    display: none;
}


/*diapo*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    max-width: 1280px;
    height: auto;
    max-height: 600px;
    position: relative;
    margin: 0 auto 50px;
    background-color: black;
}

/* Hide the images by default */
.mySlides {
    display: none;
    height: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.slide-text {
    color: white;
    font-size: 1.2em;
    padding: 40px 0 0 40px;
}

.slide-titre {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 2em;
}


.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.mySlides img {
    vertical-align: bottom;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.shadow-slide {
    display: none;
    width: 1280px;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 50%), rgba(0, 0, 0, 0%));
    position: relative;
    top: -600px;
}

@media screen and (min-width: 1280px){
    .shadow-slide {
        display: block;
    }
}

.modifImgSlides {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin: 0 auto 40px;
    position: relative;
}

@media screen and (min-width: 1024px) {
    .modifImgSlides {
        flex-direction: row;
    }
}