*,
::before,
::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 80%;
  font-family: 'Roboto', sans-serif;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

hr {
  margin: 0px auto;
  width: 70%;
}



/* Style the header */
.information {
  max-width: 100%;
  margin: 0;
  height: auto;
  text-align: center;
  font-size: 20px;
  padding: 15px;
  background: #0e273b;
  color:#75ac42; 
}

.information span {
  text-decoration: underline;
}

/* Page content */
.content {
  padding: 25px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

nav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0px 25px;
  background: #f1f1f1;
  z-index: 1000;
}

.nav-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 20px;
}

.nav-icon span {
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: 25px;
  margin-left: 10px;
  font-weight: 400;
  color: #333;
}

.nav-icon img {
  width: 100px;
  height: 80px;
  min-width: 100px;
}

.hamburger {
  display: none;
}

.navlinks-container i {
  margin-left: 5px;
}

.navlinks-container a {
  padding: 12px 0;
  margin: 10px 15px 0px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  display: inline-block;
  position: relative;
}

.navlinks-container {
  margin-left: 70px;
}

.navbar-form {
  width: 30px;
  margin: 0px 10px;
  font-size: 16px;
}

.navlinks-container a:hover {
  color: #4fbec6;
  transition: 0.3s ease-out;
}

.nav-authentication {
  margin-left: auto;
}

.sign-user {
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  color: #333;
  font-size: 16px;
  min-width: 90px;
  padding: 10px 5px;
  margin: 0 0px;
  border-radius: 5px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  top: 100%;
  transition: 0.3s ease-out;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 237px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  margin: 0;
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #76ac2c;
  color: black;
  transition: 0.3s ease-out;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  color: #3e8e41;
}

/* Style pour le logo */
.logo {
  float: left;
  margin: 8px 16px;
}

/* Style pour l'icône de connexion */
.login-icon {
  float: right;
  margin: 8px 16px;
  color: white;
  font-size: 20px;
}

@media (max-width: 1280px) {
  .navlinks-container {
    margin-left: 0;
  }

  /* liste deroulant */
  .dropdown-content {
    position: sticky;
    top: 0;
  }

  /* Style the search box inside the navigation bar */
  .search-container {
    margin: 0px;
    float: none;
  }

  input[type="text"],
  .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }

  .topnav input[type="text"] {
    border: 1px solid #ccc;
  }

  /* Style pour le logo */
  nav {
    padding: 15px 10px;
    position: relative;
  }

  .nav-icon {
    order: 2;
    margin: 0;
    margin-left: auto;
  }

  .nav-icon span {
    font-size: 22px;
  }

  .nav-icon img {
    height: auto;
  }

  .main-navlinks {
    order: 1;
  }

  /* hamburgerToggler */
  .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #f1f1f1;
    align-items: center;
    position: relative;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
  }

  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3) {
    transition: transform 0.3s ease-out;
  }

  .hamburger span:nth-child(1) {
    transform: translateY(7px);
  }

  .hamburger span:nth-child(3) {
    transform: translateY(-7px);
  }

  .hamburger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
  }

  .hamburger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
  }

  .navlinks-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    background: #f1f1f1;
    top: 100%;
    left: 0;
    height: 100vh;
    padding: 15px 50px 15px 20px;
    transform: translate(-100%);
    transition: transform 0.3s ease-out;
    width: 100%;
  }

  .open {
    transform: translate(0%);
  }

  .navlinks-container a {
    font-size: 18px;
    margin: 10px 14px;
    padding: 5px;
  }

  .nav-authentication {
    order: 3;
    margin-right: 0px;
  }
}

@media (max-width: 500px) {
  .nav-icon img {
    width: 80px;
  }

  .nav-icon span {
    font-size: 20px;
  }
}



 /* les produits */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;margin-top: 90px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1{
    text-align: center;font-size: clamp(15px,3vw,25px);color: #333;
}

@media (max-width: 600px) {
  header  {margin-top:0;}
   
  }
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    margin: 10px;
}

.product img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product p {
    margin: 5px 0; 
}
	.product .price {
    font-size: 1.5em;
    color: #e74c3c;
	 font-weight: bold;
}


.product .button {
    background-color:#1A4D2E;
    color: salmon;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.product .button:hover {
    background-color: salmon;color:#ffffff;
}
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        margin: 10px 0;
    }
	
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .product {
        width: 100%;
        margin: 5px 0;
        padding: 15px;
    }

    .product h2 {
        font-size: 1.1em;
    }

    .product .price {
        font-size: 1.2em;
    }
	
    .product .button {
        padding: 8px;
    }
}



.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.filters label {
    margin-right: 10px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    margin: 10px;
}

.product img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product p {
    margin: 5px 0;
}

.product .price {
    font-size: 1.5em;
    color: #e74c3c;
}


.product .button {
    background-color: #1A4D2E;
    color: salmon;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: center;
    }

    .filters label,
    .filters select {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0px;
    }

    .product {
        width: 90%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .filters {
        gap: 10px;
        padding: 10px;
    }

    .filters label,
    .filters select {
        max-width: 100%;
    }

    .product {
        width: 100%;
        margin: 5px 0;
        padding: 15px;
    }

    .product h2 {
        font-size: 1.1em;
    }

    .product .price {
        font-size: 1.2em;
    }

    .product .button {
        padding: 8px;
    }
}

