*{
  margin: 0;padding: 0;box-sizing: border-box;
}
/* Navbar */
nav {
  background-color: #333;
  color: #fff;
  height: 60px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar */
nav {
  background-color: #333;
  color: #fff;
  height: 60px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

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

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  background-color: #f2f2f2;
  padding: 80px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
}


/* Subscribe Section */
.subscribe-section {
  background-color: #333;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.subscribe-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.subscribe-section p {
  font-size: 18px;
  margin-bottom: 40px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-form input[type="email"] {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.subscribe-form button {
  padding: 10px 24px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

/* Contact Section */
.contact-section {
  background-color: #f2f2f2;
  padding: 80px 0;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 40px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 14px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

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

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}


/* Sign In Form */
#signin-form {
  margin-top: 50px;
}

#signin-form .container {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#signin-form h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

#signin-form .form-group {
  margin-bottom: 20px;
}

#signin-form label {
  font-weight: bold;
}

#signin-form input[type="text"],
#signin-form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#signin-form button[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #4CAF50;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}


/* Form styles for Update */
.put-product-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.put-product-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.put-product-form input[type="text"],
.put-product-form input[type="number"],
.put-product-form textarea,
.put-product-form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.put-product-form button[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.put-product-form button[type="submit"]:hover {
  background-color: #45a049;
}

.put-product-form button[type="submit"]:focus {
  outline: none;
}

/* Optional: Additional styles for form layout */
.put-product-form label,
.put-product-form input,
.put-product-form textarea,
.put-product-form select,
.put-product-form button {
  display: block;
}

.put-product-form input[type="text"],
.put-product-form input[type="number"],
.put-product-form textarea,
.put-product-form select {
  width: 100%;
  box-sizing: border-box;
}

.put-product-form button[type="submit"] {
  width: auto;
  margin-top: 15px;
  margin-left: auto;
  margin-right: 0;
}





/* Product list container */
#product-list {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Product item container */
.product-item {
  flex-basis: calc(25% - 20px);
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* Product image */
.product-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Product name */
.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Product price */
.product-price {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Product description */
.product-description {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Delete button */
.delete-button {
  padding: 8px 12px;
  background-color: #ff4136;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.delete-button:hover {
  background-color: #dc322f;
}
