.gallery-container {
  display: flex;
  flex-direction: column;
}
.item-d{
  padding: 1rem 0;
}
.item-a {
  grid-area: a;
  height: 16rem;
  object-fit: cover;
  object-position: center 20%;
}
.item-b {
  grid-area: b;
  height: 16rem;
  object-fit: cover;
}
.item-c {
  grid-area: c;
  height: 16rem;
  object-fit: cover;
}
.item-d {
  grid-area: d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--secondary-color);
}
.item-d p {
  color: white;
  font-size: 1.05rem;
  
  margin: 0;
}
.item-d h2 {
  color: white;
  font-family: "Abhaya", sans-serif;
  font-weight: lighter;
  font-size: 3rem;
  margin: 0;
}
.item-d.en p {
    font-size: 1.25rem;
  }
@media screen and (min-width: 768px) {
  .item-a {
  object-position: center;
}
.item-d{
  padding: 1rem;
}
  .gallery-container .text-container{
    padding: 0 0;
  }
  .gallery-container {
    width: 100%;
    display: grid;
    grid-template-areas:
      "a b c"
      "a b c"
      "a b c"
      "d d c";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .gallery1-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .item-d p {
    font-size: 1.7rem;
    padding-top: 1rem;
  }
  .item-d.en p {
    font-size: 2.1rem;
  }
  .item-d h2 {
    font-size: 5rem;
    padding-bottom: 1rem;
    margin: 0;
  }
}
