h1 {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}

input {
  height: 20px;
}

textarea {
  width: 750px;
  height: 250px;
}

.login-btn,
.publish-btn,
.create-btn {
  background-color: #228b22;
  border-radius: 4px;
  border: 0px;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
  height: 40px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

.login-btn:hover,
.publish-btn:hover,
.create-btn:hover {
  background-color: #006400;
}

.publish-btn {
  width: 110px;
}

.logout-btn,
.back-btn {
  background-color: #ff0000;
  border-radius: 4px;
  border: 0px;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
  height: 40px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

.logout-btn:hover,
.back-btn:hover {
  background-color: #880000;
}

.title {
  font-size: 24px;
}

.datetime {
  font-size: 12px;
}

.content,
.excerpt {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

.container {
  max-width: 900px; /* gewünschte Breite */
  margin: 0 auto; /* zentriert horizontal */
}

.login-btn-grid,
.logout-btn-grid {
  display: grid;
  grid-template-columns: auto;
}

.posts-grid {
  margin-top: 10px;
  display: grid;
  border-bottom: 1px solid #000;
}

.create-grid,
.view-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto;
}

.container-flex {
  display: flex;
  grid-template-columns: auto auto;
  gap: 5px;
}

.form-group {
  margin-bottom: 1rem; /* Abstand zwischen ganzen Formularfeldern */
}

.form-group label {
  display: block;
  margin-top: 0.5rem;
}
