/* Melon's Gallery Maker! 0.0.2+ */

body {
    font-family:cursive;
    background-image:url("../../image/background/glegle_bg3.gif");
    background-size:128px;
    image-rendering:pixelated;
    font-size: 1.1em;
    padding: 30px;
}

:root {
  --gle-blue5: #b5cae8;    
  --gle-blue4: #5c7baa;  
  --gle-blue3: #536d90;
  --gle-blue2: #3a5378;
  --gle-blue1: #001432;
  --gle-gray1: #385970;
}

a,
a:visited {
    color: var(--gle-blue5);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1, h2 {
    font-family:grandstander;
}

header {
      border-radius:40%;
}

section {
      border-radius:50px;
}

footer {
      border-radius:100px;
}

header,
body > section,
footer {
  background-color: var(--gle-blue4);
  border:5px solid var(--gle-blue2);
  color:white;
  margin:50px;
  padding:20px;
  text-align:center;  
}

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;
    max-width: min-content;
}

#photos img {
    border: 5px solid var(--gle-blue3);
    /* Enable this for pixel art!! */
    /* image-rendering: pixelated; */
    transform: rotate(0deg);
    border-radius:20%;
    max-width:128px;
    max-height:256px;
}

#photos img:hover {
    border-color: var(--gle-blue5);
}

#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%;
        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.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;
    border: 3px ridge #c3c3c3;
}

#js-viewer span {
    margin-top: 10px;
}

#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;
}

@font-face {
    font-family: "grandstander"; 
    src: url("../../font/grandstander.ttf") format("opentype");
    text-rendering: optimizelegibility;
}
