.modal {
  position: fixed;
  z-index: 999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  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;
  font-size: 35px;
  color: var(--primary);
  transition: color 0.3s;
}
.modal .close:hover {
  color: var(--accent);
}
.modal .content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 90%;
  overflow: auto;
  padding: 0px var(--m);
}
.modal .content iframe {
  width: 100%;
  height: 80vh;
  background-image: linear-gradient(to top right, transparent 40%, rgba(255, 255, 255, 0.1) 44%, transparent 50%);
  background-size: 1000% 1000%;
  background-position: center;
  background-position: 180% 50%;
}
.modal .content iframe[src*="https://embed.music.apple.com"] {
  height: auto;
  min-height: 450px;
}
.modal .content video {
  display: block;
  width: 100%;
  height: auto;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}
.modal.active .content iframe {
  animation: shine 0.75s linear 0.5s forwards;
}
@keyframes shine {
  0% {
    background-position: 180% 50%;
  }
  100% {
    background-position: 130% 50%;
  }
}

#video-modal .content {
  width: 100%;
  max-width: 90%;
}
@media (max-width: 550px) {
  #video-modal .content {
    max-width: calc(100% - var(--gutter) * 2);
  }
}/*# sourceMappingURL=modal.css.map */