* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #435165;
	margin: 0;
}
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}
.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 1000px;
	margin: 0 auto;
}
.content h2 {
	margin: 0;
	padding: 5px 0;
	font-size: 20px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 5px 0;
	padding: 5px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}

.register {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.register h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.register form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.register form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
 	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.register form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
  	margin-top: 20px;
  	background-color: #3274d6;
 	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.register form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}
.register form input[type="button"] {
  	width: 100%;
  	padding: 15px;
  	margin-top: 20px;
  	background-color: #3274d6;
 	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.register form input[type="button"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

#progressBar{
	display: none;

}
.navtop div a {
    font-size: 1.3em;
}
.greeting{
	font-size: 2.5em !important;
}
#toggleButton {
  background-color: black; /* Sets the background to black */
  color: white; /* Ensures text is visible against the dark background */
  border: none; /* Removes the default button border */
  padding: 10px 30px; /* Adjust padding to control the button's "thinness" (vertical padding) and width (horizontal padding) */
  width: 80%; /* Sets the width to 80% of its containing element (adjust as needed) */
  text-align: center; /* Centers the text horizontally */
  font-size: 16px; /* Adjust font size for readability */
  cursor: pointer; /* Indicates the element is clickable */
  /* Optional: Add a subtle border-radius for slightly rounded corners */
  border-radius: 5px; /* Adjust the value for desired roundness */
}
.logo{

	background-color: #000;
	padding: 5px 25px;
}
/* Add these styles to your style.css or within <style> tags in your home.php */

/* Styles for the chatbox container */
#chatbox {
    border: 1px solid #ccc; /* Add a border */
    padding: 10px; /* Add some spacing inside the box */
    height: 300px; /* Set a fixed height */
    overflow-y: scroll; /* Add a vertical scrollbar if content exceeds the height */
    margin-bottom: 10px; /* Add some space below the chatbox */
}

/* Styles for the online users list container */
#online-users {
    border: 1px solid #ccc; /* Add a border */
    padding: 10px; /* Add some spacing inside the box */
    height: 150px; /* Set a fixed height */
    overflow-y: scroll; /* Add a vertical scrollbar if content exceeds the height */
}

/* Styles for the message form (input and button) */
#message-form {
    display: flex; /* Arrange input and button side by side */
    margin-bottom: 10px; /* Add some space below the form */
}

/* Styles for the message input field */
#message-form input[type="text"] {
    flex-grow: 1; /* Make the input field take up the available space */
    padding: 8px; /* Add some spacing inside the input field */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 4px; /* Round the corners */
}

/* Styles for the send button */
#message-form button {
    padding: 8px 15px; /* Add padding to the button */
    background-color: #007bff; /* Set the background color (example: blue) */
    color: white; /* Set the text color to white */
    border: none; /* Remove the default border */
    border-radius: 4px; /* Round the corners */
    cursor: pointer; /* Change cursor to pointer on hover */
}

/* Hover effect for the send button */
#message-form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Styles for the individual chat messages (within chatbox) */
#chatbox p {
    margin-bottom: 5px; /* Add space between messages */
}

/* Styles for the online users list items */
#online-users ul {
    list-style-type: none; /* Remove default list bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margins */
}

#online-users li {
    padding: 5px 0; /* Add padding to each list item */
    border-bottom: 1px solid #eee; /* Add a thin border between users */
}
