-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylevis.css
49 lines (43 loc) · 1.1 KB
/
stylevis.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Hero Section Styles */
.hero-section {
position: relative;
height: 100vh; /* Full viewport height */
overflow: hidden; /* Hide overflowing elements */
}
.video-background {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -1; /* Send the video behind the content */
transform: translate(-50%, -50%); /* Center the video */
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Dark overlay */
z-index: 1; /* Place overlay above the video */
}
.hero-section .container {
position: relative;
z-index: 2; /* Ensure text is above the overlay */
}
.hero-section h1 {
color: #fff; /* White text for visibility */
font-size: 3rem; /* Large heading */
margin: 0;
}
.hero-section p {
color: #fff; /* White text for visibility */
font-size: 1.25rem; /* Medium paragraph */
}
.hero-section .btn {
background-color: #007bff; /* Bootstrap primary color */
color: #fff; /* White text for button */
}