body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #f0f0f0; /* fallback color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    background-color: #f0f0f0; /* Optional: background color for better visibility */
}

#myVideo {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    cursor: pointer; /* Change the cursor to indicate clickable video */
}
#overlay-text {
    position: absolute;
    top: 12px; /* Distance from the top of the container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for horizontal centering */
    color: white; /* Change color as needed */
    font-size: 24px; /* Adjust font size as needed */
    background: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    padding: 6px 10px; /* Optional: padding around the text */
    border-radius: 5px; /* Optional: rounded corners */
    text-align: center; /* Center text within the overlay */
    pointer-events: none; /* so taps reach the container */
}