* {
  font-family: 'Calibri', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%; 
  background-image: url('achtergrond.webp'); 
  background-size: cover; 
  background-position: center center; 
  background-attachment: fixed; 
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #000000;
  width: 100%;
  box-sizing: border-box; 
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.left-nav {
  display: flex;
  align-items: center;
}

nav .logo-container img {
  height: 80px;
  margin-right: 20px;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  background-color: black;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: 2px solid white;
  border-radius: 10px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 2px solid white;
  border-radius: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #444;
}

.dropdown-content a:hover {
  background-color: #444;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.search-container {
  flex-grow: 1;
  text-align: center;
}

.search-input {
  padding: 8px;
  font-size: 16px;
  width: 250px;
  border: 2px solid white;
  border-radius: 10px;
  background-color: #333;
  color: white;
}

.search-btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin-left: 10px;
}

.search-btn:hover {
  background-color: #45a049;
}

.cart-container {
  margin-left: 20px;
}

.cart-container img {
  height: 80px; 
  width: auto; 
}

.cart-container a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  margin-top: 120px;
}

.product {
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  height: 450px; 
}

.product img {
  width: 50%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.product h2 {
  font-size: 18px;
  margin: 10px 0;
}

.product .product-price {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  color: black; 
}

.product button {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 10px; 
}

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

.product:nth-child(3) button {
  margin-top: 20px; 
}

.product:nth-child(6) button {
  margin-top: 20px; 
}

.product:nth-child(2) img {
  width: 80%;
  height: auto;
}

.product:nth-child(3) img {
  width: 37%;
  height: auto;
}

.product:nth-child(5) img {
  width: 50%;
  height: auto;
}

.product:nth-child(4) img {
  width: 60%;
  height: auto;
}

.product:nth-child(6) img {
  width: 45%;
  height: auto;
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr 1fr;
  }

  .product {
    height: 450px;
  }

  .product img {
    width: 100%;
  }
}
