.np-overlay {
  /* position: absolute;
  top: 0;
  width:100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.0);
  transition: all 0.5s ease;
  overflow: hidden; */
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
}

.np-overlay.active {
  background: rgba(0, 0, 0, 0.3);
}

.if-loader {
  position: absolute;
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #3498db; /* Blue */
  border-radius: 50%;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.myframe {
  position: absolute;
  opacity: 0;
  height: 70vh;
  width: 100vh;
  transition: opacity 0.5s ease;
}

.center {
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.show {
  opacity: 1;
}
