diff --git a/static/index.html b/static/index.html
index 53282f1..42d3091 100644
--- a/static/index.html
+++ b/static/index.html
@@ -78,14 +78,38 @@
box-shadow: 0 0 15px rgba(0,0,0,0.7);
}
- .video-player {
- width: 100%;
- height: 100%;
+ #video-overlay-container {
position: fixed;
top: 0;
left: 0;
- z-index: 10000;
+ width: 100%;
+ height: 100%;
background-color: black;
+ z-index: 10000; /* Above other page content */
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ #video-overlay-container .video-player {
+ width: 100%;
+ height: 100%;
+ display: block;
+ position: fixed;
+ }
+
+ #video-overlay-container #back-button {
+ position: absolute;
+ top: 20px;
+ left: 20px;
+ z-index: 1; /* z-index relative to siblings in container */
+ padding: 10px 20px;
+ font-size: 16px;
+ background-color: rgba(0, 0, 0, 0.5);
+ color: white;
+ border: 1px solid white;
+ border-radius: 5px;
+ cursor: pointer;
}