/* Lane's Gallery Maker Template*/

body {
  font-family: times, serif;
  margin: 0;
  background-color: white;
  color: black;
}

* {
  box-sizing: border-box;
}

#container {
  max-width: 900px;
  height: 100%;
  margin: 0 auto;
}

#container a {
  color: blue;
  text-decoration: underline;
}
#container a:hover {
  color: blue;
  text-decoration: underline;
  font-style: italic;
}

#flex {
  display: flex;
}


main {
  background-color: white;
  flex: 1;
  padding: 20px;
}

footer {
  background-color: white;
  width: 100%;
  height: 40px;
  padding: 40px;
  text-align: center;
  font-size: smaller;
}

h1,
h2,
h3 {
  color: black;
}

h1 {
  font-size: 25px;
}

strong {
  color: black;
}

.box {
  background-color: white;
  border: 2px outset lightgrey;
  padding: 40px;
  width: 100%;
  filter: drop-shadow(0px 6px 8px gray);
}
/* Gallery Pages */

#photos {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

#photos figure {
    margin: 5px;
    max-width: min-content;
}

#photos img {
    /* Enable this for pixel art!! */
    image-rendering: pixelated;
}

#photos img:hover {
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
    padding: 10px 0px;
}

.page-links {
    text-align: center;
}
.page-links ul {
    padding: 0px 5px;
    display: inline-block;
}
.page-links li {
    list-style: none;
    display: inline;
    margin: 0px 5px;
}
.page-links li:after {
    content: ",";
}

/* Mobile Styling */

@media (max-width: 800px) {
    #photos figure {
        width: 95%;
        max-width: unset;
    }

    #photos img {
        width: 100%;
    }
}

/* Styling for JavaScript viewer (if enabled) */

#js-viewer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(135, 135, 135, 0.1);
    filter: drop-shadow(0px 6px 8px dimgray);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#js-viewer img {
    max-width: 95%;
    max-height: 80%;
    height: auto;
    width: auto;
    border: 2px outset darkgrey;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    font-size: 1.5em;
    border-radius: 0px;
    color: black;
    border: 2px outset darkgrey;
    background-color: white;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px outset darkgrey;
    background-color: lightgrey;
}