.modal {
  position: fixed;
  z-index: 999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s;
}
.modal .close {
  position: absolute;
  z-index: 2;
  top: 1em;
  right: 1em;
  width: 1em;
  height: 1em;
  font-family: var(--mono);
  font-size: var(--fs36);
  color: var(--color);
  line-height: 1em;
  color: var(--primary);
  transition: color 0.3s;
}
.modal .close:hover {
  color: var(--accent);
}
.modal .content {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--gutter) * 2);
  height: auto;
  max-height: 90vh;
  transform: translateY(10%);
  transition: transform 0.3s;
}
.modal .content iframe {
  width: 100%;
  height: auto;
  max-height: 85vh;
  aspect-ratio: 560/315;
  margin: auto;
  display: block;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}
.modal.active .content {
  transform: translateY(0%);
}
.modal#photo-modal .content img {
  width: 100%;
  height: auto;
  max-height: inherit;
  object-fit: contain;
  object-position: center;
}/*# sourceMappingURL=modal.css.map */