simran19 commited on
Commit
760f227
·
verified ·
1 Parent(s): 0ef383c

Update static/index.css

Browse files
Files changed (1) hide show
  1. static/index.css +31 -3
static/index.css CHANGED
@@ -11,10 +11,38 @@ body {
11
  min-height: 100vh; /* at least 80% viewport height */
12
  padding: 40px 0;
13
  border-radius: 10px;
14
- background-image:url('https://cdn-uploads.huggingface.co/production/uploads/68c9040752743c0e389c6079/3Bwo1Og_FLJVaDbXqihW8.gif');
15
- background-size:cover;background-position:center;color:white ; background-repeat: no-repeat; border-radius:10px;
16
  }
17
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  button-group {
19
  display: flex;
20
  gap: 12px;
 
11
  min-height: 100vh; /* at least 80% viewport height */
12
  padding: 40px 0;
13
  border-radius: 10px;
 
 
14
  }
15
+ /* Video background with fallback */
16
+ .video-container {
17
+ position: fixed;
18
+ top: 0;
19
+ left: 0;
20
+ width: 100%;
21
+ height: 100%;
22
+ z-index: -2;
23
+ overflow: hidden;
24
+ }
25
+ #backgroundVideo {
26
+ position: absolute;
27
+ top: 50%;
28
+ left: 50%;
29
+ min-width: 100%;
30
+ min-height: 100%;
31
+ width: auto;
32
+ height: auto;
33
+ transform: translateX(-50%) translateY(-50%);
34
+ object-fit: cover;
35
+ }
36
+ /* Fallback gradient overlay */
37
+ .video-overlay {
38
+ position: fixed;
39
+ top: 0;
40
+ left: 0;
41
+ width: 100%;
42
+ height: 100%;
43
+ background: rgba(0, 0, 0, 0.4);
44
+ z-index: -1;
45
+ }
46
  button-group {
47
  display: flex;
48
  gap: 12px;