.light {
  --primary-color: #ffffff;
  --background-color: linear-gradient(to right, #ffffff, #ffffff);
  --text-color: #000000;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --hover-color: #747bff;
  --title-color: #213547;
  /* Add any additional light mode styles here */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s linear;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background: var(--background-color);
  font-family: "Fira Code", monospace;
  color: var(--text-color);
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

.blog-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  padding-top: 270px;
}

.blog-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--title-color);
  text-shadow: 0 0 5px var(--hover-color);
}

.blog-posts {
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-post {
  background: var(--primary-color);
  width: 100%;
  padding: 2em;
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em var(--shadow-color);
  border: 1px solid rgba(0, 245, 255, 0.2);
  transition: transform 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-post:hover {
  /* transform: scale(1.05); */
  box-shadow: 0 5px 15px var(--shadow-color);
}

.post-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.post-content {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
  text-shadow: 0 0 5px var(--shadow-color);
}

.post-meta {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #bbb;
  margin-bottom: 15px;
}

.post-meta > *:not(:last-child) {
  margin-right: 10px;
}

@media screen and (max-width: 1024px) {
  .blog-header {
    font-size: 2rem;
  }

  .blog-posts {
    gap: 20px;
  }

  .blog-post {
    padding: 1.5em;
  }

  .post-title {
    font-size: 1rem;
  }

  .post-content {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 768px) {
  .blog-container {
    padding: 10px;
    padding-top: 200px;
  }

  .blog-header {
    font-size: 1.75rem;
  }

  .blog-posts {
    gap: 15px;
  }

  .blog-post {
    padding: 1em;
  }

  .post-title {
    font-size: 0.875rem;
  }

  .post-content {
    font-size: 0.75rem;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  padding-top: 8px;
}

.pagination button:hover {
  background-color: var(--hover-color);
}

.pagination button.active {
  background-color: var(--hover-color); /* Active button color */
  color: var(--primary-color); /* Active button text color */
}
