/* gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: stretch;
    padding: 0 4px;
    }
/* Create four equal columns that sits next to each other */
.column {
    flex: 50%;
    max-width: 50%;
    max-height: fit-content;
    padding: 0 4px;
    position: relative;
    }    
.column img {
    vertical-align: bottom;
    width: 100%;
    height: 15%;
    border-width: 1em;
    border-radius: 2% 10%;
    border-style: double;
    border-color: rgba(46, 48, 62, 0.2);
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, .5);
    background-color: rgba(255, 255, 255, .4);
    padding: 0;
    margin: 0;
    margin-bottom: 2em;
    position: inherit;
    }

/* working on this... */
.column img:hover {
    border-width: 2em;
    border-style: double;
    border-color: rgba(46, 48, 62, 0.60);
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, .75);
    background-color: rgba(255, 255, 255, .80);
    position: inherit;
    margin: auto;
    }
    
.rotate-image {
    height: 200px;
    width: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.75s ease-in;
    z-index: 1;
    }
  
.rotate-image:hover, .rotate-image:focus, .rotate-image:active {
    width: 750px;
    height: 750px;
    max-width: 98vmax;
    max-height: 98vh;
    z-index: 75;
    position: relative;
    top: -200px;
    left: -200px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    }

/* beta work below...
.beta {
  border: 1px double red;
  position: relative;
}
.beta::before {
  content: "test";
  color: red;
  position: absolute;
  bottom: 0;
  left: 35%;
  margin: 0 auto;
}
end beta */

/* now for small screens - & phones */
@media screen and (max-width: 900px) {
    .rotate-image:hover, .rotate-image:focus, .rotate-image:active {
        max-width: 350px;
        max-height: 350px;
    }
}