body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #313131; /* Black background */
    color: white;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgb(221, 221, 221);
  }

  /* Brand Logo and Name */
  nav .brand {
    display: flex;
    align-items: center;
  }

  nav img {
    height: 30px;
    margin-right: 10px;
  }

  nav h1 {
    font-size: 1.5rem;
    color: #000000;
    margin: 0;
  }

  /* Navigation Links */
  nav .nav-links {
    display: flex;
    list-style: none;
    margin: 0px 20px 0px 20px;
    padding: 10px 30px 10px 30px;
    gap: 50px;
  }

  nav .nav-links li {
    animation: move-left-right 3s ease-in-out infinite alternate;
  }

  nav .nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    transition: color 0.3s;
  }

  nav .nav-links a:hover {
    color: #e83e00;
  }

  /* Toggler Button */
  nav .toggler {
    display: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: rgb(0, 0, 0);
  }

  .toggler {
    position: fixed;
    top: 0px;
    right: 10px;
    z-index: 1000;
    padding: 10px;
    background-color: #327ba8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .navbar {
    overflow: visible;
  }
  
  @media (max-width: 600px) {
    .toggler {
      right: 5px;
  }
  }

  /* Media Query for Mobile Screens */
  @media (max-width: 768px) {
    nav .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start; /* Align links to the left */
      background-color: #ffffff;
      position: absolute;
      top: 60px;
      left: 0; /* Adjust to appear on the left */
      width: 200px;
      border-radius: 0;
      padding: 10px 20px; /* Add padding for better alignment */
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    nav .nav-links.active {
      display: flex;
    }

    nav .toggler {
      display: block;
    }
  }

  @keyframes move-left-right {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(10px);
    }
  }