@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Regular-trial.ttf);
	font-weight: 400;
	font-style: normal;
}

@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Bold-trial.ttf);
	font-weight: 700;
	font-style: normal;
}

@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Italic-trial.ttf);
	font-weight: 400;
	font-style: italic;
}

@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Light-Italic-trial.ttf);
	font-weight: 300;
	font-style: italic;
}

@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Semilight-trial.ttf);
	font-weight: 300;
	font-style: normal;
}

@font-face {
    font-family: Cocogoose;
    src: url(varode-shrine/Cocogoose-Pro-Light-trial.ttf);
	font-weight: 100;
	font-style: normal;
}

@font-face {
    font-family: SimpleH;
    src: url(varode-shrine/SimpleHandmade.ttf);
}

:root {
	--dark: #424874;
	--accent: #71b48d;
    cursor: url(varode-shrine/cursor.png), auto;
	image-rendering: pixelated;
	font-size: 1.5rem;
	font-family: "SimpleH", serif;
    background-image: url(varode-shrine/alt.png);
    box-sizing: border-box !important;
}

a {
	cursor: url(varode-shrine/link.png), auto;
}

::-webkit-scrollbar {
	width: 20px;
}

::-webkit-scrollbar-thumb {
  	background: #fff;
  	border: 2px solid #9dcdff;
	border-radius: .3rem;
}

::-webkit-scrollbar-track {
	background: #fff;
	border: 2px solid #9dcdff;
	border-radius: .3rem;
}

img {
	pointer-events: none;
}

h2 {
    margin: .5rem 0;
    padding: 0 .5rem;
	text-decoration: none;
	font-family: "Cocogoose", sans-serif;
	font-weight: 300;
	color: #fff;
	-webkit-text-stroke: 3px #3e9a86;
	paint-order: stroke;
	background: linear-gradient(to bottom, transparent 0%, transparent 49%, #adfae9 50%, #adfae9 100%);
}

h2 span {
	filter: drop-shadow(1px 1px 0px #FFF) drop-shadow(-1px -1px 0px #FFF) drop-shadow(-1px 1px 0px #FFF) drop-shadow(1px -1px 0px #FFF);
}

.divider {
	margin: .5rem 0;
	width: 100%;
}

ul {
	margin-top: .3rem;
	padding: 0 1rem;
	list-style-image: url(varode-shrine/bpoint.gif);
}

li:not(:last-of-type) {
	margin-bottom: .3rem;
}

.popout {
	filter: drop-shadow(0 1px 1px var(--dark)) drop-shadow(0px 1px 1px var(--dark));
}

#sticker1 {
	float: left;
	shape-outside: url(varode-shrine/crossroads.png);
	shape-margin: 15px;
}

#page {
	margin: 0 auto;
    width: 70vw;
	color: var(--dark);
	border-image: url(varode-shrine/border.png) 9 fill round;  
	border-width: 18px;
	border-style: solid;
}

#container {
	background-color: #e5f1ff;
	border: 2px solid #9dcdff;
	border-radius: .5rem;
}

#top1-deco {
	height: 1.5rem;
	background-image: url(varode-shrine/extra.png);
	border: 2px #9dcdff;
	border-style: none none solid none;
	border-radius: .4rem .4rem 0 0;
	box-shadow: inset 3px 3px 2px #fff, inset -1px -1px 3px #9dcdff;
}

header img {
	width: 100%;
}

nav {
	z-index: 3;
    position: sticky;
    top: 0;
	margin-top: -.2rem;
	padding: .7rem .5rem;
	font-family: "Cocogoose", sans-serif;
	background: url(varode-shrine/nav.jpg);
	background-size: contain;
	border: 2px #9dcdff;
	border-style: solid none none none;
}

nav a {
	padding: .1rem .5rem;
	text-decoration: none;
	font-weight: lighter;
	color: #fff;
	-webkit-text-stroke: 3px #3e9a86;
	paint-order: stroke;
	background: linear-gradient(to bottom, transparent 0%, transparent 49%, #adfae9 50%, #adfae9 100%);
	transition: .3s;
	&:hover {
		filter: hue-rotate(55deg);
	}
}

nav span {
	filter: drop-shadow(1px 1px 0px #FFF) drop-shadow(-1px -1px 0px #FFF) drop-shadow(-1px 1px 0px #FFF) drop-shadow(1px -1px 0px #FFF);
}

#top {
	height: 2.5rem;
	background-image: url(varode-shrine/lace-top.png);
	background-repeat: repeat-x;   
	filter: drop-shadow(0 1px 1px var(--dark));
}

#main {
	padding: .5rem 1rem;
	background: #e5f1ff;
}

#main :not(h2) {
	line-height: 1.2rem;
}

#achievement {
	margin-bottom: .5rem;
	width: 100%;
}

.chibis-div {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin-bottom: .7rem;
}

#merode-chibi {
	width: 30%;
}

#varka-chibi {
	width: 25.4%;
}

.m-dialogue {
	margin-bottom: .5rem;
	padding: .5rem;
	color: #fff;
	background: url(varode-shrine/stripesBlue.jpg);
	outline: 2px solid #66b0ff;
	border-radius: .3rem;
	box-shadow: inset 3px 3px 2px #fff, inset -1px -1px 3px #66b0ff;
	& div {
		padding: .5rem;
		color: #424874;
		background: #fff;
		border: 1px solid #424874;
		border-radius: .2rem;
	}
}

.v-dialogue {
	padding: .5rem;
	color: var(--dark);
	background: url(varode-shrine/stripesTeal.jpg);
	outline: 2px solid #3e9a86;
	border-radius: .3rem;
	box-shadow: inset 3px 3px 2px #fff, inset -1px -1px 3px #3e9a86;
	& div {
		padding: .5rem;
		color: #424874;
		background: #fff;
		border: 1px solid #424874;
		border-radius: .2rem;
	}
}

#bottom {
	width: 100%;
	height: 2.5rem;
	background-image: url(varode-shrine/lace-bot.png);
	background-repeat: repeat-x;
	filter: drop-shadow(0 -1px 1px var(--dark));
}

#bot2-deco {
	height: 1.5rem;
	background-image: url(varode-shrine/extra.png);
	border: 2px #9dcdff;
	border-style: solid none none none;
	border-radius: 0 0 .4rem .4rem;
	box-shadow: inset 1px 1px 3px #9dcdff, inset -3px -3px 2px #fff;
}

@media (max-width: 48rem) {
	nav {
		display: grid;
	}
}