/* Melon's Gallery Maker! 0.0.2+ */
:root {
   color-scheme: light dark;


  --selection: #1c76c5;
  --text-main: #dbdbdb;
  --text-bright: #fff;
  --text-muted: #a9b1ba;
  --links: #a28eff;
  --focus: #0096bfab;
  --border: #526980;
  --code: #ffbe85;
  --animation-duration: 0.1s;
  --button-base: #0c151c;
  --button-hover: #040a0f;
  --scrollbar-thumb: var(--button-hover);
  --scrollbar-thumb-hover: rgb(0, 0, 0);
  --form-placeholder: #a9a9a9;
  --form-text: #fff;
  --variable: #d941e2;
  --highlight: #efdb43;
   --page-bg-color: #e3b99d;
   --page-bg-color-dark: rgba(0,0,0,0.1);
 --page-text-color: #000;
 --content-bg-color: #f4e8d9;
 --aside-title-color: #dd614a;
 --aside-border-color: #172a3a;
 --link-color: #41adff;
 --link-visited-color: #fff;
 --nav-button-bg-color: #9e7767;
 --nav-button-text-color: #ebdccb;
 --content-width: 60em;
 --main-flex-basis: 70%;
 --col-flex-basis: 10%;
 --hr-width: 2px;
 --hr-color: black;
 --hr-style: solid;
 --heading-font: "Brito-Regular", sans-serif;
 --body-font: "Brito-Regular", sans-serif;
 --body-line-height: 1.2;
 --body-font-size: 1.3em;
 --nav-separator: " | ";
 --noscroll-topbottom: 10vh;
 --noscroll-height: 80%;
}
@font-face {
  font-family: Brito-Regular;
  src: url('https://honora.neocities.org/fonts/Brito-Regular.woff2') format('woff2');
}
html {
  scrollbar-color: #040a0f #202b38;
  scrollbar-color: var(--scrollbar-thumb) var(--background-body);
  scrollbar-width: thin;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}

/* list-style-type Sets the marker to a ⟣  character */

ul {
  list-style-type: "⟣ ";
 display:block;
  list-style-position: inside;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  margin-bottom: 25px;
  width: 90%;
  color: #41adff;
  background-color: rgba(0,0,0,0.2);
  padding: 0.5rem;
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;    
 
}
body {
  font-family: 'Brito-Regular', sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 10px;
  display: block;
  word-wrap: break-word; 
  color: #dbdbdb;
  color: var(--text-main);

  text-rendering: optimizeLegibility;
}
a {
  text-decoration: none;
  color: #41adff;
}
h1 {
  font-family: "Brito-Regular", sans-serif;
  font-size: 2.2em;
  margin-top: 0;
}

a:visited {
    color: #6341ff;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
    color: #fff;
}

header,
body > section,
footer {
    padding: 5px;
}
button {
  color: #fff;
  color: var(--form-text);
  background-color: #161f27;
  background-color: var(--background);
  font-family: inherit;
  font-size: inherit;
  margin-right: 6px;
  margin-bottom: 6px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  outline: none;
}

nav#topmenu {
 text-align: center;
 position: relative;
 z-index: 10;
 top: 0px;
 left: 0px;
 margin-left: auto;
 right: 0px;
 margin-right: auto;
 padding: 0.5em;

 border-radius: 25px;
 }

nav#topmenu ul {
 padding: 0px;
 margin: 0px;
 line-height: 55px;
  background-color: rgba(0,0,0,0);
 }
nav#topmenu ul li {
 list-style-type: none;
 display: inline;
 padding: 0.5em;
 margin: 0px;
 border-radius: 6px;
 background-color: Light-dark(#9e7767, #7a63c6);
 color: var(--nav-button-text-color);
 box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
 }

nav#topmenu li a {
 text-decoration: none;
 color: var(--nav-button-text-color);
 padding: 0.5em;
 
 }

nav#topmenu ul li::before {
 }

nav#topmenu ul li:first-child::before {
 content: "";
 }

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: 3px ridge #c3c3c3;
    /* Enable this for pixel art!! */
    /* image-rendering: pixelated; */
}

#photos img:hover {
    border-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%;
        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;
}
