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

  body {
    font-family: Arial, sans-serif;
    background-color: #474546;
    color: white;
  }

  nav {
    background-color: #222;
    font-family: 'Orbitron', sans-serif;
    
    position: relative;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 70px;
  }

  .logoimg {
    height: 60px;
    width: auto;
  }

  .hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu {
    display: flex;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
  }

  .menu-item {
    position: relative;
  }

  .menu-item a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    border-radius: 4px;
  }

  .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }


  a, a:visited, a:hover, a:active, a:focus, a * {
    text-decoration: none;
    color: white;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    user-select: none;
    outline: none;
  }
  

  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }

    .menu {
      flex-direction: column;
      align-items: right;
      gap: 0;
      background-color: #222;
      position: absolute;
      top: 70px;
      right: 0;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    .menu a {
  width: 100%;
  padding: 1rem;
}


    .menu.show {
      max-height: 400px;
      opacity: 1;
    }

    .dropdown {
      position: relative;
      transform: none;
      opacity: 1;
      display: none;
      background-color: #333;
      margin-left: 1rem;
    }

    .menu-item.show .dropdown {
      display: flex;
    }
  }