@import url(http://fonts.googleapis.com/css?family=EB+Garamond);

@font-face {
	font-family: Ansichtkaart;
	src: url(Ansichtkaartdemo-lGmX.otf);
}

h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: bold;
	margin-top: 80px;
	margin-bottom: 0px;
}
h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
	/* font-size: 22px; */
	margin-top: 60px;
	margin-bottom: 0px;
}

a { 
	color:#777777;
}

nav {
	margin-top: 20px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
}

nav a {
	margin:0px 10px;
    display: inline-block;
    text-align: center;
	text-decoration: none;
	font-weight: bold;
	line-height: 1.8;
}

.footer-text {
	max-width: 600px;
	margin: auto;
}

.footer-text a {
	margin:0px 10px;
    display: inline-block;
	text-decoration: none;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
	font-weight: bold;
}

iframe {
    display: block;
    border-style: none;
    margin: auto;
	max-width: 100%;
}

.iframe-header {
	height: 50px;
	margin-top: 35px;
	/* padding: 18px; */
}

.story-title {
	font-size: 40px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.story-nav {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

/* .story-nav a {
	color:#ffae3d;
} */

body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	margin: auto;
	/* padding: 18px;
	max-width: 800px; */
	/* color:#f9f9f9; */
	background-color:whitesmoke;
	position: relative;
}

.container {
	margin: auto;
	padding: 18px;
	max-width: 800px;
}

.container h1 {
	margin-top: 10px;
}

p, li {
	font-size: 18px;
	line-height: 1.5;
}

.tagline {
	margin-top: 10px;
	margin-bottom: 30px;
	color:#777777;
}

.indented {
    text-indent: 50px;
}

.bluesky-div {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* art in stories are put into containers */
.container img, video {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	object-fit: contain;
}

/* portrait images span half width of desktop, but full width of mobile */
.portrait {
	display: block;
	margin: auto;
	max-width: 50%;
}

/* landscape images always span full width on all devices */
.landscape {
	display: block;
	margin: auto;
	max-width: 100%;
}

/* make these images smaller on web, but span full width on mobile*/
.doodle {
	display: block;
	margin: auto;
	max-width: 30%;
}

.gallery {
	margin: auto;
	margin-top: 20px;
	max-width: 800px;
}

.gallery td {
	width: 33%;
}

/* wraps each (portrait) gallery image for 'automatic square cropping' */
.gallery-tile {
	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1/1;
	overflow: hidden;
}

.gallery-tile img {
	display: block;
	margin: auto;
	width: 100%;
	object-fit: contain;
}

/* landspace images need veritcal cropping (aka why absolute position is needed) */
.gallery-tile-hor {
	aspect-ratio: 1/1;
	overflow: hidden;
	position: relative;
}

.gallery-tile-hor img {
	display: block;
	margin: auto;
	height: 100%;
	object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.spotify {
	margin: auto;
	width: 50%;
}

.courier {
	font-family: 'Courier New', Courier, monospace;
	font-size: 17px;
}

.indented {
    text-indent: 50px;
}

.block-lineless {
    padding-left: 25px;
	margin-left: 25px;
}

.block {
    padding-left: 25px;
	margin-left: 25px;
	border-left: 3px solid #777777;
}

.sf-header a:hover {
	color: #ffae3d;
}

/* mobile mode */
@media only screen and (max-width: 767px) {
	.iframe-header {
		height: 95px;
	}

	h1 {
		margin-top: 50px;
	}

	img, video {
		max-width: 100%;
	}

	.story-nav {
		width: 80%;
	}

	.container {
		max-width: 600px;
	}

	.portrait {
		max-width: 100%;
	}

	.doodle {
		max-width: 100%;
	}

	.spotify{
		width: 90%;
	}

	.footer-frame {
		height: 500px;
		max-width: 90%
	}
}

#dark-button {
	margin-bottom: 8px;
	position: relative;
	left: 100%;
	transform: translateX(-100%);
}

.dark {
	color:#f9f9f9;
	background-color: #11111a;
}

/* input[type="submit"]{
	color: white !important;
	background-color: #eba613 !important;
	border-color: initial !important;
	font-family: Garamond, serif !important;
}

input[type="email"]{
	color: initial !important;
	background-color: initial !important;
	font-size: initial !important;
	margin:  initial !important;
	font-family: Garamond, serif !important;
}

.emailoctopus-success-message{
	font-family: Garamond, serif !important;
}

.grecaptcha-badge{
	display: none !important;
} */