/* 비디오 팝업 */
.popupWrapper_video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.popupWrapper_video.p-video-on {
  opacity: 1;
  pointer-events: all;
}

.dimmed {
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.popupWrapper_video.p-video-on {
  display: flex;
}

.popupWrapper_video .popup {
  position: relative;
  width: 900px;
  height: 535px;
}

.video_box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video_box > p {
  position: absolute;
  bottom: -100px;
}

.video_box {
  position: relative;
  padding-top: 56%;

  /* 4:3일 비율일 경우 */
  /* padding-top: 75% */

  width: 100%;
  height: 0;
  border: 15px solid #000;
  background: #000;
}

.video_box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popupWrapper_video .close_btn {
  box-sizing: border-box;
  background: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transform: translateY(-60px);
  background-image: url(../images/icon/p_close_btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  transition: 0.2s ease;
}

@media (min-width: 769px) {
  .popupWrapper_video .close_btn:hover {
    scale: 1.1;
  }
}

@media (max-width: 900px) {
  .popupWrapper_video .close_btn {
    transform: translateY(-60px) translateX(-20px);
  }
}
@media (max-width: 768px) {
  .popupWrapper_video .close_btn {
    width: 35px;
    height: 35px;
    transform: translateY(-40px) translateX(-10px);
  }
}

@media (max-width: 650px) {
}

@media (max-width: 550px) {
  .popupWrapper_video .close_btn {
    width: 25px;
    height: 25px;
    transform: translateY(-30px) translateX(-10px);
  }

  .popupWrapper_video .popup {
    height: 340px;
  }
}
@media (max-width: 450px) {
}
