.strawberry-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 2%;
}

.watermelon-column-link {
  display: block;
  border-radius: 8px;
  width: 30%;
  padding-bottom: 38%; /* Consistent height ratio for desktop, tablet, and mobile */
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 20px; /* Space between stacked columns */
  /*filter: grayscale(100%); /* Apply black and white filter */
}

.watermelon-column-link:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  /*filter: grayscale(0%); /* Remove black and white filter on hover */
}

.watermelon-column {
  width: 100%;
  height: 100%;
}

.content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(35, 35, 35, 0.9);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
  transition: max-height 0.4s ease, padding 0.4s ease;
  height: auto;
  max-height: 80px;
  overflow: hidden;
}

.watermelon-column-link:hover .content-overlay {
  max-height: 100%;
  padding: 20px;
}

.content-overlay h3 {
  margin: 0;
  font-family: "pill-gothic-300mg", sans-serif;
  font-size: 1.3rem;
  color: #f9d415;
}

.content-overlay p {
  margin-top: 10px;
  display: none;
}

.watermelon-column-link:hover .content-overlay p {
  display: block;
}

/* Responsive styling for tablet */
@media (max-width: 1024px) {
  .strawberry-container {
    flex-direction: column;
    align-items: center;
  }

  .watermelon-column-link {
    width: 90%; /* Adjust to 90% for tablet view */
    padding-bottom: 100%; /* Keep consistent height ratio */
    margin-bottom: 20px; /* Padding at the bottom to create space */
  }
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
  .strawberry-container {
    flex-direction: column;
    align-items: center;
  }

  .watermelon-column-link {
    width: 95%; /* Adjust to 95% for mobile view */
    padding-bottom: 150%; /* Keep consistent height ratio */
    margin-bottom: 20px; /* Padding at the bottom to create space */
  }
}
