body {
	background-color: black;
	margin: 0;
}

video {
	display: block;
	width: 100%;
	height: 100%;
}

#video-wrapper {
	z-index: 1;
	height: 100vh;
	width: 100vw;
}

#anime-theme-info {
	color: black;
	position: fixed;
	font-family: monospace;
	font-size: min(6vh, 3vw);
	-webkit-text-stroke: 1px white;
	top: 1vh;
	left: 5vw;
	z-index: 2;
}

#countdown-wrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

#countdown {
	font-family: monospace;
	font-size: min(20vh, 10vw);
	position: relative;
	color: white;
	z-index: 0;
}

#setup-wrapper {
	background-image: url("assets/background.png");
	background-repeat: repeat;
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 3;
}

#setup-modal {
	position: relative;
	height: 200px;
	width: 300px;
	background-color: transparent;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	border-radius: 20px;
	font-family: monospace;
}

#setup-modal {
	backdrop-filter: blur(4px);
}

#setup-button {
	width: 100%;
	height: 3ex;
	font-size: 24px;
	border: 0;
	color: white;
	border-radius: 0px 0px 18px 18px;
}

#setup-button.setup-button-not-ready {
	background-color: rgb(120, 0, 0);
}

#setup-button.setup-button-not-ready:hover {
	background-color: rgb(160, 0, 0);
	cursor: pointer;
}

#setup-button.setup-button-ready {
	background-color: rgb(0, 120, 0);
}

#room-id {
	font-size: 24px;
	text-align: center;
	width: 3.5em;
	/* Keep number width constant */
	font-feature-settings: "tnum";
	font-variant-numeric: tabular-nums;
}

#room-id-tag {
	font-weight: 900; 
	font-size: larger;
}

@keyframes fade-in-animation {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;	
	}
}

@keyframes fade-out-animation {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.fade-in {
	animation: fade-in-animation 0.3s linear forwards; 
}

.fade-out {
	animation: fade-out-animation 0.5s linear forwards;
}

.hidden-video-preload-wrapper {
	opacity: 0;
}

/* BEGIN: Material Icons */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}
/* END: Material Icons */