.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 10px 10px 10px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 80%; /* Set a fixed width for larger screens */
    max-width: 800px; /* Maximum width for responsiveness */
  }

  .overlay1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;

  }

  .live-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    transition: background-color 0.4s ease; 
    z-index: 9998; /* Ensure the overlay is above other content */
    display: none; /* Hide the overlay initially */
}

  .close-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    cursor: pointer;
  }

  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  @media screen and (max-width: 600px) {
    .popup-container {
      width: 90%; /* Adjust the width for smaller screens */
    }
  }