/* base */
* { box-sizing: border-box; }

html,
body
{
	height: 100%;
	margin: 0;
	scroll-behavior: smooth;
}

body
{
	background-color: #EFEFEF;
	text-align: left;
	line-height: 1.5;
	font-family: "Georgia";
	font-size: 1rem;
	margin: 0 !important;
	padding: 0 !important;
	font-smooth: auto;
}

h1,
h2
{
	font-family: Georgia;
	font-weight: lighter;
	font-style: italic;
	font-size: 1rem;
	line-height: 1.3;
	padding: none;
	text-align: center;
}

h1
{
	font-size: 2.5em;
	color: #a5a5a5;
	margin-bottom: 1.45em;
	margin-top: 0;
}

h3
{
	font-weight: normal;
	font-size: 1em;
}

h5
{
	font-size: 0.8rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.9);
	font-family: "Georgia";
	font-style: normal;
	line-height: 1.4;
	margin: 0;
	padding-top: 0;
	font-smooth: auto;
}

a:link
{
	color: rgba(0, 0, 0, 0.9);
	text-decoration: none;
	border-bottom: 1px solid #000;
}

a:visited
{
	color: black;
	text-decoration: none;
}

a:active
{
	color: grey;
	text-decoration: none;
}

/* home */
.indexMenu
{
	color: white;
	font-family: sans-serif;
	font-size: 2rem;
	text-align: right;
	padding-left: 3rem;
	padding-right: 3rem;
	line-height: 2rem;
	position: fixed;
}

.logo
{
	width: 55%;
	z-index: 1;
	position: relative;
	margin: 0 auto;
	text-align: center;
	bottom: 0;
}

.logo a:link
{
	text-decoration: none;
	border-bottom: none;
}

.logo a:hover,
.logo a.current
{
	text-decoration: none;
	color: rgba(0, 0, 0, 0.9);
	border-bottom: 4px solid white;
	padding-bottom: 4px;
	cursor: pointer;
}

a.listen,
.listen
{
	margin-top: 1em;
	display: inline-block;
	padding: 2px 8px 3px;
	border-radius: 12px;
	background: #a5a5a5;
}

a.episode,
a.episode .title { transition: 0.25s all; }

a.episode img,
div.episode img
{
	border: 4px solid #a5a5a5;
	transition: 0.25s all;
}

a.episode:hover img { border: 4px solid white; }

a.episode:hover .title
{
	color: yellow;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

a.episode .listen
{
	transition: 0.25s all;
	border: 4px solid transparent;
}

a.episode:hover .listen
{
	background: yellow;
	border: 4px solid yellow;
}

.person
{
	background: yellow;
	transition: 0.25s all;
}

p.summary
{
	margin-bottom: 1em !important;
	margin-top: 1.25em !important;
	font-style: italic;
	font-size: 1em !important;
}

#logo { text-align: center; }

a.sun,
a.sun:link
{
	display: block;
	padding: 2px 8px 3px;
	/* border-radius: 12px; */
	background: white;
	transition: 0.25s all;
	font-weight: normal !important;
	border: 4px solid transparent;
	text-align: center;
}

a.sun:hover
{
	background: yellow;
	border-color: yellow;
}

.image-container { position: relative; }

.title
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	color: #a5a5a5;
	font-size: 2.75em;
	-webkit-font-smoothing: antialiased;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0);
}

p
{
	font-size: 1rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	margin: 0;
	padding-top: 0;
	font-smooth: auto;
}

ul
{
	padding: 0;
	list-style: none;
}

canvas
{
	display: grid;
	position: relative;
	margin: 0 auto;
	z-index: 1;
}

.menugrid
{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 3rem;
	width: 33%;
	position: relative;
	margin: 0 auto;
}

#episodes,
#episodes.select.current
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(1fr, 1fr));
	grid-gap: 2rem;
	padding-bottom: 1rem;
	padding-top: 1rem;
	max-width: 750px;
	position: relative;
	margin: 0 auto;
}

#episodes > div,
#episodes.select.current > div
{
	text-align: center;
	padding-bottom: 2rem;
	margin: 0 auto;
}

#episodes p
{
	font-size: 0.9rem;
	/* color: grey; */
	margin: 0;
	padding-top: 0rem;
}

#episodes a:link
{
	text-decoration: none;
	border-bottom: none;
	opacity: 1;
}

#episodes a:visited { text-decoration: none; }
#episodes a:active { text-decoration: none; }
.transparency { background: white; }

.text-block
{
	max-width: 480px;
	margin: 2em auto;
	padding: 0 0.5em;
}

.select,
#episodes.select { display: none; }
.select.current { display: block; }
#episodes.select.current { display: grid; }
.text-block a:hover { background: yellow; }
#back-to-top { grid-column: 1 / 3; }

#back-to-top a.sun
{
	display: inline-block;
	padding: 2px 8px 3px;
	border: 4px solid transparent;
}

.black { color: black; }
.red { color: red; }

footer
{
	display: grid;
	grid-gap: 4px;
	border-top: 4px solid #bfbfbf;
	grid-template-columns: repeat(auto-fit, minmax(14%, 1fr));
	background: white;
	margin-top: 4em;
}

footer div
{
	background: white;
	height: 200px;
	padding: 1em;
	font-size: 2.5em;
	color: #a5a5a5;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

#episode h2
{
	font-size: 2.5em;
	color: rgba(0, 0, 0, 0.25);
}

nav { margin-top: 1.5em; }
.episode.tocome { margin-bottom: 6em; }

/* transition */
#cover
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 888;
	pointer-events: none;
	background: transparent;
	transition: 1s ease all;
}

#cover.yellow { background: yellow; }

/* episode page */
body.episode { background: #EFEFEF; }

body.episode nav a
{
	border-bottom: 4px solid white !important;
	padding-bottom: 4px;
}

body.episode .image-container img { border: 4px yellow; }

body.episode nav a:hover
{
	background: yellow;
	border-top: 4px yellow;
	padding-top: 4px;
}

body.episode #episode h2
{
	color: yellow;
	font-style: normal;
	opacity: 1;
	font-size: 2.75em;
}

body.episode h3
{
	font-size: 2.5em;
	text-align: center;
	margin: 0;
}

body.episode .title { color: yellow; }
body.episode .image-container { border-color: white; }
body.episode p.summary { text-align: center; }

#episode
{
	max-width: 750px;
	margin: 5em auto;
}

.audio
{
	text-align: center;
	margin-top: 2em;
}

/* media queries */

@media only screen and (max-width: 750px)
{
	#episodes,
	  #episodes.select.current
	{
		display: block;
		grid-template-columns: none;
		padding: 1rem;
		max-width: 555px;
	}
	
	#episodes > div,
	  #episodes.select.current > div { margin-bottom: 4em; }
	.topnav { width: 100%; }
	
	h1
	{
		padding-left: 1.5rem;
		padding-right: 2rem;
	}
	
	h5
	{
		padding-left: 1.5rem;
		padding-right: 2rem;
	}
	
	.workgrid p
	{
		font-size: 0.85rem;
		padding-left: 1.5rem;
		padding-right: 2rem;
	}
	
	.logo { width: 87%; }
}
