body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6cb357;
  color: white;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
}

header div {
	display: flex;
	font-size: 5rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  margin-left: 7px;
}

header img {
	height: 40px;
}

header button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #6cb357;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

header button:hover {
  background-color: #e6e6e6;
}

#authButtons, #userMenu {
  display: flex;
  align-items: center;
  gap: 10px;
}

#usernameDisplay {
  font-size: 1rem;
  font-weight: bold;
  margin-right: 5px;
}

.container {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  
}

form input, form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  margin-bottom: 0;
}

form label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

form button {
  padding: 10px 20px;
  border: none;
  background-color: #6cb357;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

form button:hover {
  background-color: #45a049;
}

.post {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #fafafa;
}

.post h3 {
  margin: 0 0 5px 0;
}

.post img {
  max-width: 100%;
  display: block;
  margin-top: 10px;
}

.vote-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.vote-buttons button {
  padding: 5px 10px;
  cursor: pointer;
}

.privacy-toggle-btn {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.privacy-toggle-btn:hover {
  background-color: #e0e0e0;
}

.private-indicator {
  font-size: 0.8rem;
  color: #888;
  margin-left: 10px;
  font-weight: normal;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
