
* {
  box-sizing: border-box; /* Applique à tous les éléments */
}

html {
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
  height:100%;
  color: white;
  font-size: 1.1vw;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;


}



#img_logo_nav{
  width: auto;
  height:100%;
}
#logo{
  position:absolute;
  width:10%;
  margin-left: 5%;
  z-index: 1;
}




#news_container{
  color:black;
  padding-top: 5%;
}
#in_news{
  position:relative;
  width: 90%;
  height:100%;
  text-align: left;
}




.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%;
}

.resum{
  margin-top: 2%;
}

#container_titre{
  margin-top: 5%;
  margin-left: 5%;
}
#container_sponsor{
  margin-top: 10%;
  padding-bottom: 10%;
}

.line{
  margin-top: 10%;
  position: relative;
  width:100%;
  height:40vh;
  display: flex;
  justify-content: center;
  align-items: end;
}
.mid{
  position: relative;
  width:30%;
  height:100%;
  cursor: pointer;
  overflow: hidden;
}
.sponsor_sep{
  background-color: #DA6416;
  width: 20%;
  height:2px;
  margin-top: 0%;
}
.image_sponsor{
  width: 50%;
  height:auto;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
.titre_spon{
  position: absolute;
}
.text_align_spon{
  position: absolute;
  top: 20%;
  left:80%;
  width: 60%;
  text-align: justify;
}
.contact_spons{
  position: absolute;
  bottom: 15%;
  left:80%;
}
.reso{
  width: 60%;
  position: absolute;
  display: flex;
  height:5%;
  left: 80%;
  gap: 3%;
  top: 50%;
}
.icone{
  width: auto;
  height:auto;
}


#text_titre{
  position: relative;
  width: 60%;
  height:fit-content;
  text-align: justify;
  margin-top: 1%;
}
#last_new_sep{
  background-color: #DA6416;
  width: 22.5%;
  height:2px;
  margin-top: 0.5%;
}


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


#titre_mast{
  position:absolute;
  top:40%;
  left:20%;
  color:rgb(0, 0, 0);
  width:30%;
  height:fit-content;
}
.separator{
  margin-top: 1%;
  width: 40%;
  height:1px;
  background-color: #DA6416;
}

.no_padding_title{
  margin: 0!important;
}




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



.spon{
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.spon_text{
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}
.profil{
  font-weight: bold; /* Épaisseur du texte */
  color: transparent!important; /* Rendre le texte transparent */
  -webkit-text-stroke: 2px rgb(0, 0, 0); /* Contour du texte en #DA6416 de 2px */
  text-align: center;
}



@media (max-width: 768px) {

  #container_titre{
    margin-top: 15%;
  }
  #last_new_sep{
    width: 44%;
  }
  #text_titre{
    width: 95%;
  }
  .line{
    flex-direction: column;
    align-items: center; /* Centrer les éléments */
    height:100vh;
    margin-top: 0;
  }
  .mid{
    width: 90%;
    height:60vh;
  }
}

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

  .line{
    height:280vh!important;
  }
  .mid{
    height:100%!important;
    margin-top: 5%!important;
  }
  .image_sponsor{
    width: 30%!important;
  }
  .resp_titre{
    position:relative!important;
    z-index: 2!important;
    transform:translateX(0)!important;
  }
  .spon_text{
    transform: translateY(0)!important;
  }

}

