.photo {
  display: inline-block;
  text-align: right;
  vertical-align: top;

  
}

.photo2 {
  display: inline-block;
  text-align: right;
  vertical-align: top;
  width: 30%;
  margin-bottom: -10px;
  padding-right: 18px;
}


.imgREAL {
   width: 100%;
  height: auto;
  display: block;
}

.img {
  box-shadow: 9px 9px 0px #e0d6c6;
  border: solid 3px #efebe4;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.photo:hover > .img {
  border: solid 3px black;
  
}

.photo > .imgTwoline{
    
      margin-bottom: -16px;
}



.imgText {
    pointer-events: none;
  transform: translate(0px, -100%);
    opacity: 0;
    vertical-align: text-bottom;
    background-color: black;
    padding: 8px;
    padding-bottom: 6px;
    font-family: "Josefin Sans", sans-serif;
    color: white;
    float: left;
    line-height: 1.1em;
    font-size: 100%;
    
    text-align: left;


}

.photo:hover > .imgText {
  opacity: 1;
  
}



.gallery-grid {
    max-width: 120rem;
    margin: auto;
    columns: 2;
    gap: 1.3em;
    padding: 1em;
}

.gallery-grid > * {
    break-inside: avoid;
    width: 100%;
    height: auto;
    img {
        width: 100%;
    }
}




.blogImg {
   border-radius: 54px;
  cursor: pointer;

	    width: 80%;
	    height: auto;
	    box-shadow: 3px 3px 20px gray, 9px 9px 0px #e0d6c6;
  border: solid 3px #efebe4;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
	}
	.blogImgMed {
	    width: 60%;
	    height: auto;
	    box-shadow: 3px 3px 20px gray, 9px 9px 0px #e0d6c6;
  border: solid 3px #efebe4;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
	}
	.blogImgSmall {
	    width: 40%;
	    height: auto;
	   height: auto;
	    box-shadow: 3px 3px 20px gray, 9px 9px 0px #e0d6c6;
  border: solid 3px #efebe4;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
	    margin: 8px;
	    margin-left: 0px;
	}

.photoSummary{
  background-color: black;
  color: white;
  padding: 7px;
  padding-bottom: 5px;
  text-decoration: none;
  border-radius: 2px;
  border: 2px dashed black !important;
}

.photoSummary:hover{
  color: black !important;
  background-color: var(--mg-color) !important;
  text-decoration: underline;
  
}



.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: scroll;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9); 
  
}


.modal-content {
  margin: auto;
  display: block;
  width: 40%;
  max-width: 90%;
  max-height: 40% !important;
  border: solid 3px #efebe4;
}

#caption {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 700px;
  text-align: center;
  color: white;
  padding: 10px;
  height: 10px;
  font-size: 20px;

  
}


.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {transform:translate(0px,-20px)}
  to {transform:translate(0px,0px)}
}


.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
} 