/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Header styles */
header {
  background-color: blue;
  color: white;
  padding: 12px;
  position: fixed;
  top: 0;
  width: 100%;
}

.header-content {
  text-align: center;
}

header h1 {
  font-size: 24px;
}

/* Footer styles */
footer {
  background-color: blue;
  color: white;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

footer nav ul {
  list-style-type: none;
}

footer nav ul li {
  display: inline-block;
  margin: 0 10px;
}

footer nav ul li a {
  color: white;
  text-decoration: none;
}

footer nav ul li a:hover {
  text-decoration: underline;
}

footer p {
  margin-top: 5px;
}

footer p a {
  color: white;
  text-decoration: none;
}

footer p a:fixed {
  text-decoration: underline;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  margin-top: 50px; /* Adjust according to header height */
  min-height: calc(100vh - 40px - 40px); /* Full viewport height minus header and footer height */
}

.left-sidebar {
  width: 20%;
  min-width: 200px;
  padding: 20px;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  /* Allow the sidebar to expand and scroll if content overflows */
  overflow: auto;
}

/* Right Sidebar */
.right-sidebar {
  width: 15%;
  min-width: 150px;
  padding: 20px;
  background-color: #f1f1f1; /* Changed to match the left sidebar */
  display: flex;
  flex-direction: column;
}


.message-box {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
  flex: 0 1 auto;
}

.messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

#message-form {
  display: flex;
  margin-top: 10px;
}

#message-input {
  flex: 1;
  padding: 5px;
}

#message-form button {
  padding: 5px 10px;
}


/* Main Content */
main {
  flex: 1;
  padding: 20px;
  background-color: white;
  /* Add this to make main content stretch */
  display: flex;
  flex-direction: column;
}

/* Make sidebars and main content stretch equally */
.left-sidebar,
.right-sidebar,

main {
  /* Ensures the elements stretch to fill the content wrapper's height */
  height: auto;
}

/* Adjust body padding to prevent content under header */
body {
  padding-top: 0px; /* Adjust according to header height */
  /* Remove bottom padding if not needed */
}

body {
  font-family: Verdana, sans-serif;
  text-shadow: 2px 2px 4px #a9a9a9; /* Darker grey color */
}



