@keyframes animate-preloader {
    0% {
      width: 10px;
      height: 10px;
      top: calc(50% - 5px);
      left: calc(50% - 5px);
      opacity: 1;
    }
  
    100% {
      width: 72px;
      height: 72px;
      top: calc(50% - 36px);
      left: calc(50% - 36px);
      opacity: 0;
    }
  }

  @keyframes up-down {
    0% {
      transform: translateY(10px);
    }
  
    100% {
      transform: translateY(-10px);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translate3d(0, -100%, 0);
    }
  
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes fadeInDownLite {
    from {
      opacity: 0;
      transform: translate3d(0, -10%, 0);
    }
  
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#titre{
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s both 0.6s;
} 
#titre span{
  text-align: center;
  font-size: 50px;
}

#evenements{
  position: relative;
    margin: 20px;
    padding-top: 50px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    animation: fadeInDownLite 1s both 0.6s;
}


img{
    object-fit: cover;
    width: auto;
    height: 300px;
}

.titre-event{
    color: var(--bs-primary);
}

.date-event{
    font-style: italic;
    color: gray;
    font-size: 15px;
}



.voir-plus {
  position: absolute;
  background-color:  var(--bs-primary);
  width: 150px;
  padding: 15px;
  margin: auto;
  bottom: 0px;
  border: none;
  color: white;
  cursor: pointer;
  left: 43%;
  transition: all ease-in-out 500ms;
&:hover{
background-color:  #3c3d4e;
}
}