* {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

M .navbar li {
  list-style: disc;
}

a {
  text-decoration: none;
  color: rgb(255, 255, 0);
  font-size: 1rem;
}

a:hover {
  color: #000;
  text-shadow: 3px 3px 0px rgba(209, 255, 2, 0, 75);
  background-color: blue;
}

a:active {
  background-color: red;
}

nav {
  position: relative;
  padding: 0 2em;
  background-color: rgba(9, 2, 114, 0.874);
  border-radius: 17.5px;
}

/* Appliquez ce style à votre barre de navigation */

/* ----------------------- */

.burger-menu {
  position: fixed !important;
  top: 80px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background-color: #0d0333a1 !important;
  backdrop-filter: blur(15px) !important;
  transform: none !important;
  perspective: none !important;
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.burger-menu.open {
  display: block !important;
  height: 300px !important;
  padding: 20px 0 !important;
}

nav,
.navbar,
.container,
.form-grid,
.rdv-infos {
  transform: none !important;
  perspective: none !important;
}

/* ----------------------- */
.navbar {
  position: fixed;
  /* Rend la barre fixe par rapport à la fenêtre */
  top: 0;
  /* La colle en haut de la page */
  left: 0;
  /* La colle à gauche */
  width: 100%;
  /* Prend toute la largeur de l'écran */
  z-index: 1000;
  /* S'assure qu'elle reste au-dessus des autres éléments */
  background-color: #021056dd;
  /* Exemple : couleur de fond */
  /* Ajoutez vos autres styles (padding, couleurs, etc.) */
  border-radius: 35px;
  width: 100%;
  max-width: 1920px;
  height: 35px;
  margin: 0 auto;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(243, 250, 242);
}

.navbar .logo {
  position: relative;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  width: auto;
}

.navbar .logo img {
  width: 40px;
  height: auto;
}

.navbar .logotext a {
  font-size: 1.53rem;
  font-weight: bold;
  color: rgb(255, 255, 0);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1em;
}

.navbar .logotext .soustitre {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  font-style: italic;
  color: #ff00c8;
}

.navbar .links {
  display: flex;
  gap: 40px;
}

.buttons {
  display: flex;
  gap: 10px;
}

.action-button {
  padding: 0px 10px;
  color: rgb(202, 196, 244);
  background-color: transparent;
  color: yellow;
  border: 1px solid yellow;
  border-radius: 5px;
  cursor: pointer;
  height: 20px;
}

.action-button:hover {
  background-color: rgba(148, 214, 17, 0.874);
  color: black;
  border: #00ff00;
}

.ico-burger {
  height: 25px;
  width: auto;
  cursor: pointer;
}

/* --------- MENU REDUIT ------------- */
.burger-menu {
  cursor: pointer;
  position: absolute;
  top: 35px;
  right: 2rem;
  width: 0;
  left: 0;
  background-color: transparent;
  backdrop-filter: blur(15px);
  border-radius: 0 0 0 0;
  overflow: hidden;
  display: none;
  height: 0;
  transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#entete {
  display: block;
}

.burger-menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .burger-menu-button {
  display: none;
}

.burger-menu .action-button {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttons-burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.burger-menu.open {
  height: 240px;
  width: 100%;
  padding: 10px 0;
}

.burger-menu .links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: #0d0333a1;
}

.burger-menu li {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger-menu li:hover {
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px;
  background-color: #7d2d0d;
}

.diviser {
  height: 1px;
  background-color: rgb(51, 51, 51);
  width: 80%;
  max-width: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* ----------- BOUTON 1 --------------- */

.agjbtn {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.agjbtn:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-agjbtn 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-agjbtn {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.agjbtn:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

/* -------- FIN DU BOUTON 1 -------- */
/* ---------- RESPONSIVE ----------- */

@media (max-width: 658px) {
  nav {
    background: none;
  }

  .navbar .links {
    display: none;
  }

  .navbar .burger-menu-button {
    display: block;
  }

  .burger-menu {
    display: block;
  }
}
