HTML{
	font-size: 16px;
	--feature-color: #362843;
	--feature-greyout: #C2B1D3;
	/*--feature-color: #382b46;*/
	--wrapper-color: #F6EDFF;
	--dark-color: black;
	--greyout: RGBA(0,0,0,0.1);
	--intense-color: #DD05B9;
}
HTML,BODY{
	display: block;
	margin: 0;
	border: 0;
	min-height: 100%;
	width: 100%;
}

* {
	box-sizing: border-box;
	font-family: Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace;
}

A{
	color: var(--feature-color);
}
A:hover{
	opacity: 0.75;
}

A.under-construction{
	opacity: 1!important;
	color: var(--feature-greyout);
	font-style: italic;
	text-decoration: line-through;
	text-decoration-color: var(--feature-color);
	pointer-events: none;
	/*position: relative;
	padding-right: 1.25em;*/
}
	/*A.under-construction:after{
		position:absolute;
		right: 0;
		content:'';
		opacity:1;
		display: inline-block;
		height: 1em;
		width: 1em;
		background-image: URL('//polyducks.co.uk/assets/link-under-construction.svg');
		background-size: contain;
		background-repeat: no-repeat;
		top: 50%;
		transform:translateY(-50%);
	}*/

pre.code{
	background-color:RGBA(255,255,255,0.75);
	border: 1px solid var(--feature-color);
	padding: 1rem;
	margin-left: 5px;
	-webkit-box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
	box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
}

/* input highlights */
input:focus, textarea:focus, select:focus {
	/*border: 1px solid #dd05b9 !important;
	box-sizing: content-box!important;*/
	box-shadow: 0 0 3px #dd05b9 !important;
	-moz-box-shadow: 0 0 3px #dd05b9 !important;
	-webkit-box-shadow: 0 0 3px #dd05b9 !important;
}
input:focus, textarea:focus, select:focus {
	outline-offset: 0px !important;
	outline: none !important;
}

BODY{
	background-color: var(--feature-color);
	background-image: URL("../assets/wallpapers/bg-tile.png");
	background-size: 300px 300px;
	background-repeat: repeat-x;
}

.box-link-container{
	position: relative;
}
.box-link{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#wrapper{
	display: block;
	background-color: var(--wrapper-color);
	width: 100%;
	max-width: 900px;
	/*min-height: 100vh;*/
	margin: 0 auto;
	margin-top: 10px;
	padding: 10px 5px 3rem;
	overflow: hidden;
}

/* HEADER */
HEADER{
	text-align: center;
	margin-bottom: 1em;
	padding-bottom: 1em;
}
	#page-title{
		font-weight: normal;
		font-family: Arial;
		letter-spacing: -0.05rem;
		font-size: 2.5rem;
		display: inline-block;
		margin: 0 auto;
		margin-left: 2.5rem;
		padding: 0;
		color: RGBA(0,0,0,0);
		background-image: URL("../assets/title.svg");
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
	}
	#page-title .small-title{
		font-family: inherit;
		font-size: 0.5em;
	}

/* NAV */
NAV{
}

	NAV UL{
		list-style: none;
		display: flex;
		flex-direction: row;
		justify-content: center;
		margin: 1rem 0 0 0;
		padding: 0;
	}
		NAV UL LI A{
			font-size: 1rem;
		}

	/* ----------------------
	NAV LINKS
	---------------------- */
	NAV UL#nav-links{
	}
		NAV UL#nav-links LI.nav-link{
			margin: 0 1rem;
		}
		NAV UL#nav-links LI.nav-link .nav-link-anchor{
			font-size: 1.25rem;
		}

	/* list the active nav element */
	.current-page-home #nav-link-home a,
	.current-page-about #nav-link-about a,
	.current-page-gallery #nav-link-gallery a,
	.current-page-pages #nav-link-pages a,
	.current-page-contact #nav-link-contact a{
		font-weight: bold;
		pointer-events: none;
		background-color: var(--greyout);
		padding: 5px 10px;
	}

	/* ----------------------
	FOLLOW LINKS
	---------------------- */
	NAV UL#follow-links{
	}
		NAV UL#follow-links .follow-link{
			font-size: 0;
		}
		NAV UL#follow-links .follow-link .follow-link-anchor{

		}
		NAV UL#follow-links .follow-link:nth-of-type(n+2):before{
			content: "/";
			display: inline-block;
			margin: 0 1rem;
			padding: 0;
			width: auto;
			height: auto;
			font-size: 1rem;
		}
		#follow-link-rss{
		}
			#follow-link-rss-about{
				font-size: 0.7rem;
				position: relative;
				top: -30%;
				text-decoration: none;
				opacity: 0.5;
			}
			#follow-link-rss:before{
				content: "RSS";
				font-size: 0;
				display: inline-block;
				width: 1rem;
				height: 1rem;
				background-size: contain;
				background-repeat: no-repeat;
				background-image: URL("../assets/rss.svg");
				margin: 0 0.5rem;
				vertical-align: bottom;
			}
		#follow-link-mail{
		}
			#follow-link-mail a:before{
				content: "";
				background-image: URL('../assets/email-inline.svg');
				background-repeat: no-repeat;
				background-position: center;
				background-size: contain;
				display: inline-block;
				height: 1rem;
				width: 1rem;
				margin-right: 0.5rem;
				text-decoration: none;
				vertical-align: middle;
				color: var(--feature-color);
			}

/* -------------------------------------
FOOTER
------------------------------------- */

FOOTER{
	width: 100%;
	padding: 0 0 1rem;
}
FOOTER *{
	color: white;
}
	FOOTER UL{
		list-style: none;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		margin: 1rem 0 0 0;
		padding: 0;
	}
		FOOTER UL LI A{
			font-size: 1rem;
		}
	/* ----------------------
	FOOTER IMAGE
	---------------------- */
	FOOTER img#footer-image{
		display: block;
		width: 100%;
		max-width: 900px;
		margin: 0 auto;
		margin-top: 30px;
	}

	/* ----------------------
	FOOTER LINKS
	---------------------- */
	#footer-links{
		width: 100%;
		height: auto;
		padding: 0;
		border-top: 1px solid #f6edff;
		max-width: 900px;
		margin: 1rem auto 0;
	}
		#footer-links .footer-link{
			padding: 0;
			margin: 0;
		}
		#footer-links .footer-link-anchor{
			font-size: 1rem;
			text-decoration: none;
			vertical-align: center;
			padding: 0;
			margin: 0;
		}
	#footer-links .footer-link:nth-of-type(n+2) .footer-link-anchor:before{
		content: "|";
		display: inline-block;
		padding: 0;
		margin: 0.5rem;
		vertical-align: center;
	}

	/* ----------------------
	FOOTER TEXT
	---------------------- */
	#footer-text{
		display: block;
		margin: 0 auto;
		font-size: 0.75rem;
		width: 90%;
		text-align: center;
	}

	/* ----------------------
	SOCIALS
	---------------------- */
	FOOTER UL#social-icons{
		max-width: 900px;
		margin: 1rem auto 1rem;
		border-top: 1px solid #f6edff;
		border-bottom: 1px solid #f6edff;
	}
		FOOTER UL#social-icons .social-icon{
			display: block;
			/*background-color: var(--dark-color);*/
			width: 30px;
			height: 30px;
			margin: 0.5rem;
			background-size: 90%;
			background-position: center;
			background-repeat: no-repeat;
		}
		FOOTER UL#social-icons .social-icon:hover{
			opacity: 0.7;
		}
		#social-icon-itchio{
			background-image: URL("../assets/itchio.svg");
		}
		#social-icon-twitter{
			background-image: URL("../assets/twitter.svg");
		}
		#social-icon-instagram{
			background-image: URL("../assets/instagram.svg");
		}
		#social-icon-mastodon{
			background-image: URL("../assets/mastodon.svg");
		}
		#social-icon-tumblr{
			background-image: URL("../assets/tumblr.svg");
		}
		#social-icon-email{
			background-image: URL("../assets/email.svg");
		}

	/* ----------------------
	FOOTER BADGE
	---------------------- */

	#footer-badge{
		display: block;
		margin: 0 auto;
		max-width: 900px;
		text-align: center;
	}
		#footer-badge p{
			font-size: 0.75rem;
		}
		#footer-badge a{
			display: block;
			margin: 0 auto;
		}
		#footer-badge img{
			-webkit-box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
			-moz-box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
			box-shadow: -5px 5px 5px 0px rgba(0,0,0,0.25);
		}

@media screen and ( max-width: 900px ){
	HTML{
		font-size: 2.5vw;
	}
	#wrapper{
		width: 95%;
	}
}


/*=====================================
STANDARD CONTENT STYLING
=====================================*/

.content-wrapper{
	margin: 1rem auto 0;
  	border-top: 2px solid #362843;
	width: 100%;
	max-width: 600px;
	display: block;
}
.content-wrapper h2 {
  margin: 1rem 0 0.25rem;
}


/*=====================================
SPECIAL FEATURES
=====================================*/

/*-------------------------------------
ACHIEVEMENTS
-------------------------------------*/

#achievements-wrapper{
	margin: 1rem auto 0;
	border-top: 2px solid #362843;
}
#achievements-wrapper h2{
	margin: 0.25rem 0;
}
	#achievements{
		list-style:none;
		padding: 0;
	}
		.achievement {
			position: relative;
			background-color: #dd05b9;
			background-color: #362843;
			color: #f6edff;
			padding: 0.25em 0.5em 0.25em 2em;
			margin-bottom: 1px;
		}
			.achievement-img{
				display: inline-block;
				height: 1em;
				width: 1em;
				position: absolute;;
				top: 50%;
				transform: translateY(-50%);
				left: 0.5em;
			}
			.achievement-img-star{
				background-image: URL("../assets/achievements/star.svg");
			}
			.achievement-img-spanner{
				background-image: URL("../assets/achievements/spanner.svg");
			}
			.achievement-date{
				color: #dd05b9;
				font-size: 0.75em;
				vertical-align: middle;
			}
			.achievement-txt{

			}
			.achievement .achievement-txt a{
				color: #dd05b9;
			}

/*-------------------------------------
RSS UPDATES
-------------------------------------*/
#updates{
	padding: 0.25rem;
	/*background-color: var(--feature-color);*/
}

	.feed-update{
		list-style:none;
		/*border: 1px solid var(--feature-color);*/
		background-color: var(--feature-greyout);
		margin-bottom: 0.25rem;
	}
	.feed-update:last-of-type{
		margin-bottom: 0;
	}
		.feed-update a{
			display: block;
			padding: 1rem;
			text-decoration: none;
			cursor: pointer;
		}
		.feed-update h4{
			margin: 0;
			padding: 0;
		}
		.feed-update p{
			margin: 0;
			font-style: italic;
			font-size: 0.8rem;
		}