body {
    font-family: "Poppins", sans-serif; 
}
*,
*::before,
*::after { 
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
:root {
    --primary-color: #ff7e00; 
    --secondary-color: #0a1484; 
    --third-color: #fff; 
}
.hamburger {
  display: none; 
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
}
.decouverte-titre {
  margin-top: 15px;
    font-size: 2.5rem;
    text-align: center;
    padding: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: double;
}

#nav-menu {
  position: fixed; 
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

#nav-menu ul {
  display: flex; 
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}


@media screen and (max-width: 768px) {
  .hamburger {
    display: block; 
  }
  
  #nav-menu ul {
    display: none; 
    flex-direction: column;
    padding: 15px 0;
  }

  #nav-menu ul.show {
    display: flex;
  }

  #nav-menu li {
    text-align: center;
    padding: 10px 0;
  }
}
nav {
    width: 100%;
    height: 50px;
    background-color: whitesmoke;
    position: sticky;
    top: 0;
}
nav ul {
    height: 100%;
   display: flex;
   justify-content: space-around;
   align-items: center;
}
nav li {
  
    list-style-type: none;
}
nav li a {
    text-decoration: none;
    color: #1dbaaa;
    font-size: 18px;
    
}


.active {
  color: #ff7e00;
  text-decoration: underline;
  /* background-color: #fff; */
}






/* .decouverte {
        padding: 20px; 
} */

.decouverte .decouverte-titre {
    font-size: 2rem;
    text-align: left;
    padding: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: double;
}

.decouverte .decouverte-gride {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
    margin: 20px auto;
    max-width: 1200px;
}

.decouverte .decouverte-carta {
    min-height: 200px;
    padding: 10px;
    background-color: #fff;
    border: 10px solid orange;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
  }
  .decouverte-carta .decouverte-img {
    height: 250px; 
    
  }
  
  .decouverte-img img {
    width: 100%;
    height: 100%;
    object-fit: calc(100% 100%);
}
.decouverte-carta h2 {
  margin: 5px 10px;
}
    
.decouverte-carta .decouverte-paragr {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-right: 10px;
    height: 110px;
    color: #333;
    text-align: justify;
}

.decouverte-carta .decouverte-choix {
    height: 40px;
    display: flex;
    justify-content: right;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 15px;
}
.decouverte-choix .choix_1 {
    width: 100px;
    text-align: center;
    background-color: orange;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    
}
.decouverte-choix .choix_1 a {
    text-decoration: none;
    color: white;

}
    .card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      width: 300px;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: scale(1.03);
    }

    .card img {
      width: 100%;
      height: auto;
      display: block;
    }

    .card-content {
      padding: 20px;
    }

    .card h4 {
      font-size: 22px;
      margin-bottom: 10px;
      color: #333;
    }

    .card p {
      font-size: 16px;
      margin-bottom: 20px;
      color: #555;
    }

    .card button {
      padding: 10px 20px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.3s ease;
    }

    .card button:hover {
      background-color: #45a049;
    }

    @media (max-width: 400px) {
      .card {
        width: 90%;
      }
    }
    @media (max-width: 350px) {

  body {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .decouverte .decouverte-gride {
    grid-template-columns: 1fr;
  }

  .decouverte-img {
    height: 120px; 
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;         
    flex-direction: column; 
    background: whitesmoke;
    width: 100%;
    position: absolute;
    top: 50px; 
    left: 0;
    z-index: 1000;
  }

  .hamburger {
    display: block;
  }

  nav ul.show {
    display: flex;
  }
}




