@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;
}
* {
  margin: 0;
  padding: 0;
  /*font-family: Arial, Helvetica, sans-serif;*/
}
body {
  font-family: "fonts/Photograph.woff2";

  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  background-color: #84C2FD;
}
.logo {
    display: flex;
    width: 120px;
    height: 100px;
    position: relative;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
  border-width: 1px;
  border-color: #fff;
  transform: translateY(10px);
}
ul li {
  margin: 0 10px;
}
a {
  text-decoration: none;
  color: #0156B3;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
}
a:hover {
  background-color: #0056b3;
  color: #fff;
  border: 1px solid #000;
}
.centered {
  text-align: center;
  color: #fff;
  margin-bottom: 10px; /* Ajoute un espace sous le paragraphe contenant le bouton */
}
p {
  text-align: center;
  color: #0051a8;
  font-size: 20px;
  font-weight: normal;
  margin: 8px 0;
  line-height: 1.3;
}
.text-container {
  background-color: rgba(194, 222, 246, 0.8);
  border: 3px solid #04A4FC;
  border-radius: 20px;
  padding: 20px;
  margin: 15px auto;
  max-width: 1100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 130px;
  left: 20px;
  right: 20px;
  z-index: 10;
}
@media screen and (max-width: 900px) {
  body {
    position: relative;
  }
  header {
    padding: 10px 20px;
  }
  ul {
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    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;
  }

  /* Styles du bouton hamburger */
  .button {
    display: flex;
    width: 50px;
    height: 50px;
    position: relative;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
  }
  .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 {
    top: 130px;
    left: 10px;
    right: 10px;
    transform: none;
    max-width: none;
    padding: 15px;
  }
  #fun-button {
    font-family: "Photograph";
    text-align: center;
    padding: 0px 70px;
    font-size: 28px;
    font-weight: normal;
    color: #fff;
    background-color: #0056b3;
    border-width: 1px;
    border-color: #fff;
    border-radius: 15px;
    position: relative; /* Pausition pour l'effet confettis */
    box-shadow: 1px 1px 1px #fff;
  }
  #fun-button:hover {
    background-color: #007bff;
    cursor: none; /* Masquer le curseur au survol */
  }
}