.popup-container {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 17, 17, 0.61);
  display: none;
}

.popup-container-g {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 17, 17, 0.61);
}

.video {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: calc(100% - 40px);
}
.icon-close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 10px !important;
  right: 10px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: white !important;
  z-index: 500 !important;
}
.close-googlemap {
  position: unset;
  z-index: 500;
  scale: 0.6;
  background-image: url("../static/image/icon/close_03.png") !important;
}

#portrait-ui {
  background: url("../static/image/popup/portraitUI.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100svw;
  height: 100svh;
  /* display: none; */
  transform: translate(-50%, -50%);
}

#recommend {
  /* background: url("../static/image/popup/recommend.png"); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.help-popup {
  background: url("../static/image/popup/Tutorial.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* width: calc(3624px / 7);
  height: calc(2118px / 7); */
  display: none;
  transform: translate(-50%, -50%);
}

.help-popup .close-popup {
  transform: scale(0.5);
  top: -0.3rem;
  right: -0.3rem;
}

#access-popup {
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%) scale(0.9, 0.9);
  display: none;
}

#access-popup .close-popup {
  transform: scale(1.1);
}

#access-popup iframe {
  height: calc(100% - 40px);
  width: 100%;
  position: absolute;
  bottom: 0;
}

#map {
  height: calc(90% - 40px);
  width: 90%;
  position: absolute;
  bottom: 0;
  z-index: 10;
}

.popup-content-map {
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9, 0.9);
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  border-style: solid;
  border-color: rgb(0, 0, 0);
  border-width: 0px;
  border-radius: 0px;
  z-index: 1;
}

.popup-content {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: visible;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  border-style: solid;
  border-color: rgb(0, 0, 0);
  border-width: 0px;
  border-radius: 0px;
  z-index: 1;
}

.popup-content p {
  font-size: 17px;
  padding: 10px;
  line-height: 20px;
}

.popup-content span:hover,
.popup-content span:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.popup-container-target {
  visibility: visible;
  opacity: 1;
  transform: scale(1) !important;
  display: block !important;
}

.popup-container h3 {
  margin: 10px;
}

/*End popup styles*/

/* Additional styles */
.popup-style-2 {
  transform: scale(0.3);
}

.popup-style-2:target {
  transform: scale(1);
}

/* #path2-popup-slider {
  width: 100%;
  height: 100%;
} */

.close-black {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  background-image: url("../static/image/icon/Close_02.png");
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-size: contain;
}

.close-white {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px;
  font-weight: bold;
  background-image: url("../static/image/icon/Close_01.png");
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
}

.close-black2 {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  background-image: url("../static/image/icon/close_03.png");
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
}

.popup-content .close:hover {
  color: #333;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .swiper-popup-button-next2 {
    right: 1rem !important;
  }

  .swiper-popup-button-prev2 {
    left: 1rem !important;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .swiper-popup-button-next2 {
    right: 1rem !important;
  }

  .swiper-popup-button-prev2 {
    left: 1rem !important;
  }
}

@media (min-width: 1201px) and (max-width: 1366px) {
  .swiper-popup-button-next2 {
    right: 1rem !important;
  }

  .swiper-popup-button-prev2 {
    left: 1rem !important;
  }
}

@media (max-width: 991px) and (max-height: 568px) {
  /* .help-popup {
    transform: translate(-50%, -50%) scale(0.7);
  } */

  .icon-close {
    width: 20px;
    height: 20px;
  }

  .help-popup .close-popup {
    top: -0.5rem;
    right: -0.5rem;
  }

  .swiper-popup-button-next2 {
    right: 1rem !important;
  }

  .swiper-popup-button-prev2 {
    left: 1rem !important;
  }
}
