@font-face {
  font-family: "Corbel";
  src: url("../../corbel.otf");
  font-weight: normal;
}

@font-face {
	font-family: "Corbel";
	src: url("../../corbelbold.otf");
	font-weight: bold;
}

* {
  font-family: "Corbel";
	margin: 0px;
}

.livestreambadge{
	position: fixed;
    bottom: 20px;
    right: 20px;
	z-index: 10;
	background-color: white;
	border-radius: 50px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.livestreambadge {
  animation: pulseAnim 1.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pulseAnim {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

path.percent {
    animation: progress 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes progress {
	0% {
		stroke-dasharray: 0 100;
	}
}

.progress-container {
  width: 100%;
  height: 10px;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #8c0909;
  border-radius: 5px;
}

.controls {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	align-items: center;
	gap: 10px;
	width: 420px;
	max-width: 90%;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 10px;
}

.time {
	font-size: 14px;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	font-weight: bold;
	min-width: 50px;
	text-align: center;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes aparecer {
  from {
	opacity: 0;
	transform: scale(0.5);
  }
  to {
	opacity: 1;
	transform: scale(1);
  }
}

.image-transition {
  animation: aparecer 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.split {
	display: -webkit-box;
    display: -ms-flexbox;
	display:flex;
	flex-direction: row; 
    flex-wrap:nowrap;
    justify-content: center;
}

.left {
    position: relative;
	width: 100%;
}

.right {
    position: relative;
	width: 100%;
}

.left_streaming {
    position: relative;
	width: 700px;
}

.right_streaming {
	background-color: #FFF;
    position: relative;
	width: 100%;
	bottom: 0;
}

.commentsContainer {
	overflow-y: scroll;
	flex-direction: column-reverse;
}

.commentsContainer::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.commentsContainer::-webkit-scrollbar-track {
  background: transparent;
}

.commentsContainer::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.commentsContainer::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.streamingContainer {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  position:relative;
}

#streaming {
  width: 100%;
  height: 100%;
  max-width: 480px;
  object-fit: cover;
  background: #f5f5f5;
  z-index:0;
}

#videoloading {
  width: 100%;
  height: 100%;
  max-width: 480px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.streamingmessage{
	color: black;
}

.streamingname{
	font-weight: bold;
	color: #e2b700;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
	opacity: 1;
  }
}

.videoContainer{
	width: 100%;
	max-width: 800px;
	border-radius: 10px;
    background-color: #fff;
	margin-top: 10px;
	cursor: pointer;
	transition: all .2s;
}

.videoContainer:hover {
	background-color: #E6E6E6;
	transform: scale(1.05);
}

#mainview{
	width: 1000px;
	height: 700px;
	border-radius: 20px;
	overflow: hidden;
	display: none;
}

.commentContainer {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  background-color: white;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
}

.commentContainer textarea {
  flex: 1;
  margin: 0 10px;
  padding: 8px;
  font-size: 16px;
  background-color: #0000000a;
  border-radius: 10px;
  border: none;
}

.commentContainer button {
  padding: 0px 16px;
  font-size: 16px;
  cursor: pointer;
  background-color: #0000000a;
  border-radius: 10px;
  border: none;
  height: 30px;
}

.progress-container {
  width: 100%;
  height: 10px;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #8c0909;
  border-radius: 5px;
}

.controls {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	align-items: center;
	gap: 10px;
	width: 420px;
	max-width: 90%;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 10px;
}

.time {
	font-size: 14px;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	font-weight: bold;
	min-width: 50px;
	text-align: center;
}

.loading-spinner {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 4px solid #000;
	border-top-color: #33333300;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes aparecer {
  from {
	opacity: 0;
	transform: scale(0.5);
  }
  to {
	opacity: 1;
	transform: scale(1);
  }
}

.image-transition {
  animation: aparecer 0.2s ease-in;
}

.profileimg {
	border-radius: 50%;
	border: solid #00000000;
	border-width: 2px;
}

.profilepremium{
	border: solid #e2b700;
	border-width: 3px;
}

.profilepremiumtext{
	color: #e2b700;
}

.grecaptcha-badge {
  visibility: hidden;
}

.livestream-archive {
  padding: var(--_ui-styles---units--base--md-16);
  grid-column-gap: var(--_ui-styles---units--base--md-16);
  grid-row-gap: var(--_ui-styles---units--base--md-16);
  border-radius: var(--_ui-styles---units--container-corner);
  background-color: var(--color--base--white-90);
  grid-template-rows: auto;
  grid-template-columns: auto 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-decoration: none;
  transition: background-color .2s;
}

.livestream-archive:hover {
  background-color: var(--color--base--black-10);
}

.text-color-catab{
	color: var(--cats--a-b);
}

.text-color-cata{
	color: var(--cats--a);
}

.text-color-catb{
	color: var(--cats--b);
}

.text-color-catc{
	color: var(--cats--c);
}

.text-color-catd{
	color: var(--cats--d);
}

.background-color-catab{
	background-color: var(--cats--a-b);
}

.background-color-cata{
	background-color: var(--cats--a);
}

.background-color-catb{
	background-color: var(--cats--b);
}

.background-color-catc{
	background-color: var(--cats--c);
}

.background-color-catd{
	background-color: var(--cats--d);
}

.test-variants-catab:hover{
	background-color: var(--cats--a-b);
}

.test-variants-cata:hover{
	background-color: var(--cats--a);
}

.test-variants-catb:hover{
	background-color: var(--cats--b);
}

.test-variants-catc:hover{
	background-color: var(--cats--c);
}

.test-variants-catd:hover{
	background-color: var(--cats--d);
}

@media screen and (max-width: 1000px) {
	.split {justify-content: space-between; flex-wrap: wrap;}
	.left {order:2;}
	.right {order:1;}
	.left_streaming {order:2; width: auto;}
	.right_streaming {order:1; position: absolute; background-color: #00000000; z-index: 1; max-width: 480px; margin-top: 420px; overflow: hidden; width: 100%;}
	.streamingname{text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);}
	.streamingmessage{color: white; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);}
	.commentsContainer {max-height: 350px;}
	.commentContainer {border: none; background-color: #ffffff00;  padding: 0px; box-shadow: none;}
	.commentContainer textarea {background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
	.commentContainer textarea::placeholder {color: #000;}
	.commentContainer button {background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
	#streaming {border-radius: 20px; overflow: hidden;}
	#mainview{box-shadow: none; overflow: visible; position: relative; height: calc(100% - 200px); width: auto;}
}

@media screen and (max-width: 800px) {
	#mainview{box-shadow: none; overflow: visible; position: relative; height: calc(100% - 200px); width: auto;}
}