.sec-top-gal {
  width: 100%;
  height: 100%;
  text-align: center;
}
.bg-container {
  width: 100%;
  height: 650px;
  max-width: 2000px;
  margin: 0 auto;
}
.bg-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.h2-div {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.8em;
  font-family: 'Josefin';
}
.h2-div h2 {
  text-align: center;
}
.sec-gal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.gal-container {
  width: 100%;
  height: 100%;
  max-width: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-div {
  width: 50%;
  height: 30vw;
  max-height: 500px;
  position: relative;
  cursor: pointer;
}
.img-div p {
  width: 70%;
  text-align: center;
  color: rgb(244, 244, 244);
  position: absolute;
  font-family: 'tenor';
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms, transform 500ms;
  font-size: 2em;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
}
/* hover effect */
.img-div:after{
  content: "";
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  pointer-events: none;
  transition: opacity 500ms;
}
.img-div:hover::after{
  opacity: 1;
}
.img-div:hover p {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.img-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media screen and (max-width: 700px) {
  .bg-container {
    height: 300px;
  }
  .h2-div {
    height: 170px;
    line-height: 1.8em;
    font-size: 2.1em;
  }
  .gal-container {
    flex-direction: column;
  }
  .img-div {
    width: 100%;
    height: 45vw;
  }
  .dana-liel img {
    object-position: center;
  }
}
@media screen and (max-width: 550px) { 
  .h2-div {
    font-size: 1.5em;
    max-width: 20ch;
    margin: 0 auto;
  }
}