body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    font-family: Arial, sans-serif;
}

canvas {
    display: block;
}

#contact-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.416);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1; /* Assurez-vous que cet élément est au-dessus de l'animation */
}

#contact-info h1, #contact-info p {
    margin: 0 0 10px;
    color: #000;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }
  
  header.hidden {
    transform: translateY(-100%);
  }
  
  
  nav {
      display: flex; /* Aligne les éléments horizontalement */
      justify-content: space-around; /* Aligne les éléments à gauche */
      padding: 15px 40px; /* Espacement interne */
      width: 100%;
  }

  .navbar-container{
    width: 100%;
    display: flex;
 
   
  }

  .menu-items{
    display: flex;
    justify-content: space-around;
  }

  input[type="checkbox"] {
    display: none;
  }

  nav a{
      position: relative;
      color: #999;
      text-decoration: none;
      font-size: 1em;
      z-index: 2;
      height: 75px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 30px;
      transition: 0.5s;
  }
  
  nav a :active{
      color: #222327;
  }
  

  
  @keyframes slideIn {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  /* nav a pour cyber -------------------------------------- */
  .box {    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
    animation: border-angle-rotate 2s infinite linear;
    border: 2px solid transparent;
    
  }
  
  .box.a {
    background: transparent; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1;
    border-image-slice: 1;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  /* nav a hover -------------------------------------------------------*/
  
  
  
  a:hover{
    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
    animation: border-angle-rotate 2s infinite linear;
    border: 2px solid transparent;
    background: transparent; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1;
    border-image-slice: 1;
    padding-right: 20px;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  
  }
  


  /*       ------------------ -----------------------les media query------------------------------------------------------- */



/*  media query 1205px -------------------------------------------------------------------------------------------------------- */

@media (max-width: 1205px) {
  nav a {
    font-size: 0.7em;
    
  }
  /* .menu-items {
    width: 2px;
  } */
}


/* ......../ media query 968 -------------------------------------------------------------------------------------------- /.......... */

@media (max-width: 968px) {
  
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
    
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
   
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
    
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 0px;
    /* background: #ffffff00; */
    height: 100vh;
    max-width: 200px;
    top: -100px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    /* box-shadow: 5px 0px 10px 0px #aaa; */
    background-color: aqua;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.0rem;
    font-weight: 200;
   
  }


  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }


/* ----------------------------------------- */

/* nav a pour cyber -------------------------------------- */
.box {
    /* width: 150px; 
    height: 50px;  */
    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
    animation: border-angle-rotate 2s infinite linear;
    border: 2px solid transparent;
    
  }
  
  .box.a {
    background: transparent; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1;
    border-image-slice: 1;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  /* nav a hover -------------------------------------------------------*/
  
  
  
  a:hover{
    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
    animation: border-angle-rotate 2s infinite linear;
    border: 2px solid transparent;
    background: transparent; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1;
    border-image-slice: 1;
    padding-right: 20px;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  
  }


nav a{
  
    position: relative;
    color: #999;
    text-decoration: none;
    font-size: 0.7em;
    z-index: 2;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    transition: 0.5s;
   
}
}


/*  media query  500px           ---------------------------------------                   ---+------------------------------------------- */

@media (max-width: 500px) {
  html {
    font-size: 65%;
  }

  .navbar .menu-items li{
      font-size: 1.6rem;
  }

  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }

  .food-menu-container img {
    margin: auto;
  }

  .food-menu-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container {
    width: 90%;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo {
    position: absolute;
    top: 06px;
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

/*  media query  769px           ---------------------------------------                   ---+------------------------------------------- */

@media (min-width: 769px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}
