@import url(https://fonts.googleapis.com/css?family=Roboto:300);
@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700);

body {
	background-color: gray;
	font-family: "Roboto", sans-serif;
}

.container {
	max-width: 800px;
	margin: 0 auto;
}

header {
	text-align: center;
	font-size: 2rem;
}

.video-wrapper {
	margin-top: 20px;
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	/* 16:9 aspect ratio for responsive video */
}

video {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 10px;
	border: 2px solid black;
}

.subtitle-controls {
	margin-top: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.subtitle-controls label {
	font-size: 1rem;
	margin-bottom: 5px;
}

#subtitle-size {
	width: 80%;
	max-width: 300px;
}

::cue {
	font-family: "Noto Sans", sans-serif;
	font-size: 1.25em;
	background-color: rgba(0, 0, 0, 0.4);
	/*text-shadow: 1px 1px 2px black;*/
}
