@font-face {
	font-family: 'Recursive';
	font-weight: 300 1000;
	src: url('/static/fonts/Recursive_VF_1.078.woff2');
}

body {
	padding-top: 25px;
	padding-bottom: 25px;
	font-size: 14px;
	line-height: 170%;
	font-family: 'Recursive';
}

i {
	font-variation-settings: "CRSV" 1;
}

h1 {
	font-size: 400%;
	text-align: center;
}
.logo {
	height: 200px;
	margin: 20px;
	background-image: url('/static/meskxawng.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.subtitle {
	margin-top: -27px;
	margin-bottom: 40px;
	text-align: center;
	font-size: 80%;
	opacity: 0.5;
}

h2 {
	margin: 0px;
	text-align: center;
}

.container, .single-container {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.container {
	display: flex;
}

.old-links div {
	text-align: center;
}

.navi, .english {
	padding: 20px;
	flex-grow: 1;
	flex-basis: 0;
}

.english {
	opacity: 0.5;
}

a {
	text-decoration: none;
	color: #2288ee;
}
a:hover {
	text-decoration: underline;
}

.episode-list {
	padding: 20px;
	list-style: none;
}
.episode-list li {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
}
audio {
	vertical-align: middle;
	width: 380px;
	margin-right: 15px;
}
.episode-title {
	display: inline-block;
}
.episode-date {
	opacity: 0.5;
	padding-left: 5px;
}

@media(max-width: 800px) {
	h1 {
		font-size: 300%;
	}
	.container {
		display: block;
		padding-bottom: 40px;
	}
	.navi, .english {
		padding-top: 10px;
		padding-bottom: 10px;
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}
	.episode-list li {
		text-align: center;
	}
	audio {
		vertical-align: middle;
		width: 100%;
		margin-right: 20px;
		max-width: 500px;
	}
	.episode-title {
		display: block;
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media(prefers-color-scheme: dark) {
	body {
		background-color: black;
		color: white;
	}
	.logo {
		background-image: url('/static/meskxawng-white.svg');
	}
	.lower {
		text-transform: lowercase;
	}
}

/* transcript pages */

.transcript {
	list-style: none;
	padding: 0;
}

.transcript li {
	position: relative;
	border-radius: 4px;
	padding: 8px 12px;
	width: calc(100% - 180px);
	max-width: 500px;
	margin: 20px auto;
}

.transcript li.tekre {
	background: #eee;
}

.transcript li.wllim {
	background: #e2e2e2;
}

.transcript li.tekre:before {
	content: '';
	position: absolute;
	width: 60px;
	height: 60px;
	background: url('/static/tekre.svg');
	background-size: contain;
	background-repeat: no-repeat;
	top: -10px;
	left: -75px;
}

.transcript li.wllim:before {
	content: '';
	position: absolute;
	width: 72px;
	height: 72px;
	background: url('/static/wllim.svg');
	background-size: contain;
	background-repeat: no-repeat;
	top: -10px;
	right: -83px;
}

.transcript li:after {
	content: '';
	position: absolute;
	top: 21px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	margin-top: -8px;
}

.transcript li.tekre:after {
	left: 0;
	border-right-color: #eee;
	border-left: 0;
	margin-left: -8px;
}

.transcript li.wllim:after {
	right: 0;
	border-left-color: #e2e2e2;
	border-right: 0;
	margin-right: -8px;
}


@media(prefers-color-scheme: dark) {
	.transcript li.tekre {
		background: #111;
	}

	.transcript li.wllim {
		background: #191919;
	}

	.transcript li.tekre:before {
		background: url('../tekre-white.svg');
		background-size: contain;
		background-repeat: no-repeat;
	}

	.transcript li.wllim:before {
		background: url('../wllim-white.svg');
		background-size: contain;
		background-repeat: no-repeat;
	}

	.transcript li.tekre:after {
		border-right-color: #111;
	}

	.transcript li.wllim:after {
		border-left-color: #191919;
	}
}

