
body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  background: #e8ece8;
  color: #3a4a52;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

header {
  background: linear-gradient(to right, #3d8659, #5a9f6e);
  color: white;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 6px rgba(61, 134, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.6px;
}

nav {
  background: #2e5c40;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
  margin: 0 1.5rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #2d6a4f;
  border-bottom: 2px solid #3d8659;
  padding-bottom: 2px;
}

main {
  max-width: 950px;
  margin: 3rem auto;
  padding: 0 2rem;
}

h3 {
  color: #2d6a4f;
  font-weight: 600;
  font-size: 1.3rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2d6a4f;
}

section {
  background: #f8faf8;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(61, 134, 89, 0.06);
  border-left: 5px solid #5a9f6e;
}

p {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: #34495e;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(82, 183, 136, 0.08);
}

th {
  background: #3d8659;
  color: white;
  padding: 1.2rem;
  text-align: left;
  font-weight: 500;
}

td {
  padding: 1.2rem;
  border-bottom: 1px solid #e8f5e9;
  font-size: 1.1rem;
}

tr:nth-child(even) {
  background: #f9fdfb;
}

tr:hover {
  background: #f0f8f5;
}

button, .btn {
  background: #3d8659;
  color: white;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}

button:hover, .btn:hover {
  background: #2d6a4f;
  box-shadow: 0 4px 12px #3d865940;
  transform: translateY(-2px);
}

.center {
  text-align: center;
}
h4 {
  color: #2d6a4f;
  font-weight: 600;
  font-size: 1.25rem;
}
h5 {
  color: #000000;
  font-weight: 500;
  font-size: 1rem;
}

header img {
  display: block;
  width: 40px;
  height: 40px;
}

dt {
  font-weight: 600;
  color: #2d6a4f;
  margin-top: 0.75rem;
}

dd {
  margin: 0 0 1rem 0;
  color: #34495e;
}

blockquote.note {
  background: rgba(45,106,79,0.06);
  padding: 0.8rem 1rem;
  border-left: 4px solid #5a9f6e;
  border-radius: 6px;
  margin: 1rem 0;
}



 form {
    width: 100%;
    margin: auto;
    max-width: 600px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: .25rem;
}

 input {
    flex-grow: 1;
    max-width: calc(80% - .25rem);
}

.chat button {
    width: 20%;
}

.chat input,
.chat button {
    border-radius: 10px;
    padding: .5rem;
}

.chat-display {
    background-color: #2d6a4f;
    list-style-type: none;
    width: 80%;
    border-radius: 10px;
    margin: 1rem auto;
    padding: 10px;
    display: flex;
    flex-flow: column;
    justify-content: left;
    overflow: auto;
    flex-grow: 1;
    height: 500px;
}

.post {
    background-color: #e1ffea;
    border-radius: 10px;
    padding: 0 0 .25rem;
    margin: .5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.post--left {
    width: 60%;
    align-self: flex-start;
}

.post--right {
    width: 60%;
    align-self: flex-end;
}

.post__header {
    color: #111;
    padding: .25rem .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

.post__header--user {
    background-color: rgb(146, 146, 250);
}

.post__header--reply {
    background-color: rgb(255, 143, 255);
}

.post__header--name {
    font-weight: bold;
}

.post__header--time {
    font-size: .8rem;
}

.post__text {
    margin-top: 5px;
    color: #333;
    padding: .25rem .5rem;
}

.user-list,
.room-list,
.activity {
    width: 100%;
    min-height: 2.65rem;
    margin: 0 auto;
    max-width: 600px;
    padding: .75rem .25rem;
}

.activity {
    font-style: italic;
}