


.championat{
  display: flex;
  align-items: center;
  height:4vh;
}

#in_news{
  position:relative;
  width: 90%;
  height:100%;
  text-align: left;
}
.date{
  width: fit-content;
  padding-right: 1.5%;
}
.titre_event{
  padding-left: 1.5%;
  overflow: hidden;
}
.barre {
  position: relative;
  width: 0.7%; /* Largeur de la ligne */
  height: 0px; /* Taille initiale */
  background: #DA6416;
  transform: translateX(-50%);
  margin-left: 1%;
  margin-top:0.8%;
  align-self: flex-start;
}

.titre_event_text{
  transform: translateX(-105%);
}
.moveRight{
  animation: moveRight 0.4s linear forwards;
}

@keyframes moveRight {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(0%);
  }
}
.moveDown{
  animation: moveDown 0.5s linear forwards;
}

@keyframes moveDown {
  0% {
      height: 0;
  }
  100% {
      height: 3.1vh;
  }
}
.gradient-text {
  font-weight: bold;
  background-image: linear-gradient(-200deg, #DA6416, #459c90, #DA6416, #459c90, #DA6416, #459c90);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 200% 100%; /* Taille du dégradé pour pouvoir le déplacer */
  animation: gradientMove 3s linear infinite;
  transform: translateX(-105%);
}
#first{
  transition: transform 0.5s ease;
}

@keyframes gradientMove {
  0% {
    background-position: 100% 100%; /* Commence à gauche */
  }
  100% {
      background-position: -100% -100%; /* Se déplace à droite */
  }
}

#see_new{
  position: absolute;
  border: 1px solid black;
  padding: 0.5%;
  background-color: transparent;
  right:5%;
  cursor: pointer;
  z-index: 2;
}


#logo{
  position:absolute;
  width:10%;
  margin-left: 5%;
  z-index: 1;
}
#masthead{
  position:relative;
  width: 100%;
  height:100%;
  padding-bottom: 5%;
  margin-top: 3%;
}
#video_mast{
  position:relative;
  width: 100%;
  height:100%;
  object-fit: cover;
}

.not_all_width{
  width: 90%;
  margin-left: 5%;
}



#ban2{
  object-position: 0% 0%;
}
.container_ban{
  position:relative;
  width: 100%;
  height:100%;
}
.on_ban{
  position: absolute;
  top:60%;
  left:10%;
  width:30%;
}
#sep_ban{
  background-color: #DA6416;
  height:3px;
  margin-top: 1%;
  margin-bottom: 1%;
  width: 0%;
  background-color: #DA6416;
  transition: width 0.5s ease;
}
#titre_sep_ban{
  position: relative;
  width: 50%;
  overflow: hidden;
}
#last_nex_text_ban{
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
#in_text_aban_under{
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
#text_ban_under{
  position: relative;
  overflow: hidden;
}
#news_container{
  color:black;
  position: relative;
  padding-bottom: 5%;
}
#lastest_new, #gal_titre{
  width: fit-content!important;
}
#last_new_sep{
  background-color: #DA6416;
  height:2px;
  width: 0;
}
.container_news{
  margin-top: 3%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 5% 5%;
}
.news{
  flex: 1 1 calc(30%);
  max-width: calc(30%); 
  min-width: calc(30%); 
  margin-bottom: 2.5%;
  overflow: hidden;
}

.resum{
  margin-top: 2%;
}




#categorie{
  position: relative;
  width: 100%;
  height:100%;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 5%;
  padding-right: 5%;
}

.line{
  margin-top: 2%;
  position: relative;
  width:100%;
  height:40vh;
  display: flex;
  gap:2%;
  justify-content: center;
}
.big{
  position: relative;
  width:48%;
  height:100%;
}
.mid{
  position: relative;
  width:25%;
  height:100%;
}
.little{
  position: relative;
  width:25%;
  height:100%;
}
.is_white{
  color:white;
}
.is_second_color{
  color:#DA6416;
}
.is_black{
  color:black;
}
.text_hover{
  position: absolute;
  z-index: 1;
  bottom: 0%;
  width: 100%;
  overflow: hidden;
}
.big:hover .in_text_hover{
  transform: translateY(5%);
}
.mid:hover .in_text_hover{
  transform: translateY(5%);
}
.little:hover .in_text_hover{
  transform: translateY(5%);
}
.in_text_hover{
  transform: translateY(100%);
  transition: transform 0.5s ease;
  background-color: #eceeed40;
  border: 1px solid rgba(0, 0, 0, 0.216);
  padding: 1%;
  cursor: pointer;
}




.no_padding_title{
  margin: 0!important;
}
.inline{
  width: fit-content;
}
#last_new_sep2{
  background-color: #DA6416;
  height:2px;
}

.img_cat{
  position: relative;
  width: 100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

#categorie_resp{
  display: none;
}




@media (max-width: 768px) {

  #news_container{
    margin-top: 5%;
  }

  .container_news{
    display: block;
    width: 100%;
  }
  .news{
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-top: 5%;
  }
  .container_text_news{
    width: 100%;
  }
  .resum{
    width: 100%;
  }
  .date{
    width: fit-content;
  }
  .championat{
    overflow: hidden;
  }
  #see_new{
    margin-top: 5%;
    padding: 1%;
    margin-right: 2%;
  }
  #last_nex_text_ban,
  #in_text_aban_under{
    color:white!important;
  }
  #in_text_aban_under{
    width: 80%;
  }
  #ban2{
    object-position: center;
  }
  .on_ban{
    width: 90%;
    top:70%;
  }
  #sep_ban{
    max-width: 42%;
  }
  #titre_sep_ban{
    width: 100%;
  }
  #categorie{
    overflow: hidden;
    margin-top: 5%;
  }
  .line{
    height: 25vh;
  }
  #first_line{
    margin-top: 5%;
  }
  .in_text_hover{
    display: none;
  }
}


@media (orientation: landscape) and (max-width: 768px) {
  #titre_mast{
    top:25%;
  }
  .date{
    width: fit-content;
  }
  .barre{
    width: 2px;
    margin-top: 0;
    height:100%!important;
  }
  .titre_event_text, .gradient-text{
    transform: translateX(0)!important;
  }
  #ban2{
    margin-top: 10%!important;
  }
  .line{
    height:30vh;
  }
}
@media (max-width: 768px) {
  .barre{
    width: 2px;
    margin-top: 0;
    height:100%!important;
  }
  #right{
    width: 100%!important;
  }
}