/* Overlay container */
.overlay-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Menu content */
  .overlay-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .overlay-menu li {
    margin: 15px 0;
  }
  
  .overlay-menu a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .overlay-menu a:hover {
    color: #792424;
  }
  
  /* Close button */
  .overlay-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .overlay-close-btn:hover {
    color: #792424;
  }
  
  /* Open overlay animation */
  .overlay-menu.active {
    width: 100%;
  }

  @media screen and (max-height: 450px) {
    .overlay-menu {
      font-size: 20px;
    }
  
    .overlay-menu a {
      font-size: 18px;
    }
  }
  