
.bg-image {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/logo.jpg'); /* Replace with your image */
    background-size: cover; /* Cover ensures the image scales with the viewport */
    background-repeat: repeat-y; /* Avoid repeating the image */
    background-attachment: fixed; /* Keep the background fixed as you scroll */
    background-position: center;
    opacity: 0.3; /* Adjust this for transparency level */
    z-index: -1; /* Make sure it stays behind the content */
}

.canvass_container {
    position: relative;
    display: inline-block;
    width: 640px;
    height: 480px;
    min-width: 640px; /* Optional: Set max width */
    min-height: 480px; /* Optional: Set max height */
}

video, canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

video {
    z-index: 1; /* Lower z-index to ensure canvas is on top */
}

canvas {
    z-index: 2; /* Higher z-index to show on top */
    pointer-events: none; /* Prevent interaction with the canvas */
}
