/* General resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
  }  
  
  /* Font */
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #e8f5e9;
    color: #333;
    line-height: 1.6;
  }
  #customTaskSection {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  
  header {
    background: radial-gradient(circle at center, #b9fbc0, #34d399);
    color: #065f46;
    padding: 3rem 1rem;
    border-radius: 0 0 50% 50% / 0 0 10% 10%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  header h1 {
    transform: translateX(300px);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
  }
  
  header p {
    transform: translateX(350px);
    font-size: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 300;
  }
  
  /* Main layout */
  main {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  position: relative;
  z-index: 1;
  }
  
  /* Cards */
  .card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .card h2 {
    margin-bottom: 1rem;
    color: #047857;
  }
  
  /* Form */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  button {
    padding: 0.75rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background: #059669;
  }

  
  /* Points display */
  .points {
    font-size: 2.5rem;
    color: #16a34a;
    text-align: center;
    margin-top: 0.5rem;
  }
  
  /* Leaderboard */
  #leaderboard-list {
    list-style: none;
    padding-left: 0;
  }
  
  #leaderboard-list li {
    padding: 0.3rem 0;
    border-bottom: 1px dashed #ccc;
  }

  
  /* Footer */
  footer {
    padding: 1rem;
    background-color: #34d399;
    color: white;
    text-align: center;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    background-color: #63e88d;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #065f46;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #065f46;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: background 0.2s;
  }
  
  .nav-links li a:hover {
    background-color: #d1fae5;
  }
  #customTaskSection {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  
  #customTaskSection input {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ddd;
  }
  /* Merchandise Page Styles */
.merchandise {
  padding: 20px;
}

.product-list {
  display: flex;
  gap: 20px;
}

.product-item {
  width: 30%;
  border: 4px solid #0de04d;
  padding: 20px;
  text-align: center;
}

.product-item img {
  width: 100%;
  height: auto;
}

button.add-to-cart {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-top: 10px;
}

button.add-to-cart:hover {
  background-color: #45a049;
}

#cart-section {
  margin-top: 40px;
}

#cart-section ul {
  list-style-type: none;
  padding: 0;
}

#cart-section li {
  padding: 5px 0;
}

#checkout-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 30px;
  cursor: pointer;
  margin-top: 20px;
}

#checkout-btn:disabled {
  background-color: #ccc;
}

#checkout-btn:hover {
  background-color: #0056b3;
}
/* Recycle Challenge Game */
#recycle-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 20px; /* Added padding to ensure no content is cut off */
}

.game-container {
  display: flex;
  flex-direction: column; /* Ensure bins are stacked vertically */
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.bin {
  width: 120px;
  height: 120px;
  background-color: #d1fae5;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
}

.items-container {
  display: flex;
  gap: 2rem;
  justify-content: center; /* Center the items horizontally */
  margin-top: 20px; /* Add margin to separate items from bins */
}

.draggable-item {
  width: 100px;
  height: auto;
  cursor: grab;
  border-radius: 8px;
  transition: transform 0.2s;
}

.draggable-item:active {
  transform: scale(1.1);
}

#game-score {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 20px;
}
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.8;
}

body::before {
  left: 0;
  background-image: url('vines.jpg');
}

body::after {
  right: 0;
  background-image: url('vines.jpg');
}
body {
  background-image: url('vines.jpg'), url('vines.jpg');
  background-repeat: repeat-y, repeat-y;
  background-position: left, right;
  background-size: 100px auto, 100px auto;
}



    