.product-category-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  gap: 7rem;
  justify-content: center;
}

.product-category-item {
  height: 150px;
  width: 150px;
  border: 0.5px solid black;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  justify-content: center;
  text-decoration: none;
  color: black;
}

.product-category-item:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  background-color: maroon;
  color: white;
  box-shadow: 10px 10px 20px grey;
}

.carousel-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 400px;
  background-color: red;
  overflow-x: scroll;
  /* overflow-y: hidden; */
  cursor: pointer;
}

.carousel-item {
  flex: auto;
  height: 100%;
  min-width: 500px;
  background-color: rgb(0, 255, 60);
  position: relative;
}

.carousel-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: black;
  left: 0;
  top: 0;
  opacity: 0.5;
}
.carousel-item:hover .carousel-item-overlay {
  opacity: 0.1;
  transition: opacity 0.3s ease-in-out;
}

.carousel-item-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
