:root {
	--slider-val: linear-gradient(90deg, rgb(84, 255, 78) 0%, rgb(185, 185, 185) 0%, rgb(182, 182, 182) 100%);
	--title-pos: 10%;
}

html {
	scroll-behavior: smooth;
	background-color: rgb(44, 44, 44);
	color: white;
	font-family: 'DejaVu Sans', sans-serif;
	height: 100%;
}

*::-webkit-scrollbar {
	display: none;
}

.material-icons:not(.mediabutton), .material-icons-outlined:not(.mediabutton), .material-icons-filled:not(.mediabutton) {
	vertical-align: top !important;
}

.showim {
	width: 150px;
	border-radius: 5px;
	vertical-align: top;
	float: left;
	margin: 2px;
	padding-bottom: 2px;
	margin-right: 5px;
}

.show {
	padding-left: 2px !important;
	padding-top: 2px;
	margin-top: 20px;
	overflow: auto;
	font-family: 'DejaVu Sans', sans-serif;
	cursor: pointer;
}

#s600ptd {
	transition: 0.3s;
}

* {
	scrollbar-width: none;
	color: white;
}

#title {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 30px;
	font-size: max(min(30px, 4vw), 15px);
}

.flex {
	justify-content: left;
	display: flex;
	flex-wrap: wrap;
	flex-flow: row wrap;
}

.shortlong,
a {
	color: rgb(127, 104, 255);
	text-decoration: underline;
	cursor: pointer;
}

.episode>div {
	padding-bottom: 10px;
}

#episode_td {
	width: calc(98% - 600px);
	transition: 0.35s;
}

#explicit {
	background: #ce4242;
	/* i don't really like this color but whatever */
	display: inline-block;
	font-weight: bold;
	font-size: 12px;
	padding: 2px 5px 2px 5px;
	text-align: center;
	border-radius: 4px;
	pointer-events: none;
	user-select: none;
	margin-bottom: 12px;
	margin-top: 12px;
	font-family: sans-serif;
}

.explicit_ep {
	color: #ce4242;
	padding: 0;
	display: inline-block;
	pointer-events: none;
	user-select: none;
	font-weight: bold;
	font-size: 12px;
	margin: 5px !important;
	text-align: center;
	float: right;
	background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 53%, rgba(255,255,255,0) 56%);
}

.displaynone {
	display: none !important;
}

#announcement {
	border: 3px solid white;
	border-radius: 8px;
	filter: drop-shadow(2px 5px 10px #0e0e0e);
	position: fixed;
	word-wrap: break-word;
	top: 50%;
	left: 50%;
	background: #1f1e1e;
	z-index: 9000;
	padding-bottom: 20px;
	padding-left: 13px;
	padding-top: 0;
	transform: translate(-50%, -50%);
	max-height: 95%;
	overflow: scroll;
}

#announcement.hidden {
	transform: translate(-50%, -70%);
}

#announcement>* {
	margin-right: 20px;
}

#announcement>.fa-times {
	cursor: pointer;
	float: right;
	margin-top: 8px;
	margin-right: 10px;
}

#announcement_h1 {
	vertical-align: bottom;
	display: inline;
	margin-top: 12px;
	clear: both;
}

#announcement_ul>li {
	margin-top: 10px;
	line-height: 1.2;
}

#hidinput {
	opacity: 0;
	transition: 0.5s !important;
}

#AetBh69SERCH99bH:focus+#hidinput {
	opacity: 1;
}

#hidinput:focus-within {
	opacity: 1;
}

#logopan {
	font-weight: bold;
	font-size: 30px !important;
	font-family: sans-serif;
	top: 5px;
	cursor: pointer;
}

#nav-space {
	height: 50px;
	width: 100%;
}

input {
	background: transparent;
	border-top: none;
	border-left: none;
	outline: none;
	border-right: none;
	border-bottom: 1px solid rgb(185, 185, 185);
	color: white;
	padding-left: 0;
	border-radius: 0;
	appearance: none;
	font-size: 20px;
	transition: 0.3s;
}

input:focus {
	border-bottom: 2px solid white;
}

.scrollable {
	overflow-y: scroll !important;
}

#episodes {
	padding-bottom: 100px;
}

.episode {
	border-radius: 5px;
	border-color: rgb(97, 97, 97);
	border-width: 2px;
	border-style: solid;
	padding-left: 10px;
	background: rgb(44, 44, 44);
	transition: 0.3s;
	text-align: left;
}

.episode>* {
	margin-right: 20px;
}

.episode_title {
	margin-top: 5px;
	font-size: 30px;
	font-family: sans-serif;
}

.smallplaybutton {
	margin-right: 10px;
	cursor: pointer;
	display: inline;
	font-size: 35px !important;
	transition: 0.2s !important;
	color: rgb(212, 211, 211);
}

.smallplaybutton:hover {
	color: white;
}

.smallplaybutton:active {
	color: rgb(139, 139, 139);
}

.showing {
	opacity: 1;
}

.hidden {
	opacity: 0;
	pointer-events: none;
	transition: 0.5s;
}

*:not(.hidden) {
	opacity: 1;
	transition: 0.5s;
}

#output {
	padding-top: 10px;
	font-family: 'DejaVu Sans', sans-serif;
	min-height: 100px;
	flex-wrap: nowrap;
	align-items: flex-start;
}

#loading.hidden {
	margin-top: -30px;
}

.show.hidden {
	margin-top: 80px;
}

#description {
	margin-top: 5px;
}

@media (min-width: 950px) {
	#announcement {
		width: min(50%, 500px);
	}

	#description {
		width: 88%;
	}

	#loadmore {
		width: 30%;
	}

	#mobilenav,
	#mobileside {
		display: none;
	}

	#navbar {
		top: 0;
		left: 0;
		position: fixed;
		height: 50px;
		width: 100%;
		z-index: 3000;
		border-bottom: 2px solid white;
		background-color: rgb(31, 30, 30);
		font-family: 'DejaVu Sans', sans-serif;
		white-space: nowrap;
	}

	#navbar>input {
		font-size: 20px;
		margin-left: 10px;
	}

	#navbar>span {
		margin-top: 5px;
		margin-left: 5px;
		font-size: 18px;
		color: rgb(226, 226, 226);
		position: relative;
		margin-right: 20px;
		cursor: pointer;
		transition: 0.2s;
	}

	#navbar>span:hover {
		color: white
	}

	.slider {
		width: 80%;
	}

	#progress_container {
		overflow: auto;
	}

	#noscrolly {
		overflow: hidden;
		height: 100%;
		align-items: flex-start;
		position: relative;
	}

	#output {
		transition: 0.4s;
		margin-left: 30px;
	}

	#nowplayingcont {
		clip-path: inset(0 35% 0 35%);
		width: 100%;
	}

	#episode_td {
		overflow-y: scroll;
		overflow-x: visible;
		height: calc(100vh - 80px) !important;
		padding-right: 10px;
	}

	#episodes {
		margin-left: 30px;
		font-family: 'DejaVu Sans', sans-serif;
	}

	.smallplaybutton {
		opacity: 0;
	}

	.episode:hover>.smallplaybutton {
		opacity: 1;
	}

	#s600ptd {
		width: 600px;
	}

	#image {
		width: 300px;
		border-radius: 5px;
		margin-right: 15px;
	}
}

.centererror {
	width: 100%;
	text-align: center;
	vertical-align: middle;
	font-family: 'DejaVu Sans', sans-serif;
}

.burger {
	vertical-align: bottom !important;
	display: inline-block !important;
	font-size: 46px !important;
	cursor: pointer;
}

.burgerx {
	width: 42px;
	height: 42px;
	display: inline-block;
	cursor: pointer;
	font-size: 42px;
	margin-left: 10px;
}

#image {
	flex: 0 auto;
}

.navigation {
	font-family: sans-serif;
}

@media (max-width: 949px) {
	#loadmore {
		width: 40%;
	}


	html {
		/* STUPID HACK ALERT */
		/* WEEOOWEEOOWEEEOOO */
		zoom: 90%;
	}

	#title,
	#author_name {
		word-wrap: break-word;
		display: block;
		width: 50%;
	}

	#description {
		word-wrap: break-word;
		display: block;
		width: 80%;
		margin-right: 10%;
	}

	.smallplaybutton {
		color: white !important;
	}

	#mobileside {
		background: #1f1e1e;
		transition: 0.4s;
		width: 75%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 3001;
		border-right: 2px solid white;
		background-color: rgb(31, 30, 30);
		opacity: 1;
	}

	.leftside {
		opacity: 0;
		margin-left: -80%;
	}

	.navigation {
		display: block;
		margin-top: 20px;
		padding-left: 20px;
		cursor: pointer;
	}

	input {
		width: 80%;
		margin-top: 20px;
		margin-left: 20px;
	}

	.slider {
		width: 40%;
	}

	#mobilenav {
		top: 0;
		left: 0;
		position: fixed;
		height: 45px;
		width: 100%;
		z-index: 3000;
		border-bottom: 2px solid white;
		background-color: rgb(31, 30, 30);
		font-family: 'DejaVu Sans', sans-serif;
		white-space: nowrap;
	}

	#navbar {
		display: none;
	}

	#output {
		transition: 0.4s;
	}

	#maintable {
		margin-left: auto;
		margin-right: auto;
		max-width: calc(100% - 30px) !important;
		word-wrap: break-word;
		table-layout: fixed;
	}

	#nowplayingcont {
		clip-path: inset(0 5% 0 5%);
		width: 100%;
	}

	#s600ptd {
		width: 100%;
		margin-left: 0;
		height: auto;
	}

	@media (min-width: 401px) {
		#announcement {
			width: 50%;
		}

		#image {
			width: max(30%, 210px);
			border-radius: 5px;
			float: left;
			margin-right: 15px;
		}

		#episode_td {
			width: 100%;
			margin-left: auto;
			margin-right: auto;
			left: 0;
		}
	}

	@media (max-width: 400px) {
		#announcement {
			width: 85%;
		}

		#image {
			width: 150px;
			float: left;
			border-radius: 5px;
			margin-right: 15px;
		}

		#episodes,
		.episode {
			width: 87.4%;
		}

		#episode_td {
			width: 100%;
			margin-left: auto;
			margin-right: auto;
			left: 0;
		}
	}

	#episodes {
		margin-left: auto;
		margin-right: auto;
		font-family: 'DejaVu Sans', sans-serif;
		width: 100%;
	}

	td {
		display: table;
		word-wrap: normal;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}

#loadmore {
	background: rgb(44, 44, 44);
	border-color: white;
	color: white;
	cursor: pointer;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 50px;
	margin-top: 20px;
	border-style: solid;
	border-width: 3px;
	border-radius: 50px;
	font-family: 'DejaVu Sans', sans-serif;
	font-size: 30px;
	font-size: max(2.5vw, 25px);
	transition: 0.1s;
	user-select: none;
}

#loadmore:hover {
	background: rgb(66, 66, 66);
}

#loadmore:active {
	background: rgb(37, 37, 37);
}

.subscribe-u {
	background: rgb(44, 44, 44);
	color: rgb(255, 78, 78);
	border-color: rgb(255, 78, 78);
	width: 110px;
}

#subbutton {
	background: rgb(44, 44, 44);
	border-style: solid;
	border-width: 2px;
	border-radius: 2px;
	font-size: 20px;
	cursor: pointer;
	transition: 0.5s;
	overflow: hidden !important;
	text-align: center;
	height: 27px;
	user-select: none;
}

.subscribe-s {
	background: rgb(44, 44, 44);
	color: rgb(84, 255, 78);
	border-color: rgb(84, 255, 78);
	width: 150px;
}

.subscribe-s>* {
	color: rgb(84, 255, 78);
}

.slider {
	-webkit-appearance: none;
	height: 4px;
	outline: none;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: var(--slider-val);
	cursor: pointer;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 10px;
	height: 10px;
	background: rgb(84, 255, 78);
	cursor: pointer;
	border-radius: 500px;
	border-color: rgb(84, 255, 78);
	transform: translateX(-40%);
	opacity: 0;
	transition: 0.2s;
}

.slider::-moz-range-thumb {
	width: 10px;
	height: 10px;
	background: rgb(84, 255, 78);
	cursor: pointer;
	border-radius: 500px;
	border-color: rgb(84, 255, 78);
	transform: translateX(-50%);
	opacity: 0;
	transition: 0.2s;
}

.slider:hover::-moz-range-thumb {
	opacity: 1;
}

.slider:hover::-webkit-slider-thumb {
	opacity: 1;
}

#timeleft,
#minustime {
	font-family: 'DejaVu Sans', sans-serif;
	font-weight: medium;
}

#nowplaying {
	opacity: 0.8;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 14px;
	animation: leftright 10s alternate infinite linear;
	white-space: nowrap;
	width: auto;
}

#player {
	width: 100%;
	position: fixed;
	left: 0;
	bottom: 0;
	border-top: solid;
	border-width: 1.5px;
	background-color: rgb(34, 34, 34);
	padding-top: 10px;
	transition: 1s;
	padding-bottom: 10px;
	text-align: center;
}

#progress_container {
	width: 100%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	white-space: nowrap;
	text-align: center;
}

#nowplaying {
	text-align: center;
	margin-top: 8px;
	margin-bottom: 0px;
}

#timeleft,
#minustime {
	margin-left: 20px;
	margin-right: 20px;
}

.nonhidingplayer {
	bottom: 0;
}

.hidingplayer {
	bottom: 0;
	transform: translate(0, 100%);
	pointer-events: none;
	position: fixed;
}

#play_pause {
	font-size: 55px;
}

#player_controls {
	text-align: center;
	margin-top: 5px;
}

#author_name {
	opacity: 0.8;
	font-weight: bold;
	font-family: sans-serif;
	font-size: 14px;
}

.mediabutton {
	cursor: pointer;
	opacity: 0.8;
	transition: 0.2s;
}

.mediabutton:hover {
	opacity: 1;
}

#back15,
#for15 {
	font-size: 40px;
	margin-left: 5px;
	margin-right: 5px;
}

/* dragula stuff */
.gu-transit {
	opacity: 0.3;
}

.gu-mirror {
	background: rgb(44, 44, 44);
	opacity: 0.98;
	cursor: grab;
	filter: drop-shadow(-10px 10px 10px #1c1c1c);
}


#widthtester {
	position: absolute;
	visibility: hidden;
	height: auto;
	width: auto;
	white-space: nowrap;
	font-family: 'DejaVu Sans', sans-serif;
}

#patreon-bar {
	width: 100%;
	height: 45px;
	background-color: rgb(211, 0, 130);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	transition: 0.4s;
	font-family: 'DejaVu Sans', sans-serif;
}

h1 {
	font-family: sans-serif;
}

#patreonh1 {
	margin-top: 5px;
	margin-left: 20px;
	font-size: 30px;
}

#patreonp {
	padding-left: 50px;
	cursor: pointer;
}

#patreonx {
	position: fixed;
	right: 10px;
	top: 15px;
	cursor: pointer;
}

#patreonarrow {
	opacity: 0;
	transition: 0.3s;
}

#patreonp:hover>#patreonarrow {
	opacity: 1;
	animation: driftarrow 1s alternate infinite ease-in-out;
}

@keyframes driftarrow {
	0% {
		transform: translateX(30%);
	}

	100% {
		transform: translateX(100%);
	}
}

@keyframes leftright {
	0% {
		transform: translateX(var(--title-pos));
	}

	5% {
		transform: translateX(var(--title-pos));
	}

	95% {
		transform: translateX(calc(var(--title-pos) - var(--title-pos) - var(--title-pos)));
	}

	100% {
		transform: translateX(calc(var(--title-pos) - var(--title-pos) - var(--title-pos)));
	}
}
