@import url("https://fonts.googleapis.com/css2?family=Geist+Pixel&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/*

Here are some unrequired formating that won't be used. Though I kept it for reference.
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Geist Pixel";
}

.parent {
  width: 100%;
  height: 100vh;
  display: flex;
  background-color: rgb(4, 49, 88);
  justify-content: center;
  align-items: center;
}

form {
  display: flex;
  background-color: rgb(102, 96, blue);
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 50px;
  border-radius: 12%;
}

h1 {
  display: flex;
  text-decoration: none;
  color: chocolate;
  justify-content: center;
}

td {
  align-items: center;
  width: 60;
  padding: 10px;
}

button {
  padding: 7px;
  margin: 12px;
  display: flex;
  font-size: medium;
  justify-self: center;
} */

:root {
  --bg-color: #1d7429d2;
  --text-color: #e0e3e7;
  --card-bg: #46bb29a8;
  --accent-color: #0f4b28;
  --accent-hover: #7a110a;
  --border-color: #e2e8f09d;
}

/* I need to align these text so that the post have a better justified content inside it. It looks pretty rough right now. */
body {
  font-family: "Geist Pixel";
  font-size: large;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-bottom: 2rem;
  background: var(--card-bg);
}

.site-header h1 {
  margin: 0;
  font-size: 2rem;
}

.tagline {
  color: #06387a;
  margin: 0.25rem 0 0 0;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--accent-color);
  color: #a1be5b;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
}

#status-msg {
  font-size: 0.9rem;
  color: #c5cdda;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(189, 69, 69, 0.05);
}

.post-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #d7d9dd;
}

.post-meta {
  font-size: 0.85rem;
  color: #06387a;
  margin-bottom: 1rem;
}

.post-content {
  margin: 0;
}

/* I'm trying to make the site footer a better
just couldn't align items properly.
Working on: Footer alignment and text setup */

.site-footer {
  text-align: center;
  padding: 2rem 0;
  color: #023477;
  font-size: 0.9rem;
}

.site-details {
  padding: 0%;
  align-items: center;
  text-align: auto;
  justify-content: center;
  margin: 0%;
}

.site-details summary:hover {
  color: #7fc007;
  cursor: pointer;
}

li {
  margin: 0%;
  width: 0%;
  justify-content: center;
}
