/* 1 Reset CSS*/
/*@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");*/
@font-face {
    font-family: 'KGSimplytheBest';
    src: url('fonts/KGSimplytheBest.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Photograph';
    src: url('fonts/Photograph.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'KGSimplytheBest';
    background-image: url(../img/construct.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-family: "Open Sans", sans-serif;*/
}
.centered {
  text-align: center;
  color: #ffffff;
  margin-bottom: 10px; /* Ajoute un espace sous le paragraphe contenant le bouton */
}
p {
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: normal;
  margin: 8px 0;
  line-height: 1.3;
}
.text-container {
  background-color: #0056B3;
  border: 1px solid #ffffff;
  border-radius: 20px;
  padding: 20px;
  margin: 15px auto;
  max-width: 1100px;
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 10;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  position: relative;
}
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0;
  width: 100%;
  border-width: 1px;
  border-color: #ffffff;
}
.button {
  display: none;
}
ul li {margin: 0 10px;}
a {
  text-decoration: none;
  color: #2f2e9a;
  font-size: 18px;
  font-weight: normal;
  padding: 10px 15px;
  border-radius: 10px;
}
a:hover {
  background-color: #0056B3;
  color: #ffffff;
  border: 1px solid #ffffff;
}

@media screen and (max-width: 1425px) {
 
  body {
    position: relative;
  }
  header {
    /*background-color: ;*/
    padding: 10px 20px;
  }
  ul {
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.45);
    top: 0;
    left: -2560px;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: 0.5s;
  }
  ul li   {margin: 20px 0;}
  ul li a {text-transform: uppercase;}

  /* Afficher le bouton hamburger */
  .button {
    display: flex;
    width: 50px;
    height: 50px;
    position: relative;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
  }
  /* Styles du bouton hamburger */
  .button::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 2px;
    background-color: #000;
    box-shadow: 0 10px 0 #000;
    transform: translateY(-10px);
    transition: 0.5s;
  }
  .button.active::after {
    box-shadow: 0 0 0 #000;
    transform: rotate(45deg);
  }
  .button::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 2px;
    background-color: #000;
    transform: translateY(10px);
    transition: 0.5s;
  }
  .button.active::before {
    transform: rotate(-45deg);
  }
  ul.active {
    left: 0;
  }
   /* Responsive pour le conteneur de texte */
  .text-container {
    bottom: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    max-width: none;
    padding: 15px;
  }
}