/* Melon's Gallery Maker! - Pixel Shop v0.2 */
::selection {
  /* (Text highlighted by the user) */
  background: rgba(139, 139, 139, 0.2);
}

  ::-webkit-scrollbar {
      width: 16px;
    }

    ::-webkit-scrollbar:horizontal {
      height: 17px;
    }

    ::-webkit-scrollbar-corner {
      background: #eee;
    }

    ::-webkit-scrollbar-track:vertical {
      background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
    }

    ::-webkit-scrollbar-track:horizontal {
      background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
    }

    ::-webkit-scrollbar-thumb {
      border: 1.5px solid #888;
      border-radius: 3px;
      box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
      background-color: #eee;
    }

    ::-webkit-scrollbar-thumb:vertical {
      background: url("https://i.imgur.com/bfyvjnx.png") no-repeat 50%, linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
    }

    ::-webkit-scrollbar-thumb:horizontal {
      background: url("https://i.imgur.com/tqe4SxM.png") no-repeat 50%, linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
    }

    ::-webkit-scrollbar-button:horizontal:end:increment,
    ::-webkit-scrollbar-button:horizontal:start:decrement,
    ::-webkit-scrollbar-button:vertical:end:increment,
    ::-webkit-scrollbar-button:vertical:start:decrement {
      display: block;
    }

    ::-webkit-scrollbar-button:vertical {
      height: 17px;
    }

    ::-webkit-scrollbar-button:vertical:start:decrement {
      background: white;
      background-image: url("https://i.imgur.com/EFnEMEb.png");
      background-repeat: no-repeat;
      background-position: center;
      -moz-background-size: cover;
      -webkit-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    ::-webkit-scrollbar-button:vertical:start:increment {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:end:decrement {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:end:increment {
      background: white;
      background-image: url("https://i.imgur.com/xuIt6Lc.png");
      background-repeat: no-repeat;
      background-position: center;
      -moz-background-size: cover;
      -webkit-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

body {
    font-family: Verdana, sans-serif;
    font-size: 0.875em;
    color: #ee4991;
    background-color: #000000;
}

p {
    text-align: center;
}

a,
a:visited {
  text-decoration: none;
}

.gradmask {
   font-family: Pirata One;
   background: linear-gradient(pink 50%, hotpink);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   font-size: 2em;
   filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black);
   text-decoration: none;
   transition: 0.5s;
}

a:hover {
  letter-spacing: 3px;
}

header,
section,
footer {
    margin: 15px;
}

header,
body > section {
    padding-bottom: 5px;
}

h1 {
    font-family: Pirata One;
    color: rgb(247, 244, 244);
    text-decoration: none;
    text-align: center;
    font-size: 3rem;
    margin: 20px;
    font-weight:bold;
    letter-spacing: 0.1em;
    filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black) drop-shadow(0px 1px hotpink) drop-shadow(0 -1px hotpink) drop-shadow(1px 0 hotpink) drop-shadow(-1px 0 hotpink);
}

h2 {
    font-family: Pirata One;
    border-top: 3px double #ff0097;
    background: linear-gradient(180deg, rgba(248, 117, 170, 1) 0%, rgb(122, 3, 63) 100%);
    border-radius: 5px;
    color: white;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
    font-size: 2.5em;
    height: 42px;
    letter-spacing: 0.1em;
}

h4 {
  font-family: Pirata One;
  color: white;
  font-size: 1.7em;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 20px;
  font-weight:bold;
  filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black) drop-shadow(0px 1px hotpink) drop-shadow(0 -1px hotpink) drop-shadow(1px 0 hotpink) drop-shadow(-1px 0 hotpink);
}

nav {
    margin: 10px;
    clear: both;
}

.navigation-button {
  box-sizing: border-box;
  background-color: #ff7cbd;
  color: #91003c;
  background-image: linear-gradient(
    180deg,
    #ff7cbd 0%,
    rgba(128, 0, 49, 0.068) 100%
  );
  display: inline-block;
  width: 75px;
  height: 42px;
  text-decoration: none;
  margin-left: 3px;
  padding: 5px;
  line-height: 0.9;
  border: 1px solid #1a000c;
  border-radius: 0.5em 0.5em 0.5em 0.5em;
  box-shadow: inset 0px 0px 6px -10px rgba(161, 0, 67, 0.56),
    inset -13px 0px 6px -10px rgba(155, 0, 77, 0.56),
    inset 0px 13px 6px -10px #ff7cbd,
    inset 0px -13px 6px -10px rgba(99, 0, 38, 0.38);
}

.navigation-button:hover {
  background-image: -webkit-linear-gradient(top, #ff3db5, #74003a);
  background-image: -moz-linear-gradient(top, #ff3ace, #74003a);
  background-image: -ms-linear-gradient(top, #fc33da, #74003a);
  background-image: -o-linear-gradient(top, #ff50d3, #74003a);
  background-image: linear-gradient(to bottom, #ff3eef, #74003a);
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

footer {
    text-align: center;
    padding-top: 30px;
    clear: both;
    font-size: 0.7em;
}

#wrapper {
    margin: 40px auto;
    max-width: 1200px;
}

/* 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: none;
    border: 2px solid #ee4991;
}

#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: ",";
}


/* Styling for JavaScript viewer (if enabled) */

#js-viewer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 247, 247, 0.343);
    filter: drop-shadow(0px 0px 50px rgb(241, 44, 175));
    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-radius: 10px;
    border: 3px dotted #ff0097;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    font-size: 1.5em;
    border-radius: 0px;
    color: #ffffff;
    border: 2px double #ffffff;
    background-color: #1f0016;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px double #ffb9ea;
    background-color: #300022;
}
