
.containers{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items:center;
  background: #f1f1f1;
  margin-top:30px;
}
.containers h2{
  text-align: center;
  padding: 10px;
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 0px;
  width:50%;
  margin-top:20px;
}
.containers .video-container{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 10px;
}
.containers .video-container .video{
  height: 300px;
  width: 350px;
  border: 5px solid #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.7);
  cursor: pointer;
  overflow: hidden;
}
.containers .video-container .video video{
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: .2s linear;
}
.containers .video-container .video:hover video{
  transform: scale(1.1);
}
.containers .popup-video{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rbga(0,0,0,0.8);
  height: 100%;
  width: 100%;
  display: none;
}
.containers .popup-video video{
  position: absolute;
  top:60%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 800px;
  border-radius: 5px;
  border: 3px solid #fff;
  object-fit: cover;
}
.containers .popup-video span{
  position: absolute;
  top: 130px;
  right: 245px;
  font-size: 50px;
  color: #020202;
  font-weight: bolder;
  z-index: 100;
  cursor: pointer;
}
@media (max-width:768px){
   .containers{
       margin-top:150px !important;
   }
  .containers .popup-video video{
    width: 95%;
  }
  .containers .popup-video span{
    top: 38%;
    right: 5px;
  }
  .containers{
    margin-top: 300px;
  }
  .containers h1{
    padding: 5px;
    font-size: 20px;
  }
  .containers .popup-video span{
    font-size: 30px;
    color: #000;
  }
}