.carouselContainer {
    width: 100%;
    height: 500px;
    background-color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    box-shadow: 8px 8px 0 0 black;
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 48px;
}

.carousel-item img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border: 1px solid #ededed;
}

.carousel-control {
    background: var(--green);
    border-radius: 50%;
    display: none;
    height: 40px;
    width: 40px;

    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    z-index: 10;

    color: white;
    font-size: 1rem;
    line-height: 2.5rem;
    text-align: center;

    cursor: pointer;
    user-select: none;
}

/* Position flèches */
.carousel-control.prev {left: 4%;}
.carousel-control.next {right: 4%;}

.carousel-control:hover {
    background: var(--dkGreen);
    color: white;
}

/* Affichage flèches */
#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: var(--dkGreen);
    cursor: pointer;
    display: block;
    font-size: 35px;
    line-height: 1rem;
}

.carousel-bullet:hover {
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet {
    color: var(--green);
}