/*
pallet
#172621
#2A4038
#3B593F
#4D734C
#ODODOD
*/

:root {
  --text-color: #dadbd6;
  --bg-color: #0D0D0D;
  --secondary-text: #aaa;
  --link-color: #4d9eff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

body.light-mode {
  --text-color: #222;
  --bg-color: #fff;
  --secondary-text: #555;
  --link-color: #0055aa;
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4D734C;
}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #666;
}

.posts {
  display: flex;
  flex-direction: column;
  /* gap: 2rem; */
}

.post {
  /* padding-bottom: 2rem; */
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.post time {
  flex-shrink: 0;
  width: 100px; /* Adjust as needed */
  text-align: right;
}

.post h2 {
  flex-grow: 1;
  margin-bottom: 0;
}

/* Blog Post Styling */
.post time {
  font-family: 'Georgia', serif;
  font-size: 0.9em;
  color: var(--secondary-text);
  display: block;
  margin-bottom: 0;
}

.post h2 {
  font-size: 1.5em;
  margin-bottom: 0;
}

.post h2 a {
  color: var(--text-color-medium);
  text-decoration: none;
}

.post h2 a:hover {
  text-decoration: underline;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.8;
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-links li {
  margin-bottom: 0.5rem;
}

.social-links a {
  text-decoration: none;
  color: var(--link-color);
}

.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}