body {
	margin: 0;
	height: 100vh;
}
#vids {
	height: 77vh;
	max-width: 100vw;
	position: relative;
	display: flex;
	justify-content: space-evenly;
	background-color: black;
}
video {
	max-width: 100vw;
}
#all {
}
#source {
	position: relative;
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto;
}
#buttons {
	display: flex;
	justify-content: center;
	z-index: 1023;
	position: relative;
	background-color: white;
	min-height: 23vh;
}
.mains {
	text-align: center;
	margin: 3px;
	width: 100%;
	overflow-y: scroll;
}
.mains::-webkit-scrollbar {
	display: none;
}
.tile {
	text-align: center;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	border: 5px solid #EBEBEB;
	padding: 5px;
	cursor: pointer;
}
.tile.create {
	background-color: Gainsboro;
}
.tile.active {
	border: 5px solid green;
}
#source_select {
	top: 5%; right: 55%; position: absolute; z-index: 4; margin: 0;
}
#comment_select {
	top: 5%; left: 55%; position: absolute; z-index: 4; margin: 0;
}
#fullscreen {
	height: 26px;
	width: 26px;
	bottom: 1vw;
	right: 1vw;
	position: absolute;
	z-index: 4;
	margin: 0;
	filter: invert(1);
	cursor: pointer;
}
#theater {
	height: 26px;
	width: 26px;
	bottom: 1vw;
	right: 4vw;
	position: absolute;
	z-index: 4;
	margin: 0;
	filter: invert(1);
	cursor: pointer;
}
#hide_commentary {
	height: 26px;
	width: 26px;
	bottom: 1vw;
	right: 7vw;
	position: absolute;
	z-index: 4;
	margin: 0;
	cursor: pointer;
}
#account {
	height: 26px;
	width: 26px;
	top: 1vw;
	right: 1vw;
	position: absolute;
	z-index: 4;
	margin: 0;
	filter: invert(1);
}
.mute {
	height: 26px;
	width: 26px;
	filter: invert(1);
	z-index: 4;
	cursor: pointer;
}
.volume_container {
	display: flex;
	align-items: center;
	justify-content: center;
	bottom: 1vw;
	position: absolute;
	z-index: 4;
	margin: 0;
	transition: opacity 0.8s linear;
}
.volume_slider {
	cursor: pointer;
}
#main.volume_container {
	left: 1vw;
}
#secondary.volume_container {
	left: 76vw;
}
#secondary_volume {
	width: 6vw;
}
label {
	background-color: white;
	padding: 3px;
	border-radius: 3px;
	width: 15%;
	float: left;
	text-align: left;
	padding-right: 12px;
}
label.big {
	width: auto;
}
#inner_buttons {
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 254;
	transition: opacity 0.8s linear;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	pointer-events: none;
}
#vid_gradient {
	height: 100%;
	width: 100%;
	background: linear-gradient(#000000D0, #00000000 20%, #00000000, #00000000 80%, #000000D0);
	position: absolute;
	z-index: 13;
	transition: opacity 0.8s linear;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	pointer-events: none;
}
#inner_buttons > * {
	pointer-events: all;
	z-index: 255;
}
#main_volume {
	z-index: 4;
}
input[type=range] {
	background-color: grey;
	width: 10vw;
	height: 15px;
	border-radius: 5px;
	accent-color: white;
	margin-left: 8px;
	margin-right: 8px;
}
input[type=range]::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	border-radius: 50%;
}
input[type=submit] {
	right: 52px;
	position: absolute;
}
input[type=text] {
	width: 80%;
	height: 18.75px;
	padding: 2px;
	border-width: 1px;
}
select {
	width: 80%;
	height: 24px;
	padding: 2px;
	border-width: 1px;
}
#comment {
	right: 0px;
	bottom: 0px;
	width: 25%;
	position: absolute;
	transition: bottom 0.35s linear, top 0.35s linear;
	z-index: 252;
	touch-action: manipulation;
	user-drag: none;
	-webkit-user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
#comment.peek_over {
	bottom: 62px;
	top: auto;
}
#comment.peek_over.top {
	top: 0px;
	bottom: auto;
}
#comment.left {
	left: 0px;
	right: auto;
}
#comment.top {
	top: 0px;
	bottom: auto;
}
.brb {
  appearance: none;
  background-color: #4F4A85;
  border: 2px solid #4F4A85;
  border-radius: 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: "Trebuchet MS";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 24px;
  min-width: 0;
  outline: none;
  padding: 6px 12px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px;
}
.brb:disabled {
  pointer-events: none;
}

.brb:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.brb:active {
  box-shadow: none;
  transform: translateY(0);
}
#comment_section_wrap {
	position: absolute;
	left: 0;
	right: auto;
	top: 0;
	z-index: 250;
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
	background-color: #00000080;
	height: 100%;
}
#comment_section {
	padding-bottom: 16px;
	transition: padding-bottom 0.35s linear;
}
#comment_section.peek_over {
	padding-bottom: 60px;
}
#comment_section.peek_over.on_full {
	padding-bottom: 80px;
}
#comment_section.right {
	left: auto;
	right: 0;
}
#comment_section > p {
	color: white;
	z-index: 9;
	margin: 0.2em 0.7em;
	width: 150px;
	z-index: 251;
	word-wrap: break-word;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
#chat-input {
	margin-left: 1em;
	outline: none;
}
#chat-toggle {
	width: 26px;
	height: 26px;
	filter: invert(1);
	margin-left: 1em;
	cursor: pointer;
}
#donation {
	width: 26px;
	height: 26px;
	filter: invert(1);
	margin-left: 1em;
	cursor: pointer;
}
a {
	text-decoration: none;
	color: black;
}
#main-logo {
	position: absolute;
	width: 10%;
	left: 0;
	top: 0;
	z-index: 800;
	display: none;
}
#legal {
	height: 40px;
	position: absolute;
	bottom: 0;
	z-index: 1024;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	pointer-events: none;
	gap: 20px;
}
#legal > a {
	text-decoration: underline;
	color: black;
	pointer-events: auto;
}
