/* Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  justify-content: center;
  background-color: #222;
  color: #fff;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Header Styles */
header {
  background-color: #111;
  padding: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  justify-content: space-between;
}

.logo h1 {
  font-size: 24px;
  margin: 0;
  color: #fff;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .logo {
    margin-bottom: 10px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 5px;
  }
}
/* Main Content Styles */
main {
  padding: 20px;
}

.product-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* Image Slider */
.slider {
  width: 1100px; /* Adjust the desired width */
  height: 600px; /* Adjust the desired height */
  
  position: relative;
  overflow: hidden;
  margin: 0 auto; /* Center the slider horizontally */
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
}

.active {
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 24px;
  font-weight: bold;
  padding: 8px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .slider {
    width: 100%;
    height: auto;
  }

  .prev,
  .next {
    font-size: 18px;
    padding: 6px;
  }
}
/* image slider end */
/* Heading */
.heading-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-top: 50px;
  max-width: 1200px;
  border-radius: 6px;
}

.batman-theme {
  background-color: #000;
  color: #fff;
}

.heading {
  flex-grow: 1;
}

.heading h2 {
  margin: 0;
}

.view-all {
  margin-left: 10px;
}

.view-all button {
  background-color: #fdd835;
  color: #000;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

.view-all button:hover {
  background-color: #ffb300;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .heading-bar {
    flex-direction: column;
  }

  .view-all {
    margin-left: 0;
    margin-top: 10px;
  }
}


.product {
  background-color: #333; /* Dark grey product background */
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.product img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.product h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff; /* White product title */
}

.product p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #ccc; /* Light grey product description */
}

.add-to-cart {
  background-color: #FFD700;
  color: #000;
  border: none;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.add-to-cart:hover {
  background-color: #FFDF00;
}

.product-listing {
  /* width: 1150px; Decrease the width by 5 pixels */
  margin: 0 auto; /* Center the product listing horizontally */
  text-align: center;
  display: grid;
  grid-gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.section-heading {
  width: 100%;
  text-align: center;
}

.section-heading h2 {
  font-size: 24px;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .product-listing {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 10px;
  }
}



/* Footer Styles */
footer {
  background-color: #111;
  padding: 10px;
  text-align: center;
}

footer p {
  margin: 0;
  color: #fff;
}

