forked from ayush-pandey047/Roam-to-the-city
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
77 lines (67 loc) · 1.16 KB
/
home.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* styles.css */
body {
margin: 0;
font-family: Arial, sans-serif;
overflow-x: hidden;
}
header.video-header {
position: relative;
height: 80vh;
overflow: hidden;
}
.background-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
z-index: 2;
}
.overlay h1 {
font-size: 4rem;
margin: 0;
text-transform: uppercase;
font-weight: bold;
}
.overlay p {
font-size: 1.5rem;
margin: 10px 0;
}
.overlay .btn {
margin-top: 15px;
padding: 10px 20px;
font-size: 1.2rem;
color: #fff;
text-decoration: none;
background-color: #0074D9;
border: 2px solid #fff;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
.overlay .btn:hover {
background-color: #fff;
color: #0074D9;
}
main {
padding: 20px;
text-align: center;
}
footer {
text-align: center;
padding: 10px;
background-color: #001F3F;
color: white;
}
.btn{
margin: 20px;
}