.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; /* Spacing between items */
  padding: 2px; /* Spacing around the grid */
}

.gallery-container a {
  display: block;
  width: 100%;
  height: 345px;
  cursor: pointer;
}

.gallery-container img {
  width: inherit;
  height: inherit;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* Tabs  */
.tab-container {
  width: 100%;
}

.tab {
  display: flex;
}

.tab button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ddd;
  color: #111111f1;
  width: max-content;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0px 16px;
  transition: 0.3s;
  font-size: 14px;
  margin-right: 10px;
}

.tab button:hover {
  background-color: #111111f1;
  color: #ddd;
}

.tab .active {
  background-color: #111111f1;
  color: #ddd;
}

.tabcontent {
  display: none;
  padding: 0px 0px;
  border-top: none;
}

.tabcontent.show {
  display: block;
}

/* Responsive Design */

@media screen and (max-width: 992px) {
  .gallery-container a {
    height: 250px;
  }
  /* .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    } */
}

@media screen and (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
}
@media screen and (max-width: 568px) {
  .gallery-container a {
    height: 150px;
  }
}
