body {
	background: #25262b;
	color: #c1c2c5;
	font-family: "Kanit", serif;
	font-weight: 200;
	font-style: normal;
}

#TBAR {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background-color: #373a40;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: solid 2px #373a40;
	user-select: none;
}


#footer {
	color: #c1c2c5;
	text-align: center;
	padding: 10px 0;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

#buttonbar {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: #373a40;
	width: 7%;
	height: 100%;
	left: 0;
	top: 0;
}

#b1,
#b2,
#b3,
#b4,
#b5,
#b10 {
	text-align: center;
	height: 2rem;
	margin: 0.5rem;
	color: #c1c2c5;
	background: #25262b;
	border: solid 2px #25262b;
	border-radius: 0.625rem;
}

#b1:hover,
#b2:hover,
#b3:hover,
#b4:hover,
#b5:hover,
#b10:hover {
	background: #14151a;
	border: solid 2px rgb(27, 28, 33);
}

#b1:active,
#b2:active,
#b3:active,
#b4:active,
#b5:active,
#b10:active {
	background: #36373c;
	border: solid 2px rgb(47, 48, 53);
}

#b1 {
	margin-top: 4rem;
}

#b10 {
	margin-top: auto;
}

#b5a {
	border: solid 2px rgba(47, 48, 53);
	border-radius: 0.625rem;
	color: #c1c2c5;
	background: #373a40;
	font-size: 1.25rem;
	top: 50%;
	position: absolute;
	width: 8%;
	height: 4%;
	left: 50%;
	transform: translateX(-50%);
}

#b5a:hover {
	background: #262930;
}

#b5a:active {
	background: #484b51;
}

@media (max-width: 1862px) {
	#RTEXT {
		width: 80%;
		font-size: 1rem;
		left: 10%;
		right: 10%;
	}

	#buttonbar {
		width: 5%;
	}

	#b1,
	#b2,
	#b3,
	#b4,
	#b5,
	#b10 {
		height: 1.5rem;
		font-size: 0.875rem;
	}

	#b5a {
		font-size: 1rem;
		width: 10%;
	}

	/* Adjust Button Text for Small Screens */
	#b1 span,
	#b2 span,
	#b3 span,
	#b4 span,
	#b5 span,
	#b10 span {
		display: none;
	}

	#b1::after {
		content: "Affirm";
	}

	#b2::after {
		content: "Long";
	}

	#b3::after {
		content: "Morning";
	}

	#b4::after {
		content: "Night";
	}

	#b5::after {
		content: "New";
	}

	#b10::after {
		content: "Why";
	}
}


/* Hide Original Text and Replace with Short Text for Small Screens */
@media (max-width: 1500px) {
	#RTEXT {
		width: 80%;
		font-size: 1rem;
		left: 10%;
		right: 10%;
	}

	#buttonbar {
		width: 15%;
	}

	#b1,
	#b2,
	#b3,
	#b4,
	#b5,
	#b10 {
		height: 2.5rem;
		font-size: 0.875rem;
	}

	#b5a {
		font-size: 1rem;
		width: 60%;
	}

	/* Adjust Button Text for Small Screens */
	#b1 span,
	#b2 span,
	#b3 span,
	#b4 span,
	#b5 span,
	#b10 span {
		display: none;
	}

	#b1::after {
		content: "Affirm";
	}

	#b2::after {
		content: "Long";
	}

	#b3::after {
		content: "Morning";
	}

	#b4::after {
		content: "Night";
	}

	#b5::after {
		content: "New";
	}

	#b10::after {
		content: "Why";
	}
}

@media (max-width: 549px) {
	#RTEXT {
		width: 55%;
		font-size: 1rem;
		left: 25%;
		right: 15%;
	}

	#footer {
		z-index: -1;
		width: 70%;
		font-size: .8rem;
		left: 70%;
		transform: translateX(-70%);
	}

	#buttonbar {
		width: 15%;
		z-index: 2;
	}

	#b1,
	#b2,
	#b3,
	#b4,
	#b5,
	#b10 {
		height: 2.5rem;
		font-size: 0.875rem;
		z-index: 2;
	}

	#b5a {
		font-size: 1rem;
		width: 60%;
	}

	/* Adjust Button Text for Small Screens */
	#b1 span,
	#b2 span,
	#b3 span,
	#b4 span,
	#b5 span,
	#b10 span {
		display: none;
	}

	#b1::after {
		content: "A";
	}

	#b2::after {
		content: "L";
	}

	#b3::after {
		content: "M";
	}

	#b4::after {
		content: "N";
	}

	#b5::after {
		content: "New";
	}

	#b10::after {
		content: "Why";
	}
}

body,
html {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #25262b;
	height: 100%;
}

#particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	/* Ensure it stays behind other elements */
}

#TBAR {
	position: relative;
	/* Ensure it's above the particles */
	z-index: 1;
	/* Set a higher z-index */
}

/* Add other styles here */


#navbar {
	z-index: 1;
	left: 0%;
	position: absolute;
	width: 6.66%;
	height: 100%;
	background: #373a40;
}

a {
	display: flex;
	color: white;
	text-decoration: none;
	justify-content: center;
	background: #25262b;
	margin: 4px;
	border-radius: 20px;
}

#mb {
	position: absolute;
	left: 9%;
	top: 10%;
	/*! width: 83%; */
	/*! height: 82%; */
	background: #373a40;
	bottom: 0%;
	right: 2%;
}

#videoPlayer {
	position: relative;
	left: 54%;
	transform: translateX(-50%);
	top: 0%;
	height: 84%;
	width: 74%;
}


/* Hamburger */

#checkbox {
	display: none;
}

.toggle {
	position: absolute;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition-duration: .5s;
	left: 1.7%;
}

.bars {
	width: 100%;
	height: 4px;
	background-color: #c1c2c5;
	border-radius: 4px;
}

#bar2 {
	transition-duration: .8s;
}

#bar1,
#bar3 {
	width: 100%;
}

#checkbox:checked+.toggle .bars {
	position: absolute;
	transition-duration: .5s;
}

#checkbox:checked+.toggle #bar2 {
	transform: scaleX(0);
	transition-duration: .5s;
}

#checkbox:checked+.toggle #bar1 {
	width: 100%;
	transform: rotate(45deg);
	transition-duration: .5s;
}

#checkbox:checked+.toggle #bar3 {
	width: 100%;
	transform: rotate(-45deg);
	transition-duration: .5s;
}

#checkbox:checked+.toggle {
	transition-duration: .5s;
	transform: rotate(180deg);
}

/* Navbar Smoothing */
#navbar {
	width: 0%;

	text-align: center;
	position: absolute;
	transition: width 0.5s ease;
	/* Add transition for width */
	overflow: hidden;
	/* Hide overflow during the transition */
	white-space: nowrap;
	/* Prevent text from wrapping */
}

#navbar a {
	display: block;
	text-align: center;
	text-decoration: none;
}

#navbar a:hover {
	background-color: #ddd;
	color: black;
}

/* Chat */
#chatbox{
	background: #373a40;
	width: 100%;
	height: 90%;
	overflow: auto;
}
#chatinput{ 
	position: absolute;
	bottom: 0%;
	color: #bbbbbb;
	background: #373a40;
	border: none;
	text-align: center;
} 
#chatmodule{
	height: 50%;
	width: 98%;
	position: absolute;
	bottom: 8%;
	background: #25262b; 
}  
#sendchat{
	position: absolute;
	z-index: 30;
	transform: translateX(4%);
	width: 25%;
	background: #373a40;
	border: solid 2px #25262b;
	color: #bbbbbb;
	border-radius: 16rem;
	text-align: center;
	bottom: 0%;
	left: 75%;
}
#userinput{
	background: #373a40;
	color: #c1c2c5;
	text-align: center;
	position: relative;
	top: 19%;
	width: 96%;
	border: none;
}