 .custom-video-section{
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.custom-video-section::before{
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 1);
  opacity: 0;
  transition: all 0.4s ease;
}
.custom-video-section.active::before{
  opacity: 1;
}
.custom-video-container{
  margin-top: 70px;
  /*max-width:1000px;  old*/
  
  max-width:1140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #010934;
  padding: 5px 10px;
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}
 .custom-video-section.active .custom-video-container{
   visibility: hidden;
 }
.custom-video-container .custom-main-video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  visibility: visible;
  transition: all 0.4s ease;
}
.custom-video-section.active .custom-video-container .custom-main-video{
  transform:translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.custom-video-container .custom-main-video video{
  height: 100%;
  width: 100%;
  object-fit: cover;
  outline: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.custom-video-container .custom-main-video .close{
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: auto;
  opacity: 0.6;
  border: 1px solid;
  border-radius: 50%;
  background: #00072d;
}
.custom-video-container .custom-main-video .close:hover{
  opacity: 1;
}
.custom-video-container .custom-videos{
  position: relative;
  height: 300px;
  width: calc(100% / 3 - 5px);
  margin: 5px 0;
  cursor: pointer;
}
.custom-video-container .videos::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.3);
  pointer-events: none;
}
.custom-video-container .custom-videos video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
  pointer-events: none;
}
.custom-video-container .custom-videos i{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #fff;
  pointer-events: none;
}
@media (max-width: 750px) {
  .custom-video-container .custom-main-video{
    position: fixed;
    width: 83%;
  }
  .custom-video-container .custom-videos{
    width: 100%;
    height: 320px;
  }
}
@media (max-width: 600px) {
  .custom-video-container .custom-videos{
    width: 100%;
    height: 250px;
  }
}



