/* russo-one-regular - latin */
@font-face {
	font-family: 'Russo One';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/russo-one-v14-latin-regular.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('../../fonts/russo-one-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('../../fonts/russo-one-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		url('../../fonts/russo-one-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
		url('../../fonts/russo-one-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		url('../../fonts/russo-one-v14-latin-regular.svg#RussoOne') format('svg'); /* Legacy iOS */
}
* {
	font-family: 'Russo One', sans-serif;
	margin: 0;
	padding: 0;
}
html {
	font-size: 12px;
}
@media only screen and (max-width: 600px) and (max-aspect-ratio: 1/1) {
	html {
		font-size: 1.5vw;
	}
	body {
		font-size: 3vw;
	}
	.btn {
		font-size: 2rem;
	}
	.form-select {
		font-size: 2rem;
	}
	#Controls {
		flex-direction: column !important;
	}
	#Controls > * + * {
		margin-top: 10px;
	}
}
@media only screen and (max-height: 600px) and (min-aspect-ratio: 1/1) {
	html {
		font-size: 2vh;
	}
}
html::-webkit-scrollbar {
	width: 16px;
	height: 16px;
}
html::-webkit-scrollbar-thumb {
	background: #434343;
	border-radius: 16px;
	box-shadow: inset 2px 2px 2px hsl(0deg 0% 100% / 25%), inset -2px -2px 2px rgb(0 0 0 / 25%);
}
html::-webkit-scrollbar-track {
	background: linear-gradient(90deg,#434343,#434343 1px,#111 0,#111);
}
body {
	font-family: system-ui;
	/* display: grid;
	min-height: 100vh;
	place-content: center;
	overflow: hidden; */
	color: white;
	display: flex;
	flex-direction: column;
	width: 100%;
}
h1 {
	/*position: absolute;
	text-align: center;
	width: 100%;*/
	margin-top: 10px;
}
section {
	position: relative;
	width: 100%;
	margin: 10px 0;
}
section#WaveSection {
	display:  flex;
	justify-content: center;
	align-items: center;
	min-height: 250px;
	max-height: 250px;
}
ul.wave {
	display: flex;
	list-style: none;
}
ul.wave li {
	font-size: 8rem;
	color:  #ca5252;
	text-shadow:
		#fff 0.006em 0.006em 0.007em,
		#9c9c9c 1px 1px 1px,
		#9c9c9c 1px 2px 1px,
		#9c9c9c 1px 3px 1px,
		#9c9c9c 1px 4px 1px,
		#9c9c9c 1px 5px 1px,
		#9c9c9c 1px 6px 1px,
		#9c9c9c 1px 7px 1px,
		#9c9c9c 1px 8px 1px,
		#9c9c9c 1px 9px 1px,
		#9c9c9c 1px 10px 1px,
		#9c9c9c 1px 11px 1px,
		#9c9c9c 1px 12px 1px,
		rgba(16, 16, 16, 0.4) 1px 18px 6px,
		rgba(16, 16, 16, 0.4) 1px 22px 10px,
		rgba(16, 16, 16, 0.4) 1px 26px 35px,
		rgba(16, 16, 16, 0.4) 1px 30px 66px,
		rgba(16, 16, 16, 0.4) -0.5em -0.1em 100px,
		#fff -0.5em -0.1em 100px;
	animation:  wave 1s infinite ease-in-out;
	animation-delay: calc(.1s * var(--i));
}
@keyframes wave {
	0%, 100% {
		margin-top: 0;
		text-shadow:
			#fff 0.006em 0.006em 0.007em,
			#9c9c9c 1px 1px 1px,
			#9c9c9c 1px 2px 1px,
			#9c9c9c 1px 3px 1px,
			#9c9c9c 1px 4px 1px,
			#9c9c9c 1px 5px 1px,
			#9c9c9c 1px 6px 1px,
			#9c9c9c 1px 7px 1px,
			#9c9c9c 1px 8px 1px,
			#9c9c9c 1px 9px 1px,
			#9c9c9c 1px 10px 1px,
			#9c9c9c 1px 11px 1px,
			#9c9c9c 1px 12px 1px,
			rgba(16, 16, 16, 0.4) 1px 18px 6px,
			rgba(16, 16, 16, 0.4) 1px 22px 10px,
			rgba(16, 16, 16, 0.4) 1px 26px 35px,
			rgba(16, 16, 16, 0.4) 1px 30px 66px,
			rgba(16, 16, 16, 0.4) -0.5em -0.1em 100px,
			#fff -0.5em -0.1em 100px;
	}
	50% {
		margin-top: -20px;
		text-shadow:
			#fff 0.006em 0.006em 0.007em,
			#9c9c9c 1px 1px 1px,
			#9c9c9c 1px 2px 1px,
			#9c9c9c 1px 3px 1px,
			#9c9c9c 1px 4px 1px,
			#9c9c9c 1px 5px 1px,
			#9c9c9c 1px 6px 1px,
			#9c9c9c 1px 7px 1px,
			#9c9c9c 1px 8px 1px,
			#9c9c9c 1px 9px 1px,
			#9c9c9c 1px 10px 1px,
			#9c9c9c 1px 11px 1px,
			#9c9c9c 1px 12px 1px,
			rgba(16, 16, 16, 0.4) 1px 38px 6px,
			rgba(16, 16, 16, 0.4) 1px 42px 30px,
			rgba(16, 16, 16, 0.4) 1px 46px 65px,
			rgba(16, 16, 16, 0.4) 1px 50px 95px,
			rgba(16, 16, 16, 0.4) -0.5em -0.1em 100px,
			#fff -0.5em -0.1em 100px;
	}
}
section#TranslatorSection {
	text-align: center;
}
section#TranslatorSection > * {
	border: 2px solid black;
	border-radius: 30px;
}
section#TranslatorSection #MicList {
	width: unset;
	margin-left: 10px;
}
section#TranslatorSection > #VideoElement {
	border-radius: 0;
}
#TranslatorSection > #OutputTitle {
	border: 0px solid black;
	max-width: 90%;
	width: 1200px;
	margin: 10px auto;
}
#TranslatorSection > #TextOutput {
	min-height: 500px;
	max-width: 90%;
	width: 1200px;
	margin: 10px auto;
}
footer {
	text-align: center;
	padding: 20px 0;
	background-color: black;
}
footer a {
	color: white;
}
footer a:hover {
	color: #ca5252;
}

#Controls {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px;
	margin-bottom: 15px;
	border: 10px double black !important;
}
#Controls > * {
	border: 2px solid black;
	border-radius: 30px;
}
#AudioInputSpan {
	border-width: 0px !important;
}
.slider {
	--chkbox-size: 15px;		/* original: 20px */
	--dark-color: #212529;		/* original: 121212 */
	--gray-color: #ca5252;		/* original: 303030 */
	--shadow-color: #fb1f1f;	/* original: 1f50fb */
	--slider-shadow: #fb1f1f88;	/* original: 0f61ee88 */
	--slider-shadow-top: #fb1f1f33;	/* original: #2b78eb33 */
	position: relative;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: calc(var(--chkbox-size) * 10);
	height: calc(var(--chkbox-size) * 5);
	display: flex;
	align-items: center;
	justify-content: center;
}
.slider > input {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
.slider > input:checked ~ label:before {
	right: calc(var(--chkbox-size) * -2);
	border-right: 1px solid var(--slider-shadow);
	border-top: 1px solid var(--slider-shadow-top);
}
.slider > input:checked ~ label:after {
	background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 10%, var(--shadow-color) 35%, var(--dark-color) 70%);
}
.slider > label {
	cursor: pointer;
	width: calc(var(--chkbox-size) * 4);
	height: calc(var(--chkbox-size) * 2);
	border-radius: calc(var(--chkbox-size) * 2);
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
	border-bottom: 1px solid var(--gray-color);
	background: var(--dark-color);
}
.slider > label:hover::before {
	background: #424649;
}
.slider > label:before + .slider > span:hover {
	background: #424649;
}
.slider > label:before {
	content: "";
	position: absolute;
	margin: auto;
	top: 0;
	right: calc(var(--chkbox-size) * 2);
	bottom: 0;
	left: 0;
	width: calc(var(--chkbox-size) * 2);
	height: calc(var(--chkbox-size) * 2);
	background: #181818;
	border-radius: calc(var(--chkbox-size) * 2.5);
	transition: all 0.1s linear;
	border-top: 1px solid var(--gray-color);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}
.slider > label > span {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0rem;
}
.slider > label:after {
	content: "";
	position: absolute;
	margin: auto;
	top: 0;
	right: calc(var(--chkbox-size) * -6);
	bottom: 0;
	left: 0;
	width: var(--chkbox-size);
	height: var(--chkbox-size);
	background: var(--dark-color);
	transition: all 0.2s linear;
	border-bottom: 1px solid var(--gray-color);
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
}
