/* General Styles */



body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: black;

}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin-right: 20px;
}

nav li:last-child {
  margin-right: 0;
}

nav a {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 0;
}

.logo img {
  max-height: 100px;
}

/* Hero Section Styles */
#hero {
  background-image: url("/images/lightgreyback.jpeg");
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

#hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: whitesmoke;
}

#hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0062cc;
}

/* About Section Styles */
#about {
  background-color: black;
  padding: 50px 20px;
  text-align: center;
  color: white;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

/* Footer Styles */
footer {
  background-color: black;
  padding: 20px 0;
  text-align: center;
  color: white;
  margin-top: 100px;
}

footer p {
  font-size: 0.8rem;
  margin: 0;
}     

main {
  flex-grow: 1;
  margin-top: 200px;
  margin-bottom: auto;
  
}

.product-listing {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product {
  width: 33.33%;
  text-align: center;
}

.product img {
  width: 300px; /* set a fixed width */
  height: 200px; /* set a fixed height */
  object-fit: cover; /* ensure the image fills the container */
}

.product h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.product p {
  margin-top: 10px;
  font-size: 1rem;
}

.product button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product button:hover {
  background-color: #717272;
  color: white;
}

.product-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 600px;
  height: 500px;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.product-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  margin-top: 20px;
 
  
}

.product-container h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.product-container p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
}

.product-container button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.product-container button:hover {
  background-color: #717272;
}

#alert {
  background-color: #717272;
  padding: 50px 20px;
  text-align: center;
  color: white;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* General Styles */

/* Existing styles... */

/* Header Styles */

/* Existing styles... */

/* Hero Section Styles */

/* Existing styles... */

/* About Section Styles */

/* Existing styles... */

/* Footer Styles */

/* Existing styles... */

/* Responsive Styles */

@media only screen and (max-width: 600px) {
  /* Styles for devices with a maximum width of 600px or less */

  /* Example: Adjusting the font size for smaller screens */
  h2 {
    font-size: 1.5rem;
  }

  /* Example: Modifying the layout for smaller screens */
  .product-listing {
    flex-wrap: wrap;
  }

  /* Example: Adjusting the width of product items */
  .product {
    width: 100%;
  }

  /* Example: Adjusting the height of product images */
  .product img {
    height: auto;
    margin-top: 20px;
  }

  /* Add more responsive styles as needed for different elements and sections */
}
