body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  header {
    background-color: #e6d712;
    padding: 5px;
    text-align: center;
  }

  h1, h2 {
    margin: 0;
    padding: 0;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .logo2 {
    width: 110px;
    height: auto;
    margin: -60px 0 20px;
  }
  
  .logo2 img {
    display: block;
    object-fit: cover;
  }
  
  nav li {
    margin: 0 10px;
  }
  
  nav a {
    text-decoration: none;
    color: rgb(252, 251, 251);
  }
  
  section {
    padding: 20px;
  }
  
  footer {
    background-color: #e6d712;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: rgb(252, 251, 251);
  }
  
  .fas.fa-shopping-cart {
    font-size: 20px;
  }
  
  .logo {
    width: 170px;
    height: auto;
    margin: 0;
  }
  
  .logo img {
    display: block;
    object-fit: cover;
  }
  
  #products {
    text-align: center; /* Center the products horizontally */
    padding: 20px;
  }
  
  .product-list {
    border: 2px solid red;
    display: flex; /* Arrange products in a row */
    flex-wrap: wrap; /* Allow products to wrap onto multiple lines if needed */
    list-style: none; /* Remove default bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    justify-content: space-around;
    /* flex: 1 1 200px; */
    flex-direction: row;
  }
  
  
  .product-item {
    border:2px solid blue;
    flex: 1 1 200px;
    margin: 10px; /* Add spacing between products */
    text-align: center; /* Center product elements vertically */
  }
  
  .product-item a {
    text-decoration: none; /* Remove link underline */
    color: black; /* Set link color */
  }
  
  .product-item img {
    width: 200px; /* Adjust width as needed */
    height: 200px; /* Adjust height as needed */
    object-fit: cover; /* Scale image to fill container while maintaining aspect ratio */
  }
  
  .product-item p {
    margin: 10px 0; /* Add margin above and below product name */
  }
  
  .product-item .price {
    font-weight: bold; /* Make price text bold */
  }
  

  body {
  overflow: visible; /* Hide content that goes beyond the viewport when the banner animates */
}

.banner {
  background-color: #381cd3;
  color: #fdfcfc;
  text-align: center;
  height: 5vh;
  padding: 20px;
  position: absolute;
  top: 204px;
  left: -100%; /* Start the banner offscreen */
  width: 100%;
  animation: slideIn 15s linear infinite; 
}

@keyframes slideIn {
  0% { left: -100%; }
  0% { left: 100%; }
}


#categories {
  text-align: center; /* Center the categories horizontally */
  padding: 20px;
}

.category-list {
  display: flex; /* Arrange categories in a row */
  list-style: none; /* Remove default bullet points */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

.category-item {
  /* Remove margins for inline display */
  padding: 10px; /* Add some padding for spacing */
  text-align: center; /* Center content within category items */
}

.category-item a {
  text-decoration: none; /* Remove link underline */
  color: black; /* Set link color */
}

.category-item img {
  width: 200px; /* Adjust width as needed */
  height: 300px; /* Adjust height as needed */
  object-fit: cover; /* Scale image to fill container while maintaining aspect ratio */
}

.category-item p {
  margin: 5px 0; /* Adjust margin top and bottom for category name */
}


