.nn-modal {
  display: none;
  inset: 0;
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
  position: fixed;
  z-index: 100000;
}

.nn-modal.active {
  display: grid;
}

.nn-modal__backdrop {
  background: rgb(0 0 0 / 78%);
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.nn-modal__dialog {
  background: #000;
  max-width: 72rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.nn-modal__close {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  display: flex;
  font-size: 1.75rem;
  height: 2.75rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0;
  top: -3.25rem;
  width: 2.75rem;
}

.nn-modal__media {
  aspect-ratio: 16 / 9;
}

.nn-modal__media iframe {
  border: 0;
  height: 100%;
  width: 100%;
}
