/* Melon's Gallery Maker! - Pixel Shop v0.2 */

@import url("https://melonking.net/styles/fonts/BPdots/BPdotsDiamond.css");
@import url("https://melonking.net/styles/fonts/BPdots/BPdotsDiamondBold.css");
            @font-face {
                font-family: Citree;
                src: url("/fonts/Citree\ regular.otf")format("opentype");
            }

            @font-face {
                font-family: James;
                src: url("/fonts/James-regular.otf")format("opentype");
            }
            
body {
    font-family: "BPdotsDiamond", monospace;
    color: #730544;
    font-size: 0.9em;
    background-color: #ffffff;
    font-weight: 700;
    width:100vw;
    height:100vh;
}

a,
a:visited {
    color: #24a8ee;
    text-shadow: 1px 1px rgba(36, 168, 238, 0.166);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    font-weight: normal;
}

header,
section,
footer {
    margin: 15px;
}

header,
body > section {
    padding-bottom: 5px;
}

h1,
h1 a,
h1 a:visited {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
    text-align: center;
    font-size: 3rem;
    margin: 20px;
    text-shadow: 4px 4px rgba(255, 205, 245, 0.674);
}

h2 {
    border-top: 3px double #ff0097;
    background-image: linear-gradient(180deg, rgba(192, 241, 255, 0.387) 5%, rgba(255, 255, 255, 0) 77%);
}

ul {
    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: pixelated;
    filter: drop-shadow(0px 0px 30px rgba(44, 241, 199, 0.258));
}

#photos img:hover {
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
    padding: 10px 0px;
}

.page-links {
    text-align: center;
    z-index: 9;
    color: #730544;
    background-color: rgb(240, 240, 240);
    position:fixed;
    padding: 10px;
    height: 100vh;
    width: 200px;
    transform: translate(-220px);
    transition: .2s;
    cursor: url(/images/sitewide/cursor1.cur), auto;
    font-size:18px;
}

.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: ",";
}

#index ul, #index li {
    padding:0px;
    font-size: 12pt;
    display:block;
    text-align:left;
}

#index li:after {
    content: "";
}

            nav {
                z-index: 9;
                color: #730544;
                background-color: rgb(240, 240, 240);
                background-image: url("../images/sitewide/navgif.gif");
                background-size: 100%;
                background-repeat: no-repeat;
                background-position-y: 97%;
                position:fixed;
                padding: 10px;
                height: 100vh;
                width: 200px;
                transform: translate(-220px);
                transition: .2s;
                cursor: url(/images/sitewide/cursor1.cur), auto;
                font-size:18px;
            }

            .navlink {
                font-family: Citree;
                text-align: center;
                text-transform:uppercase;
                margin-top:70px;
                min-width:210px;
            }

            .navlink img {
                width:210px;
            }

            .navlink a:hover {
                color: #b3f0f2;
                text-decoration: underline;
            }

            .dropdown {
                position: relative;
                display: block;
                color: black;
                z-index:999;
            }

            #homePage {
                background-size: contain;
                background-repeat: no-repeat;
                background-position: 55px;
                width:200px;
                height:175px;
                background-image: url(/images/sitewide/homebutton.png);
            }

            #homePage:hover {
                background-image: url(/images/sitewide/homebutton_hover.png);
                background-position: 0px;
                transform: scale(1.1);
                cursor: url(/images/sitewide/cursor2.cur), auto;
            }

            .dropdown-content {
                display: none;
                top: -20px;
                left:210px;
                position: absolute;
                background-color: #686465;
                width: 200px;
                z-index:999;
                border:2px solid black;
            }

            .dropdown-content:after,
            .dropdown-content:before {
                right: 100%;
                top: 33px;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
            }

            .dropdown-content:after {
                border-color: rgba(136, 183, 213, 0);
                border-right-color: black;
                border-width: 10px;
                margin-top: -10px;
            }

            .dropdown-content:before {
                border-color: rgba(194, 225, 245, 0);
                border-right-color: black;
                border-width: 13px;
                margin-top: -13px;
            }

            .dropdown-content a {
                padding: 10px;
                text-decoration: none;
                display: block;
                color: rgb(175, 208, 252);
                text-align: center;
                z-index:999;
                border: 1px solid black;
                border-bottom:0px;
            }

            .dropdown-content a:hover {
                background-color: #a88fed;
                color: #000;
            }

            .dropdown:hover .dropdown-content {
                display: grid;
            }

            .dropdown:hover {
                cursor: url(/images/sitewide/cursor2.cur), auto;
            }

            #openNav {
                z-index:9;
                margin: 0px;
                padding: 0px;
                position:fixed;
                text-align: center;
                left:0px;
                width:50px;
                height:100%;
                background-color: rgb(239, 255, 253);
                transition: .2s;
                border-right:2px solid rgb(113, 203, 255);
                cursor: url(/images/sitewide/cursor2.cur), auto;
            }

            #openNav:hover {
                transform: scaleX(1.1);
            }

            #openNav h1 {
                position: absolute;
                font-size: 35px;
                color: #730544;
                transform: rotate(-90deg);       
                font-family: James;
                top:40%;
                left:-10px;
                text-shadow:
                0 0 7px #13db1d57,
                0 0 10px #c8ffd4a2,
                0 0 20px #c5eece71;
            }

            #openNavBtn {
                display: none;
            }

            .openNavArrow {
                position:absolute;
                z-index:99;
                top:42%;
                left:55px;
                width: 0px;
                height: 0px;
                border-style: solid;
                border-width: 25px 0 25px 25px;
                border-color: transparent transparent transparent black;
                opacity: .1;
                transition: .5s;
                visibility: visible;
            }

            #openNav:hover > .openNavArrow {
                opacity:1;
                transition: .5s;
                transform: translateX(10px);
            }
            
            #openNavBtn:checked + label > div {
                left:220px;
                transition: .2s;
            }

            #openNavBtn:checked + label > nav {
                transform: translate(0px);
            }

            #openNavBtn:checked + label .openNavArrow {
                visibility: hidden;
            }
/* Mobile Styling */

@media (max-width: 800px) {
    #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(247, 247, 247, 0.343);
    filter: drop-shadow(0px 0px 50px rgba(44, 241, 199, 1));
    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 double #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;
}
