/* Melon's Gallery Maker! 0.0.2+ */

body {
	background: #fdfdfd url(/images/bg.jpg) fixed;
	color: #fdfdfd;
	font: 20px 'lato', calibri, verdana;
	letter-spacing: 1px;
	margin: 0px;
	padding: 0px 0px 5px 0px;
}

.title {
	background: transparent;
	font-family: times;
	src: url(/fonts/Portcullion.ttf);
	font-weight: bold;
	color: #fdfdfd;
	line-height: 10px;
	padding: 1px;
	padding-bottom: 1px;
	padding-left: 0px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 4px;
	letter-spacing: 2px;
}

@font-face {
	font-family: times;
	src: url(/fonts/Portcullion.ttf);
	font-weight: bold;
}

a {
	color: #ffabf8;
	text-decoration: none;
}

a:hover {
	color: #ff29f2;
	text-decoration: none;
}

b {
	color: #fdfdfd;
	font-family: times;
	src: url(/fonts/Portcullion.ttf);
	font-weight: bold;
}

i {
	color: #ff29f2;
	font-weight: bold;
	font-style: italic;
}

nav {
    margin: 10px;
    clear: both;
}

h1 {
	color: #fdfdfd;
	font-family: times;
	src: url(/fonts/Portcullion.ttf);
	font-weight: bold;
}

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 rgb(253, 148, 239);
	outline: 2px ridge #ff29f2;
	border-radius: 0px;
    /* Enable this for pixel art!! */
    /* image-rendering: pixelated; */
}

#photos img:hover {
    border-color: #ff29f2;
}

#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;
}

::-webkit-scrollbar-thumb {
	background-color: #ff29f2;
	border-radius: 0px;
	border: 5px rgb(253, 148, 239);
	outline: 2px ridge #ff29f2;
	border-radius: 0px;
	;
}

::-webkit-scrollbar {
	width: 7px;
	height: 0px;
	background: transparent;
}

textarea {
	font: 10px calibri;
	letter-spacing: 1px;
	color: #888;
}

/* 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: 5px rgb(253, 148, 239);
	outline: 2px ridge #ff29f2;
	border-radius: 0px;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    border-radius: 0px;
    border: 2px outset #ff92f8;
    background-color: #ff29f2;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px inset #ee28e1;
    background-color: #ee28e1;
}
