.carousel {
  width: 600px;
  margin-top: 3px;
  position: relative;
  min-width: 60%;
  width: 600px;
  height: 600px;
  margin-top: 38px;
  margin-left: auto;
  margin-right:auto; 
  overflow: hidden;
}

.carousel-track {
    display: flex;
  display: grid;
  grid-auto-flow: column;
  -webkit-transition: 1s all;
  transition: 1s all;
}

.carousel-slide img {
    min-width: 100%;
    width: 600px;
    height: 600px; 
    overflow: hidden;
}

.carousel-button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 4px solid #333;
    padding: 10px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-button.prev { left: 10px; }
.carousel-button.next { right: 10px; }

.visuallyhidden {

    -moz-animation:monanim 6s 0s;
    -webkit-animation:monanim 6s 0s;
    -o-animation:monanim 6s 0s;
    -ms-animation:monanim 6s 0s;
    -animation:monanim 6s 0s;

    position: absolute; /* Positionne l'élément en dehors du flux normal */
    width: 1px;        /* Réduit la largeur à 1 pixel */
    height: 1px;       /* Réduit la hauteur à 1 pixel */
    margin: -1px;      /* Utilise une marge négative pour éviter l'espace supplémentaire */
    padding: 0;        /* Aucune marge intérieure */
    overflow: hidden;   /* Cache tout débordement */
    clip: rect(0, 0, 0, 0); /* Cache l'élément en le découpant */
    border: 0;         /* Enlève toute bordure */
}

.slide-navigation {
  position: absolute;
  bottom: -30px;
  margin-top: 10px;
  text-align: center;   }

.slide-navigation a {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.3);
          box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.3);
  display: inline-block;
  background-color: #fff;
  width: 26px;
  height: 26px;
  margin: 0 3px;
  color: #000;
  font-family: arial, helvetica;
  font-size: 24px;
  text-decoration: none;
}

.slide-navigation a:hover {
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.8);
          box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  color: #ff6600;
}

#image2:target .carousel {
  -webkit-transform: translateX(-600px);
          transform: translateX(-600px);
}

#image3:target .carousel {
  -webkit-transform: translateX(-1200px);
          transform: translateX(-1200px);
}

#image4:target .carousel {
  -webkit-transform: translateX(-1800px);
          transform: translateX(-1800px);
}


