@font-face {
  font-family: 'hHachimaki'; /* Le nom que tu veux utiliser dans ton CSS */
  src: url('/fonts/hHachimaki.ttf') format('truetype'); /* Chemin vers le fichier */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto-Light'; /* Le nom que tu veux utiliser dans ton CSS */
  src: url('/fonts/Roboto-Light.ttf') format('truetype'); /* Chemin vers le fichier */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto-Bold'; /* Le nom que tu veux utiliser dans ton CSS */
  src: url('/fonts/Roboto-Bold.ttf') format('truetype'); /* Chemin vers le fichier */
  font-weight: normal;
  font-style: normal;
}
html{
  height: 100%;
  margin: 0;
  padding: 0;
}
body{
  min-height: 100%;
  font-family: "Roboto-Light", 'Calibri'; 
  margin: 0;
  display: flex;
  flex-direction: column;
}
header{
  font-family: "hHachimaki", 'Calibri';
  background-color: rgba(0, 0, 0, 0.87);  
  border-top: 1px solid rgba(0, 0, 0, 0.87);
  border-bottom: 1px solid rgba(0, 0, 0, 0.87);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.header2{
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 0;
}
footer{
  font-family: Arial, Calibri;
  font-size: 1.5vw;
}
.pied-page{
  padding: 0;
  background-color: rgb(56, 56, 56);
  border-top: 0.5vw solid #ffff00;
}
.pied-page p{
  margin: 0;
  padding: 0.5% 0;
  font-size: 1rem;
  color: #aaa;
  text-align: center;
}
h1{
  text-align: center;
  margin: 0;
  padding: 0.5rem;
}
#menu_principale{
  color: #ffff00;
  font-size: 3rem;
  text-align: center;
  text-decoration: none;
}
.menu {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  gap: 4vw;
  border-top: 0.2rem solid #ffff00;
  background-color: rgba(255, 255, 255, 0.1);
}
.menu p{
  margin: 0;
  padding: 1rem 0;
}
.menu a{
  font-family: "Roboto-Light", "hHachimaki";
  font-weight: bold;
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  display: flex;
  transition: transform 0.5s;
}
.menu a:hover{
  font-style: italic;
  font-family: "Roboto-Bold";
  color: #ffff00;
  transform: scale(1.1);
}
.menu a:active{
  transform: scale(0.9);
}
.contact{
  display: flex;
  background-color: rgba(128, 128, 128, 0.2);
  justify-content:space-around;
  align-items: center;
  padding: 1%;
}
.mail{
  font-size: 1.25rem;
}
.mail p a {
  color: rgb(255, 0, 0);
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
}
.mail p a:hover{
  text-decoration: underline;
}
.mention_legal{
  padding-top: 0.3rem;
  text-align: center;
}
.mention_legal a{
  text-decoration: none;
  color: #B1F500;
}
.mention_legal a:hover{
  font-weight: bold;
  font-style: italic;
}
.social_media{
  display: flex;
  gap: 1vw;
  margin: 0;
  padding-top: 1%;
  justify-content: center;
}
.social_media img{
  background-color: rgba(128, 128, 128, 0.5);
  padding: 0.2rem;
  border-radius: 25%;
  width: 1.75rem;
  transition: all 0.2s ease;
}
.social_media img:hover{
  background-color: rgba(0, 0, 0, 0.20);
  transform: scale(1.25);
  border: 1px white solid;
  transition: all 0.2s ease;
}
.bouton_fermer, .bouton_menu{
  display: none;
}
@media (min-width:50px) and (max-width: 599px) {
  .pied-page p, .mention_legal a{
    font-size: 3vmin;
  }
  h1{
    padding: 0;
  }
  #menu_principale{
    font-size: 8vmin;
  }
  .mail p{
    font-size: 3vmin;
    text-align: center;
  }
  .social_media a{
    padding: 0 2vmin ;
  }
  .social_media a img{
    width: 6vmin;
    height: auto;
  }
  .bouton_menu{
    display: flex;
    width: 7vw;
    height: 7vw;
    background-color: #ffffff1c;
    border-radius: 5px;
    border: 1px #ffffff42 solid;
    margin-bottom: 0.5rem;
  }
  .bouton_fermer, .open .bouton_menu{
    display: none;
  }
  .open .bouton_fermer{
    display: block;
    position: fixed;
    z-index: 1001;
    top : 10%;
    right: 5vw;
    width: 10vw;
    height: 10vw;
    background-color: #ffffff1c;
    border-radius: 10px;
    border: 1px #ffffff42 solid;
    transition: transforme 0.5s;
  }
  .open .bouton_fermer:hover{
    transform: scale(1.2)
  }
  .menu{
    position:fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    border: 0;
    flex-direction: column;
    justify-content: center;
    z-index: 1000; 
    align-items: center;
    transform: translateX(-100%);
    transition: transform 1s;
  }
  .menu p{
    padding: 1.5vw;
  }
  .menu a{
    font-size: 3.5vh;
  }
  .open .menu{
    transform: translateX(0);
  }
}
@media (min-width:600px) and (max-width: 768px) {
  .menu a{
    font-size: 2vmax;
  }
}
@media (min-width:600px){
  .mention_legal a{
    font-size: 1rem;
    
  }
}