html,
body {
  height: 100%;
  /* background: #f9f9f9; clean light gray */
  background-color: #f4f4f4; /* or try #f4f4f4 */
}

body {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

header,
footer {
  flex: 0 0 auto;
}

main {
  text-align: center;
  padding: 5vmin;
  flex: 1 0 auto;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
  margin-top: 30px;
}

p {
  color: #444;
  text-align: justify;
}

.tagline {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
  margin-top: -2px;
  margin-bottom: 30px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.profile {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 50%;
}

form {
  margin-top: 50px;
}

.feedback-input {
  color: #222;
  font-weight: 500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid #3586ff;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.feedback-input:focus {
  border: 2px solid #3586ff;
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

.post-card {
  background-color: #fdfdfd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s ease-in-out;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

[type="submit"] {
  width: 100%;
  background: #3586ff;
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.3s;
  margin-top: -4px;
  font-weight: 700;
}

[type="submit"]:hover {
  background: #3586ff;
}

.btn-primary {
  background-color: #3586ff;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background-color: #2c6ff2; /* vivid and distinct */
}

p a[href^="/posts/"]:hover {
  color: #333;
  transition: color 0.1s ease-in-out;
}

.thank-you-message {
  color: grey;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 20px;
  padding: 10px;
}