:root {
  --primary-color: #e82e6f;
  --text-color: #fff;
  --background-color: #121212; 
  --dark-shadow: #0a0a0a;
  --light-shadow: #242424;
  --padding-top-desktop: 1.5rem;
  --padding-right-desktop: 2rem;
  --padding-bottom-desktop: 1.5rem;
  --padding-left-desktop: 2rem;
}

body {
  background-color: var(--background-color);
}


/* Navigation Bar */
nav {
  background-color: rgba(255, 255, 255, 0); 
  font-family: "Old Standard TT", serif;
  font-weight: 700;
  font-style: normal;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.nav-list {
  font-family: "Old Standard TT", serif;
  font-weight: 700;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin: 0.5rem;
}

.nav-list a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

.nav-list a:hover {
  text-decoration: underline;
  color: #fc3564;
}

/* Base styles */
body {
  font-family: sans-serif;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--background-color); /* Set background color for the entire page */
}

/* Main content - mobile first */
main {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center; /* Centers the blog-post section horizontally */
  align-items: flex-start; /* Ensures the content starts from the top */
  position: relative;
}

h1 {
  font-family: "Old Standard TT", serif;
  font-size: 3rem;
  margin: 1rem 0;
  color: var(--text-color);
}

h2 {
  font-family: "Old Standard TT", serif;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--text-color);
  padding-top: 2rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Style for page count subtitle */
.page-count {
  font-size: 0.8em;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  color: #777777;
  margin-top: 5px;
}

/* Blog posts section - ensures items are centered */
.blog-posts {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers blog posts */
  gap: 1rem; /* Adds space between blog posts */
  max-width: 1200px; /* Maximum width for content */
  width: 100%; /* Takes up full available width */
  margin-left: auto; /* Ensures it's pushed to the center */
  margin-right: auto; /* Ensures it's pushed to the center */
}

/* Blog post section - make sure content is aligned properly */
.blog-post {
  display: flex;
  justify-content: flex-start; /* Keeps image on the left and text on the right */
  align-items: flex-start; /* Aligns text and image at the top */
  gap: 1rem; /* Adds space between image and text */
  width: 100%;
  max-width: 100%; /* Ensures it takes up the full width */
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

/* Image container to maintain aspect ratio */
.image-container {
  max-width: 350px; /* Can be adjusted */
  width: 90%;
  height: auto;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  object-fit: cover; /* Ensures the image covers the container */
  border-radius: 5px; /* Adjust this value to control the roundness */

}

/* Content section */
.card-content {
  max-width: 100%; /* Ensures text doesn't overflow */
  text-align: left;
}

/* For smaller screens, stack image and text */
@media (max-width: 768px) {
  .blog-post {
    flex-direction: column; /* Stacks image and text */
    align-items: center; /* Centers the content on smaller screens */
  }

  .image-container {
    max-width: 90%; /* Ensures the image doesn't take up too much space on small screens */
  }

  .card-content {
    text-align: center; /* Center text when stacked */
  }
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .blog-posts {
    flex-direction: row; /* Change to row layout on desktop */
    gap: 2rem;
    align-items: flex-start;
  }

  /* Image styling */
  .image-container {
    width: 90%; /* Image takes up 40% of the width */
    height: auto;
    padding-bottom: 0;
  }

  /* Text styling */
  .card-content {
    width: 100%; /* Text takes up 60% of the width */
    padding: 3rem;
  }
}

.chrome-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  margin: 12px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(200, 220, 255, 0.17) 40%,
    rgba(120, 160, 220, 0.15) 100%);
  border: 1px solid rgba(180, 200, 230, 0.25);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -3px 8px rgba(0, 0, 0, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.chrome-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 80%);
  pointer-events: none;
}

.chrome-button:hover {
  background: linear-gradient(to top,
    rgba(220, 240, 255, 0.25) 0%,
    rgba(160, 200, 255, 0.2) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(2px);
}

.aqua-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  margin: 12px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to bottom, rgba(194, 233, 255, 0.7) 0%, rgba(120, 212, 255, 0.65) 40%, rgba(60, 181, 255, 0.6) 100%);
  border: 1px solid rgba(74, 169, 233, 0.7);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    0 8px 15px rgba(0, 80, 200, 0.3);
  backdrop-filter: blur(2px);
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.aqua-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 80%);
  pointer-events: none;
}

.aqua-button:hover {
  background: linear-gradient(to top, rgba(160, 224, 255, 0.7) 0%, rgba(80, 200, 255, 0.65) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 80, 200, 0.25);
  transform: translateY(2px);
}

.green-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  margin: 12px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to bottom, rgba(204, 255, 204, 0.7) 0%, rgba(153, 238, 153, 0.65) 40%, rgba(102, 221, 102, 0.6) 100%);
  border: 1px solid rgba(102, 204, 102, 0.7);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    0 8px 15px rgba(0, 150, 50, 0.3);
  backdrop-filter: blur(2px);
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.green-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 80%);
  pointer-events: none;
}

.green-button:hover {
  background: linear-gradient(to top, rgba(180, 255, 180, 0.7) 0%, rgba(120, 240, 120, 0.65) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 150, 50, 0.25);
  transform: translateY(2px);
}


/* Footer Logo Styling */
.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin: 10px auto;
  opacity: 1;
  padding-bottom: 70px;
}

/* Content container styles */
.content-container {
  position: relative;
  z-index: 1;
  color: var(--text-color) 
  text-align: center;
  padding: 40px;
  min-height: 100vh; /* Ensure the content covers at least the viewport height */
  overflow: auto;
}

/* Media Query for smaller screens */
@media (max-width: 480px) {
  .profile-photo {
    max-width: 300px; /* Adjusts size for smaller screens */
  }
}

/* Make flame canvas fill the background */
#flame-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Keep the background behind the content */
  pointer-events: none; /* Allow interaction with content on top */
}

/* Ensure body and html elements are dark */
body, html {
  margin: 0;
  height: 100%;
  font-family: sans-serif;
  overflow-x: hidden;
  background-color: var(--background-color);
  color: var(--text-color);
}