.gallery-container h2{
  text-align: center;
}
.gallery {
  position: relative;
  height: 210px;
  overflow: hidden;
  margin: auto;
  margin-top: 20px;
}
.gallery .title{
  position: absolute;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  bottom: 0;
  left: 0;
  padding: 10px;
  background-color: #00000073;
  display: none;
  transition: 0.5s;
}
.gallery img{
  width: 100%;
  height: 100%;
  transition: 0.5s all ease-in-out;
}
.gallery:hover .title{
  display: block;
}
.gallery:hover img {
transform: scale(1.2);
}
.gallery embed{
  width: 100%;
  height: 100%;
}
.gallery-container .popup-image {
  background-color: hsl(0, 0%, 0%, 0.7);
  z-index: 100000;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}
.gallery-container .popup-image span{
  z-index: 1000;
  position: absolute;
  color: #ffffff;
  font-size: 50px;
  top: 10px;
  right: 30px;
  cursor: pointer;
}
.gallery-container .popup-image img{
  position: absolute;
  top: 50%;
  left: 50%;
  border: 5px solid #ffff;
  transform: translate(-50%, -50%);
  width: auto;
  height: 500px;
}
@media (max-width: 800px) {
  .gallery-container .popup-image img{
    width: 90%;
    height: auto;
  }
}