 /*MAIN ART GALLERY*/
.ArtGallery{
  display:flex;
  justify-content: flex-start;
  border: double 20px black;
  flex-direction: column;
  flex-wrap:wrap;
  align-content: flex-start;
  
  overflow: auto;
  white-space: nowrap;
  background-color: gray;
  max-width: 80%;
  height: 550px;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  }
  
.MyArt{
  width: 140px;
  border: solid 5px silver;
  margin: 30px;
  transition-duration: 0.5s;
  cursor: pointer;
  }
  
.MyArt:hover{
  transform: scale(1.15);
  }
  
/*IMAGE ZOOM-IN*/
.PopupBox{
  position: fixed;
  top: 0; left:0;
  height: 100%;
  width: 100%;
  z-index: 100;
  
  display: none;
  overflow: hidden;
  justify-content: center;
  flex-direction: column;
  flex-wrap:wrap;
  
  background: rgba(0, 0, 0, 0.9);
}
  
.PopupBox span{
  position: absolute;
  top: 0; right: 20px;
  font-size: 80px;
  font-weight: bolder;
  color: red;
  cursor: pointer;
  z-index: 100;
}

/*ANIMATION AND PROPERTIES*/
@media (max-width: 700px){
  .PopupImg img{
    width:90%;
  }
}


/*ZOOM-IN INTERFACE*/
.PopupImg{
  position: absolute;
  top: 20px;
  left: 50%;
  max-width: 700px;
  max-height: 1700px;

  transform: translate(-50%,0);
  justify-content: center;
  
  border: double 0px red;
}

.PopupImg img{
  border: double 10px orange;
  position: static;
  max-width:700px;
  max-height: 700px;
  object-fit: contain;
}

.Caption{
  position: absolute;
  left: 50%; 
  transform: translate(-50%,0);
  white-space: normal;
  
  width: 200%;
  max-height: 1000px;
  border: double 0px orange;
  padding: 10px;
  object-fit: contain;
  
  
  text-align: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


