header {
    background-color: #002db3;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-left {
    flex: 1;
  }
  
  .header-right {
    position: relative;
    margin-right: 15px;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 2rem;
    width: 2rem;
  }
  
  .bar {
    background-color: #fff;
    height: 0.2rem;
    width: 100%;
    border-radius: 1rem;
  }
  
  .popup-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #bfcfff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .popup-menu.visible {
    transform: translateX(0);
  }

  .close-menu {
    background-color: transparent;
    color: #000;
    border: none;
    font-size: 24px;
    align-self: flex-end;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close-menu:hover {
    background-color: #de0606;
    color: #ffffff;
    border-radius: 5px;
  }
  
  .popup-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .popup-menu li {
    font-size: 20px;
    margin: 15px 0;
    text-align: center;
    margin-bottom: 1rem;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .popup-menu a {
    color: #352360;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
  }
  
  .popup-menu a:hover {
    background-color: #0000ff;
    color: #fff;
  }

  .popup-menu .deconnexion {
    color: #de0606;
    font-weight: bold;
    text-decoration: none;
  }

  .popup-menu .deconnexion:hover {
    background-color: #de0606;
    color: #fff;
    font-size: 20px;
  }
  
  .visible {
    display: block;
  }