/* Add background pattern and color to body */
body {
  background-image: url("./assets/typewriter_pattern_v7.png");
  background-repeat: repeat;
  background-color: beige; /* fallback color */
  background-position: top left;
  background-attachment: scroll;
}

/* Reset margin-padding and font on all elements, but remove background-color here */
* {
  font-family: "Special Elite", sans-serif;
  margin: 0;
  padding: 0;
  /* Removed background-color: beige; from here */
}

/* Rest of your CSS unchanged */

.top-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
}

.back-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
  transition: color 0.2s;
}

.back-link:hover {
  color: #333;
}

.main-wrapper {
  width: 65%;
  margin: 0 auto;
  padding-bottom: 100px;
  background-color: rgba(216, 184, 140, 0.7);
}

.blog-post {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.blog-post h2 {
  margin-bottom: 10px;
  color: #333;
}

.post-date {
  color: #888;
  font-size: 14px;
  margin-bottom: 15px;
  font-style: italic;
}

.blog-post p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px 0;
}

.nav-button {
  color: #666;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.2s;
}

.nav-button:hover {
  background-color: #f5f5f5;
  color: #333;
}

.navbar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  color: #888;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  /* background-color: rgba(245, 245, 220, 0.9); */
  background-color: rgba(220, 234, 245, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navitem {
  display: flex;
  align-items: center;
  transition: all 0.2s;
  border-radius: 100px;
  background: none;
  margin-bottom: 5px;
  padding: 10px;
}

.navitem:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.navitem svg {
  margin-right: 8px;
}

.navitem a {
  display: flex;
  align-items: center;
  width: 100%;
}

.navitem a svg {
  margin-right: 8px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .main-wrapper {
    width: 90%;
  }

  .blog-navigation {
    flex-direction: column;
    gap: 10px;
  }

  .navbar {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto;
    width: fit-content;
  }
}
