.contenant {
    position: relative;
    margin-left: auto;
    margin-right: auto;


}

.images {
    border-radius: 5 px;
    display: flex;
    margin: 0 auto;
    aspect-ratio: 16/9;
    overflow-x: auto;
    max-width: 1080px;
    max-height: 608px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;


    border-radius: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);

}

.espace2 {
    .h2blanc {
        padding: 50px;
        display: flex;
        position: absolute;
        color: var(--psombre);


        justify-content: center;
        align-items: center;
        text-align: center;
        font-family: "Roboto";
        font-size: 48px;
        font-weight: 800;
        width: 900px;
        height: 50px;
        user-select: none;

        .titre {

            box-shadow: 3px 3px 3px var(--psombre);
            transition: all ease 2s;
        }

        .titre:hover {
            background-color: var(--acc3);
            transform: rotate(360deg);
        }
    }


}

.slider::-webkit-scrollbar {
    display: none;
}

.images img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;

}


.change-image {

    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;

}

.change-image a {

    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 1px 1px black;
    transition: all 250ms ease;
}

.change-image a:hover {
    width: 2rem;
    border-radius: 1rem;
    background-color: var(--acc1);
}

@media(max-width:1080px) {
    .change-image a {

        width: 3dvh;
        height: 3dvh;
        border-radius: 50%;
        background-color: white;
        box-shadow: 0px 1px 1px black;
        transition: all 250ms ease;
    }

    .change-image a:hover {
        width: 2rem;
        border-radius: 1.5rem;
        background-color: var(--acc1);
    }
}