@font-face {
	font-family: 'kingthings';
	src: url('fonts/kingthings_exeter.ttf');
	font-display: swap;
}

* {
	font-family: Corbel;
}

body {
	margin: 0;
	font-size: 18;
	color: #555;
	background-color: white; /* so dark mobile theme doesn't mess up with bg image, slightly uglier font... */
}

iframe {
	width: 100%;
	border-width: 0;
}

a, a:visited {
    color: #a03;
}

a:hover {
	color: #d91;
}

.hover-fade {
	transition: opacity 0.2s;
}

.hover-fade:hover {
	opacity: 0.85;
}

#header {
	height: 5em;
	background: url(img/header-bg.jpg) repeat-x 0 0;
	background-color: #213;
}

#header_nav {
	height: 5em;
}

#header-logo img {
	height: 4.85em;
}

.header-links {
	position: relative;
    left: .5em;
    top: -1em;
    font-size: 170%;
}

#header a, 
#header a:visited {
	color: #a7a4aa;
	text-decoration: none;
	margin: 1em 0.5em;
}

#header .header-links a:hover {
	color: #7c7780;
}

#content {
	background: url(img/main.png) repeat-x 0 0;
	background-color: white;
	border-bottom: 1px solid darkgray;
	padding-top: 1em;
	padding-bottom: 2em;
}

#footer {
	padding: 0.1em;
	padding-bottom: 3em;
	text-align:center;
	color: #666;
	cursor: default;
	text-shadow: 1px 1px 2px #000, 0 0 3px #000;
	font-weight: bold;
	background-color: #1a1a18;
}

#footer_frame {
	height: 6em;
}

.centered {
	position: relative;
	margin: 0 auto;
	width: 1120px;
}

#main-content,
#sidebar {
	display: inline-block;
	vertical-align: top;
	line-height: 135%;
}

#main-content {
	width: 680px;
	margin-right: 42px;
}

#sidebar {
	width: 389px;
}

h2 {
	font-family: 'kingthings';
	font-size: 180%;
	font-weight: bold;
	color: #a03;
	margin-bottom: 0;
}

#sidebar h2 {
	font-family: 'kingthings';
	font-size: 150%;
	border-bottom: 1px solid #aaa;
	color: #555;
	margin-bottom: 0.65em;
	margin-top: 0.75em;
}

#sidebar p {
	margin-top: 0;
}

.intro-text {
	font-family: kingthings;
	font-size: 140%;
	color: #402;
	font-weight: bold;
	text-align: center;
	text-shadow: 1px 1px 1px #eec;
	margin-top: 0.25em;
	margin-bottom: 0.5em;
}

.intro-text a {
	font-family: kingthings;
}

.horz-bar {
	margin-top: 1.35em;
	border-bottom: 1px solid #aaa;
}

.full-width-img {
	width: 100%;
	margin-bottom: 0.5em;
}

#twitter-widget-0 {
	display: block;
	margin-top: 1em;
}

#mc_embed_signup_scroll {
	display: inline-block;
	margin-left: 1.25em;
    margin-top: 0.35em;
}
input[type="email"],
input[type="submit"] {
	border-radius: 1em;
	padding: 0.5em 1em;
	font-family: kingthings;
	font-size: 110%;
}
input[type="submit"] {
	font-weight: bold;
	margin-left: 0.5em;
	background-color: #a03;
	color: white;
	transition: background-color 0.2s;
}
input[type="submit"]:hover {
	background-color: #d14;
}

.fade-in {
	animation: fade-in 3s;
}

@keyframes fade-in {
    0%, 50% {opacity:0;}
    100% {opacity:1;}
}

.logo img {
	height: 4.5em;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.zoomable-wrapper {
	overflow: hidden;
	margin-bottom: 0.25em;
}

.zoomable-wrapper img {
	transition: all .2s ease;
}

.zoomable-wrapper:hover img {
	transform: scale(1.15);
	opacity: 0.85; 
}

.screenshot {
	display: inline-block;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	cursor: zoom-in;
	transition: all .2s ease-in-out;
	backface-visibility: hidden; /* prevents transition flicker, but pixelizes image */
	filter: blur(0); /* fixes the above */
}

.img-caption {
	margin-top: 0;
	font-size: 80%;
}

#screenshot-overlay {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: rgba(0,0,0,0.75);
	cursor: zoom-out;
}

#screenshot-overlay.hidden {
	display: none;
}

#screenshot-overlay img {
	position: relative;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0 auto;
	max-width: 100%;
	max-height: 100%;
}

.half-width-floater {
	width: 48.75%;
	float: left;
}
.half-width-floater:nth-child(odd) {
	margin-right: 2.45%;
}

.features-list {
	list-style: none;
	padding: 0;
}
.features-list li::before {
	content: "\2714";
	color: rgb(160, 0, 16);
	margin-right: 0.6em;
}
.features-list li { 
	margin: 0.3em 0;
	margin-left: 1em;
}

.my-social-button {
	width: 3.8em;
	transition: opacity 0.2s;
	margin: 0 0.7em;
    display: inline-block;
}

.my-social-button:hover {
	opacity: 0.85;
}

@media screen and (max-width: 1119px) {
	.centered {
		width: 100%;
	}
	#main-content,
	#sidebar {
		width: 94%;
		max-width: 600px;
		display: block;
		margin: 0 auto;
	}
	#sidebar {
		border-top: 3px solid #666;
		margin-top: 2em;
	}
	.header-links {
		font-size: 100%;
		display: inline-block;
		position: absolute;
		top: 0.7em;
		left: 6em;
	}
	#header .header-links a {
		margin: 0;
		display: block;
	}
	.desktop-only {
		display: none;
	}
	#mc_embed_signup_scroll {
		margin-left: 0;
		width: 100%;
	}
	#mail-subscribe-wrapper {
		top: 0;
		width: 100%;
	}
	input[type="email"] {
		width: 100%;
	}
	input[type="submit"] {
		margin-left: 0;
		margin-top: 0.5em;
		width: 100%;
	}
	.logo img {
		height: 15vw;
	}
}
@media screen and (max-width: 450px) {
	.header-links {
		font-size: 4.9vw;
		top: calc(30px - 1em);
		left: 103px;
	}
}