html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: #dddddd;
  border-width: 0px 5px 5px 5px;
  border-style: solid;
  border-color: #9a9a9a;
  box-sizing: border-box;
  font-family: "Tahoma", sans-serif;
}

/* Title Bar */
.title-bar {
  background: #000080;
  color: white;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
.title-bar button {
  background: red;
  color: white;
  border: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.topborder {
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  background: #9a9a9a;
  box-sizing: border-box;
}

.searchbar {
  width: 50%;
  padding: 5px;
  border: 2px inset #bbbbbb;
  background: white;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
}

.searchbar-container {
  background: #9a9a9a;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Forum Box Styles */
.main-content {
  padding: 15px;
}

.forum-box {
  background: white;
  border: 2px inset #bbbbbb;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
}

.forum-header {
  background: #9a9a9a;
  padding: 5px 8px;
  font-weight: bold;
  border-bottom: 1px solid black;
}

.forum-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.forum-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid #dddddd;
}

.forum-list li:last-child {
  border-bottom: none;
}

.post-title {
  display: flex;
  flex-direction: column;
}

.post-title a {
  font-weight: bold;
  color: #000080; /* Same blue as title bar */
  text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-title span {
  font-size: 12px;
  color: #555555;
  padding-top: 3px;
}

.post-date {
  font-size: 12px;
  color: #333333;
  white-space: nowrap;
  padding-left: 10px;
}