 /* Remove default margin and padding; make the page occupy the full screen */
 html, body {
    margin: 0;
    padding: 0;
    height: 100%;
  }

  /* Disable scrolling when the modal is open */
  body.modal-open {
    overflow: hidden;
  }

  /* The semi-transparent overlay background */
  .overlay {
    position: fixed;        
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.801); 
    display: flex;         
    justify-content: center;
    align-items: center;
    z-index: 9999;         
  }

  /* Renamed .modal to .custom-modal to avoid conflicts */
  .custom-modal {
    background-color: #0E9462;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
    text-align: center;
    z-index: 10000; /* ensure it's above the overlay if needed */
  }

  /* The modal header */
  .custom-modal h2 {
    margin-top: 0;
  }

  /* Buttons */
  .custom-modal button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #0019fa;
    color: #fff;
    font-size: 1rem;
  }
  
  #under18Btn {
    background-color: #94340e;

  }

  /* Hover effect for buttons */
  .custom-modal button:hover {
    background-color: #1200b3;
  }