/* Reset & base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Header styling */
header {
  background-color:#AFDDFF; /* Subway green */
  padding: 20px;
  text-align: center;
  color: white;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 28px;
  font-weight: bold;
  color: black; /* Subway yellow */
  letter-spacing: 1px;
} 

body {
  background-color: #f5f5f5;
  padding: 20px;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  margin: 0 auto 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="url"],
input[type="number"] {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 16px;
}

input[type="submit"] {
  background-color:#FED2E2; /* Subway green */
  color: white;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #C68EFD;
}

/* Product card styling */
#productList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

#productList div {
  background-color: #fff;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

#productList img {
  border-radius: 10px;
  margin-bottom: 10px;
}

#productList h3 {
  color: #009444;
  font-size: 18px;
  margin-bottom: 5px;
}

#productList h5 {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

#productList div div {
  background-color: #fecd2f; /* Subway yellow */
  color: #000;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

#productList div div:hover {
  background-color: #e5b91d;
}
