.popup-video-container {
  width: 100%;
  max-width: 770px;
  background-color: rgb(254, 246, 237);
  position: absolute;
  top: 0;
  left: 0;
  margin-bottom: 32px;
  
}

/* .popup-video-container:before {
  content: "";
  display: block;
  padding-top: 56.23%;
} */

.popup-video-container .gatsby-image-wrapper {
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding-bottom: 56.11111111111111%;
}

.popup-video-container .gatsby-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  
}

.popup-video-container .gatsby-image-wrapper .pop-video-thumb-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup-video-container .video-button {
  height: 30%;
  width: 16.87%;
  max-width: 80px;
  max-height: 80px;
  background-color: rgb(253, 133, 80);
  border: 0px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease 0s;
  cursor: pointer;
  z-index: 3;
}

.popup-video-container .video-button span {
  display: block;
  height: 26%;
  width: 26%;
  max-width: 21px;
  max-height: 21px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.popup-video-container .video-button span svg {
  width: 100%;
  height: 100%;
  position: relative;
  left: 2px;
  display: block;
}

.popup-video-container .video-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.video-pop-container {
/*   position: fixed; */
/*   z-index: 9999; */
  inset: 0px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  pointer-events: none;
}
.video-pop-container.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-pop-container .video-pop-container-inner {
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 913px;
  position: relative;
/*   margin: 0px 30px; */
  padding-top: 49.25%;
  height: 29vh;
}
.video-pop-container .video-pop-container-inner .video-frame {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.video-pop-container .video-pop-container-inner .LightBox__Control button {
  box-sizing: inherit;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: -45px;
  right: -15px;
  border: none;
  width: 30px;
  height: 30px;
  background: none;
  cursor: pointer;
}

.video-pop-container .video-pop-container-inner .LightBox__Control svg {
  fill: white;
}

.popup-video-container.al_left {
  margin-right: auto;
  margin-left: 0;
}

.popup-video-container.al_right {
  margin-right: 0;
  margin-left: auto;
}

.popup-video-container.al_center {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 769px){
  .video-pop-container .video-pop-container-inner {
    height: 50.7vh;
    height: 100%;
    padding-top: 0px;
  }
}

.popup-video-container .curve__Wrapper {
  display: none;
  width: 100%;
  max-height: 25px;
  max-width: 29px;
  opacity: 1;
  position: absolute;
  right: -32px;
  top: -118px;
  transform: translate(0px, 0px);
}

@media (min-width: 992px) {
  .popup-video-container .curve__Wrapper {
    display: block;
  }
}