    /* Global Reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        background-color: #000;
        color: #fff;
        font-family: Arial, sans-serif;
        line-height: 1.6;
        text-align: left;
        padding: 20px;
      }
      body.light-mode {
        background-color: white;
        color: black;
      }
      .blog {
        max-width: 800px;
        margin: 0 auto;
        margin-top: 45px;
      }
      .blog h1 {
        font-size: 2em;
        margin-bottom: 20px;
      }
      .post {
        border-bottom: 1px solid #fff;
        padding-bottom: 15px;
        margin-bottom: 20px;
        transition: transform 0.3s;
      }
      body.light-mode .post {
        border-bottom: 1px solid black;
        padding-bottom: 15px;
        margin-bottom: 20px;
        transition: transform 0.3s;
      }
      .post:hover {
        transform: scale(1.02);
      }
      body.light-mode .container {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-family: sans-serif;
        color: black;
      }
      .post h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
      }
      .post .tags {
        font-size: 0.9em;
        color: #ccc;
        margin-bottom: 10px;
      }
      body.light-mode .post .tags {
        font-size: 0.9em;
        color: black;
        margin-bottom: 10px;
      }
      .post p {
        margin-bottom: 10px;
      }
      .post a {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s;
        display: inline-block;
      }
      .post a:hover {
        color: #ccc;
      }
      .back-link {
        display: block;
        margin-top: 20px;
        font-weight: bold;
      }
      a {
          color: white;
          }
         .social-links {
        display: flex;
        gap: 20px;
        margin-top: 20px;
      }
      body.light-mode a {
        color: black;
        }
       .social-links {
      display: flex;
      gap: 20px;
      margin-top: 20px;
    }
      .social-links a {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s;
      }
      .social-links a:hover {
        color: #ccc;
      }
      #myBtn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  body.light-mode #myBtn {
    display: block;
    position: fixed;
    bottom: 75px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  #myBtn:hover {
    background-color: black;
    color: white;
  }
          .navbar {
    background-color: #000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .navbar .logo {
    font-size: 1.4em;
    font-weight: bold;
  }
  
  .navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    margin-right: 15px;
    transition: color 0.3s;
  }
  icon {
    display: none;
  }
  .navbar a:hover {
    color: #1184fe;
  }
  @media screen and (max-width: 580px) {
    icons {
      display: none;
    }
    icon {
      display: block;
    }
    .blog {
      max-width: 800px;
      margin: 0 auto;
      margin-top: 65px;
    }
  }
  button {
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: larger;
    color: white;
    background-color: black;

  }
  pages {
    text-align: center;
  }
   /* Button base styling */
   #darkbtn {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  /* Default (light mode): button background is black */
  body:not(.light-mode) #darkbtn {
    background-color: black;
  }

  /* In dark mode: button background is yellow and text color becomes black for contrast */
  body.light-mode #darkbtn {
    background-color: #fdd34e;
    color: black;
  }
  
  /* Button hover effects */
  body:not(.light-mode) #darkbtn:hover {
    background-color: #333;
  }
  body.light-mode #darkbtn:hover {
    background-color: #FFC107;
  }

