.modal {
  position: fixed;
  z-index: 999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}
.modal .close {
  position: absolute;
  z-index: 2;
  top: var(--gutter);
  right: var(--gutter);
  font-size: 30px;
  line-height: 1em;
  width: 1em;
  color: var(--secondary);
  transition: color 0.3s;
}
.modal .close:hover {
  color: var(--accent);
}
.modal .content {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--m) * 2);
  max-width: 800px;
  height: auto;
  max-height: 90%;
  overflow: auto;
  background-color: var(--primary-alt);
  padding: var(--s);
  border: solid 2px var(--accent);
  border-radius: 5px;
}/*# sourceMappingURL=modal.css.map */