/* Melon's Gallery Maker! 0.0.2+ */

@font-face {
  font-family: rumeur; 
  src: url("rumeur.otf"); 
}

@font-face {
  font-family: Astloch; 
  src: url("Astloch-Regular.ttf"); 
}

body {
    font-family: "rumeur", sans-serif;
    background-color: #ffffff;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    line-height: 1.5;
    padding: 20px;
    color: #537178;
}

p {max-width: 600px;}

h1,h2 {
    font-family: "Astloch", sans-serif;
    line-height: 1;
    font-weight: 200;
    color: #ff8fb0;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 5em;
}

h2 {
    font-size: 2.5em;
    letter-spacing: 0.5px;
    text-shadow: -0.2px -0.2px 0 #ff8fb0, 0.2px -0.2px 0 #ff8fb0, -0.2px 0.2px 0 #ff8fb0, 0.2px 0.2px 0 #ff8fb0;
}

a,
a:visited {
    color: #8bc5cc;
    text-decoration: none;
}

a:hover {
    color: #ffda00;
    text-decoration: underline solid #ffff99 20%;
}

header,
body > section,
footer {
    padding: 5px;
}

nav {
    margin: 0px;
    clear: both;
}

footer {
    clear: both;
    font-size: 0.7em;
    padding-top: 30px;
    letter-spacing: 1.5px;
}

/* Gallery Pages */

#photos {
    margin: -10px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

#photos figure {
    margin: 10px;
    max-width: min-content;
}

#photos img {
    border: 2px solid #ffffff;
    outline: 2px solid #ffffff;
    max-width: 15vw;
    cursor: zoom-in;
}

#photos img:hover {
    outline-color: #ffda00;
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
    padding: 10px 0px;
}

.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%;
    }

    #photos img {
        max-width: 30vw;
    }
}

/* 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.612);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#js-viewer img {
    max-width: 95%;
    max-height: 80%;
    height: auto;
    width: auto;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    cursor: pointer;
}
