@font-face {
	font-family: 'EBGarSC';
	src: url('/beasts-of-fortune/EBGaramondSC12-Regular.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'EBGar';
	src: url('/beasts-of-fortune/EBGaramond12-Regular.otf');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: 'EBGarSC', serif;
	background-color: rgb(70,37,44); /* to match image */
	color: rgb(220,220,220);
	margin: 0;

	background-image: url('/beasts-of-fortune/backgr.jpg');
	background-repeat: no-repeat;
	/*background-position: top;*/
}
main { padding-top: 2rem; display: block; /* for IE11 */ }
h1, h2, h3, h4 { font-weight: normal; text-align: center; margin: 0; }
h1 { font-size: 4rem; }
a { text-decoration: none; color: rgb(200,200,200); }
p { text-align: justify; font-size: 1.2rem; margin: 0 0 1.5rem 0; font-family: 'EBGar', serif; }
section { margin: 0 auto; padding: 2rem 0; max-width: 75rem; }
main section { padding: 1rem 3rem; }
h1 sup { font-size: 20%; }

table.screenshots { table-layout: fixed; border-collapse: separate; border-spacing: 1rem; width: 100%; }
table.screenshots img { width: 100%; border: 1px solid black; }
table.link-table td { text-align: center; font-size: 1.5rem; }
img.thumbs { max-width: 210px; }

a.big-link, a.med-link {
	display: block;
	font-size: 2rem;
	text-align: center;
	background-color: rgba(200,200,200,0.15);
	padding: 1rem;
	border: 1px solid rgba(200,200,200,0.25);
	transition: background-color 0.5s, color 0.5s;;
}
a.big-link:hover, a.med-link:hover { color: white; background-color: rgba(175,175,175,0.25); }
a.med-link {
	font-size: 1.5rem;
	padding: 0.75rem;
	margin-bottom: 1rem;
}

h3 { margin-bottom: 0.6rem; font-family: 'EBGar', serif; }
.textbox {
	color: rgba(255,255,255,0.5);
	box-sizing: border-box;
	width: 100%;
	max-width: 500px;
	font-size: inherit;
	border: 2px solid rgba(255,255,255,0.4);
	background-color: rgba(0,0,0,0.3);
	transition: background-color 0.5s;
	padding: 1rem 1.5rem;
	margin: 0 auto 0.5rem auto;
	display: block;
}
.textbox:focus { background-color: rgba(0,0,0,0.6); outline: none; } /* outline: none; removes Chrome highlight border */
.submit {
	max-width: 100px;
	background-color: rgba(255,255,255,0.5);
	color: rgb(50,50,50);
	padding: 0.5rem;
	text-align: center;
	margin: 0 auto;
	border: 1px solid rgba(255,255,255,0.5);
	cursor: not-allowed;
}
.submit.gtg:hover {
	color: rgb(200,200,200);
	background-color: rgba(0,0,0,0.5);
	border-color: black;
	cursor: pointer;
}

.contact { text-align: center; margin-top: 2rem; font-family: 'EBGar', serif; font-size: 1.1rem; }
.contact a { color: white; }

footer { color: rgba(255,255,255,0.6); margin: 3rem 0 1rem 0; text-align: center; }

h2 {
	text-align: left;
	background-color: rgba(0,0,0,0.1);
	padding: 0.5rem 1.15rem 0.3rem 1.15rem;
	font-size: 2rem;
	border-bottom: 3px solid rgba(0,0,0,0.1);
}
section.long-list h2 { font-size: 1.5rem; }
section.long-list p { margin: 0.5rem 0.5rem 2.5rem 0.5rem; }
section.long-list div {
	background-color: rgba(0,0,0,0.2);
	padding: 0.2rem 1rem 0.4rem 1rem;
	font-size: 0.9rem;
	font-family: 'EBGar', serif;
}
li { margin-bottom: 0.75rem; font-size: 1.1rem; font-family: 'EBGar', serif; }

.infolist {
	display: table;
	width: 100%;
	box-sizing: border-box;
	border-spacing: 1.5rem;
	font-size: 1.2rem;
	padding-top: 0;
}
.infolist dl { display: table-row; }
.infolist dt { display: table-cell; text-align: right; width: 50%; }
.infolist dd { display: table-cell; font-family: 'EBGar', serif; }

.regions p { margin-bottom: 0 !important; }
.regions table { border-collapse: separate; border-spacing: 1rem; width: 100%; margin-bottom: 2rem; }
.regions tr:first-child td:first-child { border-right: 10px solid rgba(255,255,255,0.05); width: 1px; padding-right: 20px; }

@media (max-width: 40rem) { /* 640px */
	p { text-align: left; }
}