.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background-color: #7b8d42;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 999;
  box-sizing: border-box;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}


html, body {
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue", sans-serif;
    background: #cee4ae;
    color: #333;
    margin: 0;
    padding-top: 60px;
  }
  
  h1, h2 {
    color: #82ae46;
    margin: 20px;
  }
  
  a {
    text-decoration: none;
    color: #69821b;
  }

  p {
    margin: 16px;
  }

  .container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .post {
    background: #d6e9ca;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .timestamp {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
  }

  form {
    margin-top: 20px;
    background: #d6e9ca;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  input[type="text"],
  input[type="password"],
  textarea {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
  }
  
  .thread-card {
    background: #d6e9ca;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .thread-card h2 {
    margin: 0 0 5px;
    color: #82ae46;
  }
  
  .thread-card .timestamp {
    font-size: 0.8em;
    color: #888;
    text-align: right;
  }

  button {
    background-color: #b8d200;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    margin: 10px 0;
  }
  
  button:hover {
    background-color: #c5c56a;
  }
  
  ul {
    list-style: none;
    padding-left: 0;
  }
  
  li {
    margin: 10px 0;
  }
  
  .profile-box {
    background: #d6e9ca;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  .profile-box p {
    margin: 8px 0;
  }  

  .recent-posts li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }
  
  .recent-posts li:last-child {
    border-bottom: none;
  }
  
  .recent-posts a {
    color: #69821b;
    font-weight: bold;
  }
  

  @media (max-width: 600px) {
    .navbar {
      flex-direction: row;
      align-items: center;
      gap: 8px;
      padding: 10px;
      box-sizing: border-box;
    }
  
    .container {
      max-width: 100%;
      width: 100%;
      padding: 10px;
    }
  
    h1, h2 {
      font-size: 1.2em;
    }

    a {
      display: block;
    }
  
    button {
      width: 100%;
      font-size: 1rem;
    }
  
    input[type="text"],
    input[type="password"],
    textarea {
      width: 100%;
      font-size: 1rem;
    }
  
    .post,
    .thread-card {
      padding: 12px;
      font-size: 1rem;
    }
  
    .timestamp {
      font-size: 0.75rem;
    }
  }
  