
/* Basic Styling for the Page */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for background and text color */
}
/* Header Styles */
#header {
    background-color: #254769;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 1;
    background-color: transparent;
    display: flex; 
    
}

.header-content {
    margin: 15px;
    align-content: center;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 250px;
}

#logo {
    margin: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: transparent;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}


#Moto {
    font-size: 1.5em;
    font-style: italic;
    color: aqua;
    margin-left: 1rem;
}
#writer {
    
    font-style: italic;
    color: aqua;
    margin-left: 1rem;
}
.navbar {
    background-color: #333;
    padding: 10px 20px;
    position: relative;
    margin: 10px;
    border-radius: 15px;
    color: white;
  }

  .navbar-container {
    display: flex;
    justify-content: space-between; /* Ensures items are spaced between, with the logo on the left and the toggler on the right */
    align-items: center;
    width: 100%; /* Ensures the container takes the full width */
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

  .bar {
    height: 4px;
    background-color: white;
    border-radius: 10px;
  }

  .navbar-links {
    display: flex; /* Default state for desktop */
    list-style: none;
  }

  .navbar-links li {
    margin: 0 15px;
  }

  .navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }

  .navbar-links a:hover {
    color: #ff8c00;
  }


/* Page Content Styling */
.page-content {
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: #31b2ee;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
}

/* Post Styles */
.post-container {
    position: relative;
    background-color: #141313;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    min-height: 300px;
    max-width: 1200px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

/* Post Image (Background with blur effect) */
.post-container .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Apply blur effect */
    z-index: 0; /* Send it behind the content */
    opacity: 0; /* Initially hide the background */
    transition: opacity 0.8s ease-in-out; /* Smooth transition when hovering */
}

.post-container:hover .background-image {
    opacity: 1; /* Show image on hover */
}
@font-face {
    font-family: 'superCharge';  /* Corrected line */
    src: url('../supercharge-font/SuperchargeStraight-nR87V.otf') format('open');
  }
/* Post Title */
.post-container h2 {
    font-family: superCharge, sans-serif;
    font-weight: bolder;
    font-size: 3.5em;
    color: #fffbfb;
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

/* Post Content */
.post-container p {
    font-size: 1em;
    color: #ffffff;
    line-height: 1.6;
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

/* Post Link */
.post-container a {
    color: #3ba35e;
    font-weight: 500;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

/* Post Link Hover Effect */
.post-container a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .post-container {
        width: 95%;
        padding: 15px;
    }

    .post-container h2 {
        font-size: 1.2em;
    }

    .post-container p {
        font-size: 0.95em;
    }
    .navbar-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        text-align: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      .navbar-links.active {
        display: flex; /* Show links when active */
      }

      .navbar-toggle {
        display: flex;
      }

      /* Rotate the toggle when clicked */
      .navbar-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 8px;
      }

      .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
      }

      .navbar-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -8px;
      }
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #f8f9fa;
}

body.dark-mode .post-container {
    background-color: #333;
    border-color: #444;
}

body.dark-mode .post-container h2,
body.dark-mode .post-container p {
    color: #f8f9fa;
}

body.dark-mode .post-container a {
    color: #61dafb;
}

body.dark-mode .post-container a:hover {
    color: #ffffff;
}

body.dark-mode .nav-main {
    background-color: #212529;
}

body.dark-mode .nav-main ul li a {
    color: #f8f9fa;
}

body.dark-mode .nav-main ul li a:hover {
    background-color: #495057;
}
