@font-face {
	font-family: "Scandia";
	font-style: normal;
	font-weight: 400;
	src: url(/fonts/ScandiaWebRegular.woff2);
}

@font-face {
	font-family: "Scandia";
	font-style: normal;
	font-weight: bold;
	src: url(/fonts/ScandiaWebBold.woff2);
}

* {
	font-family: "Scandia", sans-serif;
}

#starfield {
	transition: 1s ease all;
	-webkit-transition: 1s ease all;
	margin: 0;
	padding: 0;
	max-width: 100vw;
	left: 0;
	animation: wipeIn 1s;
	-webkit-animation: wipeIn 1s;
}

#starfield.wipe {
	opacity: 0;
	left: 0;
	max-width: 0;
	background: white;
}

#castlestart a {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

#castlestart {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -200px;
	z-index: 999;
	margin-left: -225px;
	width: 450px;
	transition: opacity .1s;
	-webkit-transition: opacity .1s;
	text-align: center;
	opacity: 0.9
}

#castlestart:hover {
	opacity: 1.0
}

#castlestart .text {
	display: inline-block;
	border-top: 2px solid white;
	font-size: 36pt;
	padding: 4px 0 0;
	text-align: center;
	font-weight: 400;
	text-transform: uppercase
}

#castlestart .text span {
	border-bottom: 2px solid white;
	padding: 0;
}

/* intro */
@keyframes wipeIn {
	from {
		max-width: 0;
	}

	to {
		max-width: 100vw;
	}
}

@-webkit-keyframes wipeIn {
	from {
		max-width: 0;
	}

	to {
		max-width: 100vw;
	}
}

@-webkit-keyframes fadeout {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes fadeout {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.fadeOut {
	-moz-animation: fadeout 1s linear;
	-webkit-animation: fadeout 1s linear;
	animation: fadeout 1s linear;
	animation-fill-mode: forwards;
}

body.screensaver {
	cursor: pointer;
	background: white;
	color: white;
	width: 100%;
	margin: 0;
	min-height: 100vh;
	max-width: none;
	padding: 0;
	overflow: hidden;
	position: fixed;
}