:root{
    --primary : #4f46e5;
}

*{
    box-sizing: border-box;
}

body{
    padding: 0;
    margin: 0;
    height: 100%;
    /* background-color: #F1F1F1; */
    background-color: #ebfaff;
}

section{
    width: 100%;
}

.container{
    width: 100%;
    height: auto;
}
.dflex{
    display: flex;
}
.jcsb{
    justify-content: space-between;
}
.jcsa{
    justify-content: space-around;
}
span{
    color: #4f46e5;
    font-weight: bold;
}

/*----------Fin des classes génériques  ---------------------*/



/* ------------------ fin de la partie des presentation---------------------*/


#landing-items{
    height: 100em;
    gap: 0.3em;
    /* margin: 7% 10% 7% 10%; */
} 

.item{
    /* width: 100%; */
    height: 33%;
    margin-top: 7%;
    margin-bottom: 10%;

}


.item .item-content-description{
    width: 40%;
    height: 70%;
    padding: 0 0.8em;
    font-size: 22px;
    font-style: italic;
    margin-left: 7%;
}
.item .item-content-description p{
    font-size: 20px;
    margin-bottom: 5%;
}
ul {list-style: none}

.item .item-content-description ul{
    li::before {content: "•"; color: blue;
        display: inline-block;font-size: 35px; width: 1em;
        margin-left: -2em}
}


.item .item-content-description .item-content-button{
    width: 70%;
    height: 15%;
    justify-content: space-between;
    margin-right: 30%;
    gap: 20px;
}
.item .item-content-description .item-content-button button{
    cursor: pointer;
    font-size: 17px;
    padding: 0.8em;
    border: none;
    border-radius: 0.3em;
    transition-property: transform;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}
.item .item-content-description .item-content-button button:hover{
    transform: scale(1.05);
}
.item .item-content-description .item-content-button button:first-child{
    background-color: var(--primary);
    color: white;
}
.item .item-content-description .item-content-button button:last-child{
    background-color: #32354A;
    color: white;
}

.item .item-content-img{
    /* width: 27%;
    height: 122%; */
    margin-right: 7%;
}

.item .item-content-img img{
    width: 100%;
    height: 70%;
    object-fit: cover;
    /* padding: 155px 5px 155px 5px; */
}

.middle_text {
    margin-right: 5%;
}

.middle_image {
    margin-left: 7%;
    
}


/* --------------------- fin des classes  ---------------------------*/
#content-card{
    height: 25em;
    gap: 0.8em;
    flex-wrap: wrap;
    margin-top: 3%;
    margin-bottom: 5%;
}

.card{
    width: 25%;
    height: 90%;
    min-width: 20em;
    margin: 20px;
    font-size: 17px;
    font-style: italic;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-radius: 0.8em;
}

.card div{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.card div h4{
    margin: 0.2em;
    width: 100%;
    text-align: center;

}

.card div a{
    width: 60%;
    height: 40%;
    border: 0.1em solid white;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5em;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
    color: white;
}

.card div a:active{
    transform: scale(1.1);
}

.card div:first-child{
    position: relative;
}

.card div:first-child span {
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    border-radius: 50%;
    background-color: #ebfaff;
    position: absolute;
    top: -30%;
    left: 40%;
    color: var(--primary);
}


/* Section #landing-items */
#landing-items .item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
  }
  
  #landing-items .item.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Section #content-card */
  #content-card .card {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-out;
  }
  
  #content-card .card.visible {
    opacity: 1;
    transform: scale(1);
  }
  
   /* Styles pour les sections partenaires, journaux et chroniques */

   .image_scrolling .scrolling-container {
    display: flex;
    gap: 1em;
    white-space: nowrap;
    text-align: center;
  }
  
  .image_scrolling .scrolling-item img {
    width: 6em;
    height: 6em;
    border-radius: 50%;
    object-fit: cover;
  }

  .image-slider {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .scrolling-wrapper .partner {
    display: flex;
    gap: 7em;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 250px;
  }

  .scrolling-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
  }

  .image-item {
    width: 7em;
    height: 7em;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color:#ebfaff;
  }
  
  .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .grid-item{
    width: auto;
    height:100%;
  }

  .grid-item img {
    width: 200px;
    height: 100%;
    object-fit: cover;
  }
  
  .image-grid{
    display: flex;
    padding: 1em;
    justify-content: center;
    align-items: center;
  }

  
  /* Styles pour les boutons de navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .slider-nav:hover {
    background-color: #f8f9fa;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
  
  .image-slider {
    position: relative;
  }
  
  .scrolling-wrapper {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
