/* Melon's Gallery Maker! 0.0.2+ */


@font-face {
    font-family: 'national park';
    src: url('fonts/NationalPark/woff/NationalPark-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'national park b';
    src: url('fonts/NationalPark/woff/NationalPark-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


:root {
  --d-bg-color: #1B1D1A;
  --l-bg-color: #EAEBDB; /*#E3EDD9*/
  --box-bg: #2D332C;
  --text-main: #1e1919;
  --accent-orange: #D27E37;
  --accent-gray:#9AA299;
  --accent-lime: #8FA16B;
  --border-color: #4A5148;
}

h2 {
  margin-top: 0;
  font-size: 44px;
  color: var(--accent-lime);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
  font-size: 22px;
  margin-bottom: 3px;
}

body {
    font-family: 'national park';
    background-color: var(--l-bg-color);
    font-size: 1.1em;
    padding: 30px;
}

a,
a:visited {
color: #60564a;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

header,
body > section,
footer {
    padding: 5px;
}

nav {
    margin: 10px;
    clear: both;
}

footer {
    clear: both;
    font-size: 0.7em;
    padding-top: 30px;
}

/* Gallery Pages */

#photos {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

#photos figure {
  margin: 10px;
  width: 230px;
  height: 230px;
  border: 3px ridge #c3c3c3;
}

#photos img {
width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 0%;
}

#photos img:hover {
    border-color: #ffda00;
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
  padding: 10px 0px;
  position: absolute;
  z-index: 100;
  color: white;
}

.page-links {
    text-align: center;
}

.page-links ul {
    padding: 0px 5px;
    margin: 10px 0px;
    display: inline-block;
}
.page-links li {
    list-style: none;
    display: inline;
    margin: 0px 3px;
}

/* Mobile Styling */

@media (max-width: 800px) {
    body {
        padding: 10px;
    }

    #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(0, 0, 0, 0.83);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
  padding-bottom: 30px;
}

#js-viewer img {
    max-width: 95%;
    max-height: 80%;
    height: auto;
    width: auto;
    border: 3px ridge #c3c3c3;
    background-color:white;
}

#js-viewer span {
top: 90%;
  position: absolute;
}

#js-viewer span button {
    border-radius: 0px;
    border: 2px outset #cecece;
    background-color: #e2e2e2;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px inset #cecece;
    background-color: #b8b8b8;
}
