/**
* NVZN AR Modal Styles
*/

.nvzn3d-modal {
  position: fixed;
  inset: 0px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.nvzn3d-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: rgb(255, 255, 255);
}

.nvzn3d-centered-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* transitions */
.nvzn3d-showable {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.nvzn3d-show {
  opacity: 1;
}

/* close button */
.nvzn3d-modal-close {
  position: absolute;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#nvzn3d-modal-close circle {
  fill: rgba(255, 255, 255, 0.8);
  stroke: none;
}

#nvzn3d-modal-close line {
  stroke: rgba(64, 64, 64, 0.8);
  stroke-width: 1.5;
}

/* mobile styles */
@media (max-width: 767px) {
  .nvzn3d-centered-container {
    width: 100dvw;
    height: 100dvh;
  }

  .nvzn3d-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* desktop styles */
@media (min-width: 768px) {
  .nvzn3d-centered-container {
    width: 860px;
    height: 560px;
  }

  .nvzn3d-iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .nvzn3d-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* loader */
.nvzn3d-loading-spinner,
.nvzn3d-loading-spinner:after {
  box-sizing: border-box;
}

.nvzn3d-loading-spinner {
  width: 150px;
  height: 150px;
}

.nvzn3d-loading-spinner:after {
  content: ' ';
  display: block;
  width: 32px;
  height: 32px;
  margin: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: nvzn3d-loading-spinner 0.75s linear infinite;
}

@keyframes nvzn3d-loading-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}