/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

header .logo img {
  height: 40px;
  margin-right: 10px;
}

header .brand-name {
  font-size: 1.5em;
  font-weight: bold;
}

header p {
  margin: 0;
  text-align: center;
  font-size: 1.2em;
}

/* Main Content */
main {
  padding: 20px 0;
}

h1, h2 {
  color: #333;
}

.products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.product {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  flex: 1 1 calc(50% - 40px);
  box-sizing: border-box;
  transition: box-shadow 0.3s;
}

.product:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product h2 {
  margin-top: 0;
}

.product p {
  color: #666;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #4CAF50;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

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

/* Back Button Container */
.back-button-container {
  text-align: center;
  margin-top: 20px;
}

/* Sticky Footer */
footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
  color: #4CAF50;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .products {
    flex-direction: column;
  }

  .product {
    flex: 1 1 100%;
  }
}
