.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  display: grid;
  place-items: center;
  visibility: hidden;
  z-index:12000;
   transform: scale(1.0);
}
.modal .modal-img {
  display: grid;
  place-items: center;
  margin: 20px;
  width:33%;
  height:auto;
  
  
}
.modal .modal-img img {
  width: clamp(2em, 100%, 40em);
    transform: scale(1.0);
	border:4px solid gold;
}

.modal.open {
  visibility: visible;
   transform: scale(1.0);
  animation-delay: 50s; 

}