.slide-popup.art-popup-active {
  transition-property: opacity, transform, visibility;
  transition-timing-function: ease;
}

.art-popup-body img,
.art-popup-body video,
.art-popup-body iframe {
  max-width: 100%;
}
.art-popup-body img,
.art-popup-body video {
  height: auto;
}
.art-popup-body iframe {
  width: 100%;
}
.art-popup-status {
  margin: 0;
  padding-right: 30px;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  width: 700px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 600px) {
  .modal-content {
    width: 100%;
    max-height: 80vh;
  }
}


