.video-popup {
  position: relative;
  z-index: 2;
}

.video-popup img {
  width: 100%;
  object-fit: cover;
}

.mfp-iframe-holder button.mfp-close {
  top: -21px;
  padding: 10px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: -22px;
  border-radius: 6px;
  font-family: inherit;
}

.video-popup a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
}

.video-popup__overlay {
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
}

{#PLAY BUTTON STYLES#}
.video-popup .play-icon {
  max-width: 100px;
  margin: 0 auto;
  transition: all 0.3s;
  transform: scale(1);
}

.video-popup .play-icon:hover {
  transform: scale(1.2);
  transition: 0.5s;
}


.video-popup .play-icon:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}


{# END STYLES PLAY BUTTON #}

.video-popup a .circle {
  display: inline-block;
  border: 3px solid white;
  border-radius: 50%;
  padding: 30px;
  height: 10px;
  width: 10px;
}
.video-popup a .circle .triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid white;
  transform: translate(-40%,-50%);
}

.video-popup{
  height:auto;
}

.video-container{
  height:450px;
}

.video-container img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
}

.video-popup__overlay{
  height:auto;
}
.video-text{
  padding-top:100px;
}

@media(max-width:500px){
  .video-container{
  height:380px;
  }
  .video-text{
    /* padding:30px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 1.5em;
  }
  .video-popup a {
    /* transform: translate(-50%, 130%); */
    position: unset;
    transform: none !important;
  }
}

