/***
EZ Gallery by netfriend - https://netfriend.neocities.org/ez-gallery/
Released under the Unlicense - https://unlicense.org/
***/
body {
    background-color: black;
}

#navi {
  width: 100%; /* Set the width of the sidebar */
  position: static; /* Fixed Sidebar (stay in place on scroll) */
  overflow-x: hidden; /* Disable horizontal scroll */
  background-color: black;
  padding-top: 5%;
  text-align: center;
}

#navi a {
  color: white
}

#navi a:hover {
  font-style: italic;
  font-weight: bold;
}

p {
  color: white;
}

.ezgallery.montage { 
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  padding-top: 3%;
  width: 100%;
}

.ezgallery.montage img {
  flex: auto;
  margin: 0 5px 5px 0;
  border: 1px solid gray;
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
  object-position: bottom;
}

.ezgallery.horizontal { 
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(200px, auto);
}

.ezgallery.horizontal a {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 5px 5px 0;
  max-width: 200px;
  max-height:200px;
  object-fit: contain;
  object-position: bottom;
}