.slider-container {
            width: 100%;
            height: auto;
            overflow: hidden;
            position: relative;
        }
        .slider-wrapper {
            display: flex;
            width: max-content;
            align-items: center;
            animation: scroll 24s linear infinite;
        }
        .slider-slide {
            margin-right: 150px; /* Espace entre les logos */
        }
        .slider-slide a img {
            height: auto;
            min-width:200px;
        }
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-100% - 150px)); /* Largeur de l'image + marge */
            }
        }

main {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;

  }



.agendaDate{
  color: var(--couleur-accent-un);
}
 /* commencement des alertes */
 main section:first-child {
  height: 70px;
  /* overflow: hidden; */
  padding-bottom: 0;
  display: flex;
  align-items: center;
  border-top: red dotted 5px;
  border-bottom: red dotted 5px;
  margin-bottom: 80px;
}
main section:first-child div {
  display: flex;
  animation: defilement 40s linear infinite;
}
main section:first-child article {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 90px;
  white-space: nowrap;
}

main section:first-child article p {
  color: red;
  font-weight: 700;
  padding-left: 20px;
}
@keyframes defilement {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* fin des alertes */

/* début du carousel accueil */
main > section:nth-child(2) {
  margin-bottom: 50px;
}

.owl-nav button {
  position: absolute;
  top: 50%;
  background-color: #000;
  color: #fff;
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.owl-nav button.owl-prev {
  left: 0;
}
.owl-nav button.owl-next {
  right: 0;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.38) !important;
}


.owl-nav button:focus {
    outline: none;
}

.titre-actu {
  padding: 2%;
  border-top:red dotted 5px;
  border-bottom: red dotted 5px;
  border-left: red dotted 5px;
}

.carrouselTitle {
  /* font-size: 1.5em; */
  font-size: calc(1rem + 0.4vw);
  color: #0a3cdd;
  height: 50px;
  padding-top: 4%;
}
 /* Hand picture */

.handpicture{
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  /* position: relative; */
}


  /* Centre Socio-culturel */
h1{
  font-size: calc(1.5rem + 3vw);
}

.defSection {
  width: 85%;
  margin: 7% auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6em;
}  
.socioPhoto{
  width: auto;
  display: flex;
  justify-content: center;
}
.socio{
  width:73%;
}

/* Les Activités */

.activite{
  width: 85%;
  margin: 10vh auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  text-align: center;
row-gap: 8em;
}

h2{
  width: 100%;
  /* text-align: center; */
}


.activite article{
  
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: dashed red; */
  width: 33%;
  /* margin: 2% 0; */ 
  
}

.activite article img{
  
  width: 100%;
  height: 100%;
  
}

.activite article .activites-enfances {
  color: var(--couleur-accent-un);
}
.activite article .activites-jeunes {
  color: var(--couleur-accent-deux);
}
.activite article .activites-famille {
  color: var(--couleur-accent-trois);
}
.activite article .activites-sociocult {
  color: var(--couleur-primary);
}
.activite article .activites-adultes {
  color: rgba(204, 102, 204, 1);
}

.letterA {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.letterC {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.letterT {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  /* font-size: 2em; */
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.letterI {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.letterV {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}
.letterI2 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}
.letterT2 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}
.letterE {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.letterS {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: calc(1rem + 1.6vw);
  line-height: 80px;
}

.activiteAge{
  width:100%;
  display: block;
  text-align: center;
}

.fleur{
  text-align: center;
}


/************************************************************************/
/****************************section  ***********************************************/
/************************carrousel partenaires*************************/
.partenaire {
 text-align: center;
 margin: 10vh 0;

}
.partenaire h2 {
  margin-bottom: 50px;
}
/* Préparation du carousel */
:root {
  --carousel-width: 100%;
  --carousel-height: 300px;
  --carousel-elements-displayed: 8;
  --carousel-element-width: calc(
    var(--carousel-width) / var(--carousel-elements-displayed)
  );
  --carousel-animation-duration: calc(var(--carousel-elements) * 3s);
}
/* Carousel à Proprement parler */
.container {
  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-height);
  overflow: hidden;
}
.container .carousel {
  display: flex;
  height: 100%;
  animation: caroufibre var(--carousel-animation-duration) linear infinite;
  align-items: center;
}
.container .carousel .carousel__face {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--carousel-element-width);
  max-height: 100%;
  white-space: nowrap;
}
.paused {
  animation-play-state: paused;
}
/* je cree un zoom sur les img quand je passe la souris dessus */
.carousel img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}
/* animation pour le carousel */
@keyframes caroufibre {
  0% {
    transform: translateX(0);
  }
  100% {
     transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
   
  }
}


@media screen and (max-width: 1024px) {
  .handpicture{
    height: auto;
    width: 100vw;
  }
  .handpicture img{
    width: 100%;
  }
.activite {
    width: 100%;
}
  .socio{
    width:100%;
  }
}

@media screen and (max-width: 768px) {  

.activite article{
width: 50%;
}
  
}

@media screen and (max-width: 425px) {  

.titre-actu {
  padding: 2%;
  border:red dotted 5px;
 }

.activite article{
width: 100%;
}
  
}
