@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{
  color: rgb(61, 61, 61) ;
  text-align: center;
  font-size: 50px;
}

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



.actualite img{
    object-fit: cover;
    width: 32rem;
    height: 150px;
    
}


.plus{
  background-color: #3c3d4e;
  width: 150px;
  padding: 10px;
  margin: auto;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 500ms ease-in-out;
  &:hover{
    color: white;
    background-color:  var(--bs-primary);
  }
 
}

.name{
    color: var(--bs-primary);

    margin-top: 15px;
    margin-bottom: 10px;
    
}
.categorie{
    color: gray;

    margin-bottom: 15px;
    font-style: italic;
}

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