.header-bar {
    background-color: #222;
    color: white;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1em;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1001;
  }
  
  .header-bar h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
  }

  .header-bar button {
    background-color: #222;
    color: white;
    border: none;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    transition: background-color 0.3s ease;
  }
  
  .header-bar button:hover {
    background-color: #666;
  }

  .header-bar nav {
    display: flex;
    justify-content: flex-end;
  }

  .header-bar nav a {
    color: white;
    margin-left: 1em;
    text-decoration: none;
    font-weight: bold;
  }
  
  .header-bar nav a:hover {
    text-decoration: underline;
  }