/*
3 columns fixed. and used some tips from here to get left to right wrapping on columns
https://stackoverflow.com/questions/30912667/how-to-display-list-items-as-columns-preserving-the-left-to-right-order

darkbox is set here but the positioning on scroll screen happens dynamically in javascript
*/
#darkbox {
    margin: auto;
    left: 5%;
    width: 90%;
    height: auto;
    position: absolute;
    background-color: #333;
    overflow: hidden;
    text-align: center;
}

.darkboximg {
    padding: 5%;
    width: 85%;
    height: auto;
    object-fit: contain;
}

.gallery {
    line-height:0;
    -webkit-column-count:3;
    -webkit-column-gap:5px;
    -moz-column-count:3;
    -moz-column-gap:5px;
    column-count:3;
    column-gap:5px;
}

.gallery img {
    width: 100%;
    height: auto;
    outline: 5px solid white;
}
