.D {
    margin: 0;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-carrousel {
    --widthItem: 150px;
    --heightItem: 100px;
    width: var(--widthItem);
    height: var(--heightItem);
    perspective: 1000px;
}

.carrousel {
    --rotatey: 0;
    font-size: 4rem;
    position: relative;
    transform: rotatey(var(--rotatey));
    transform-style: preserve-3d;
    user-select: none;
    cursor: grab;
}

.carrousel-item {
    opacity: 0.5;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: opacity 0.5s;
}

.carrousel-item:hover {
    opacity: 1;
}

.carrousel,
.carrousel-item {
    width: 100%;
    height: 100%;
}

.carrousel-item:nth-child(1) {
    --rotatey: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=1);
}

.carrousel-item:nth-child(2) {
    --rotatey: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=2);
}

.carrousel-item:nth-child(3) {
    --rotatey: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=3);
}
.carrousel-item:nth-child(4) {
    --rotatey: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=4);
}

.carrousel-item:nth-child(5) {
    --rotate: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=5);
}

.carrousel-item:nth-child(6) {
    --rotatey: 0;
    transform: rotatey(var(--rotatey)) translatez(var(--tz));
    background-image: url(https://picsum.photos/600/400?random=6);
}

@media screen and (min-width: 576px) {
    .container-carrousel {
        --widthItem: 250px;
        --heightItem: 200px;
    }
}

.travaux-list {
    list-style-type: none;
    padding-left: 0;
}
.travaux-item {
    color: #193B1D;
    font-size: 18px;
}
.travaux-title {
    color: #E0C62B;
    font-size: 24px;
}
.travaux-icon {
    color: #E0C62B;
    font-size: 30px;
}
.travaux-container {
    padding: 20px;
}
.travaux-list li:before {
    content: "\2022";
    color: #E0C62B;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.essaie{
    display: flex;
}

