Skip to content

Commit 7e6479a

Browse files
Update index.html
1 parent 4daf850 commit 7e6479a

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

index.html

+7-15
Original file line numberDiff line numberDiff line change
@@ -101,25 +101,17 @@
101101
}
102102
#introVideo {
103103
position: absolute;
104-
top: 80px; /* Position below the logo and language select */
104+
top: 80px; /* Position the video just below the logo and language select */
105105
left: 0;
106106
width: 100%; /* Full width */
107-
max-height: 50vh; /* Limit the height */
108-
object-fit: cover; /* Maintain aspect ratio */
109-
z-index: -1; /* Ensure it's behind other elements */
110-
filter: brightness(70%) blur(5px); /* Optional: Add blur for a soft background effect */
107+
max-height: 50vh; /* Limit the height to 50% of the viewport height */
108+
object-fit: cover; /* Scale the video proportionally */
109+
z-index: -1; /* Keep the video behind the other elements */
111110
}
112111

113-
#introVideo::before {
114-
content: '';
115-
position: absolute;
116-
top: 0;
117-
left: 0;
118-
width: 100%;
119-
height: 100%;
120-
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); /* Darkens top and fades to transparent */
121-
z-index: 1; /* Put the gradient overlay above the video */
122-
}
112+
113+
114+
123115
</style>
124116
</head>
125117
<body>

0 commit comments

Comments
 (0)