* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-image: url(/img/insidenav.webp);
}

@font-face {
  font-family: "PressStart2P";
  src: url("/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

.blog-heading {
  width: 90vw;
  margin: 0 auto;
  background-color: aliceblue;
  text-align: center;
  font-size: 1.5rem;
  font-family: "PressStart2P";
  padding: 30px 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 5px solid #ffd44d;
}

.blog-heading > h1 {
  margin-bottom: 20px;
  color: #ffd44d;
}

.blog-heading > p {
  color: #fff;
}

.blogs-container {
  width: 90vw;
  margin: 0 auto;
  margin-top: 30px;
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

.blogs-title {
  width: 30%;
  height: fit-content;
  padding: 30px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 5px solid #ffd44d;
}

.blogs-title > h2 {
  text-align: center;
  font-family: "PressStart2P";
  color: #fff;
  font-size: 1.2rem;
}

.blogs-content {
  display: none; /* hide all blogs by default */
  flex: 1 1 100%;
}

.blogs-content:first-of-type {
  display: block; /* show only first blog when page loads */
}

.individual-blog:hover {
  transform: scale(1.05);
  transition: 0.5s ease;
}

.breakline {
  height: 5px;
  width: 100%;
  background-color: #ffd44d;
  margin-top: 5px;
}

.individual-blog {
  width: 100%;
  margin-top: 30px;
  background-color: #ffd44d;
  cursor: pointer;
  padding: 20px 5px;
  border-radius: 10px;
  transition: 0.5s ease;
}

.individual-blog > h2 {
  font-family: "PressStart2P";
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
}

.blogs-content {
  background-color: #ffd44d;
  width: 100%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 5px solid #ffd44d;
}

.blog-content-heading {
  font-size: 1.5rem;
  font-family: "PressStart2P";
  color: #ffd44d;
  text-transform: uppercase;
}

.blog-content-details {
  margin-top: 10px;
  color: #fff;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.blogs-content-img {
  height: 400px;
  width: 100%;
  margin-top: 20px;
}

.image-caption {
  font-size: 0.8rem;
  font-family: "PressStart2P";
  color: #fff;
  margin-top: 5px;
  margin-bottom: 30px;
}

.content {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: #fff;
}

.content > h2 {
  font-size: 2.5rem;
  color: #ffd44d;
}

.tags > a {
  color: #ffd44d;
  font-family: "PressStart2P";
  text-decoration: none;
}
.tags > a:hover {
  color: #fff;
  transition: 0.5s ease;
}

.share > span {
  color: #fff;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  transition: 0.5s ease;
}

.share > a {
  text-decoration: none;
  color: #ffd44d;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  transition: 0.5s ease;
}

.share > a:hover {
  color: #fff;
  transition: 0.5s ease;
}

#nav-options-container-blogs{
  padding: 30px 60px;
}

.individual-blog.active-blog {
  color: white !important; /* Make selected article link white */
  background: #333;        /* Optional: Add a dark background for contrast */
}


@media (max-width: 639px) {
  .blogs-container {
    flex-wrap: wrap;
  }

  .blog-heading {
    padding: 20px 10px;
  }

  .blog-heading > h1 {
    font-size: 0.8rem;
  }

  .blog-heading > p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .blogs-title {
    width: 100%;
  }

  .blogs-title > h2 {
    font-size: 1.1rem;
  }

  .individual-blog > h2 {
    font-size: 0.8rem;
  }

  .tags > a {
    font-size: 0.7rem;
    text-align: center;
  }

  .blogs-content-img {
    height: 200px;
  }

  .image-caption {
    font-size: 0.7rem;
  }

  .content > h2 {
    font-size: 1.5rem;
  }

  #nav-options-container-blogs{
  padding: 20px 30px;
}

}
