/* Define CSS variables for light mode */
:root {
  --primary-color: #ffffff;
  --secondary-color: #89cff0;
  --accent-color: #ffa500;
  --text-color: #000000;
}

/* Define CSS variables for dark mode */
[data-theme='dark'] {
  --primary-color: #000000;
  --secondary-color: #808080;
  --accent-color: #39ff14;
  --text-color: #ffffff;
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: var(--secondary-color);
}

li {
  margin-bottom: 10px;
}

.post-content img {
  max-width: 50%;
  height: auto;
}

/* New container to keep the post at a comfortable reading width */
.post-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Table styling to add borders */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.post-content th,
.post-content td {
  border: 1px solid #ccc;
  padding: 0.5em;
}

/* Responsive design */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .post-wrapper {
    padding: 0;
  }
}