forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
185 lines (159 loc) · 3.07 KB
/
about.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
body, html {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
width: 100vw;
min-height: 100vh;
color: #fff;
overflow-x: hidden;
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image: url('path_to_fallback_image.jpg');
background-size: cover;
background-position: center;
}
.background video {
width: 100%;
height: 100%;
object-fit: cover;
}
.content-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 40px;
text-align: center;
background-color: rgba(0, 0, 0, 0.6);
}
header {
margin-bottom: 30px;
}
.heading {
font-size: 4rem;
color: #fff;
margin-bottom: 10px;
font-weight: 700;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
letter-spacing: 2px;
}
.subheading {
font-size: 1.5rem;
color: #f0f0f0;
margin-top: 0;
font-weight: 300;
letter-spacing: 1px;
}
.content-block {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
max-width: 800px;
}
.video-container {
width: 100%;
max-width: 800px;
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
margin-bottom: 4rem;
}
.video-container::before {
content: '';
display: block;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.summary {
font-size: 1.1rem;
color: #f0f0f0;
line-height: 1.6;
text-align: center;
margin: 0;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.features {
display: flex;
justify-content: space-between;
width: 100%;
margin-top: 3rem !important;
margin: 0 auto;
margin-left: 2.2rem;
}
.feature {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.feature i {
font-size: 2.5rem;
color: #ff6b6b;
}
.feature h3 {
font-size: 1.1rem;
font-weight: 600;
margin: 0;
}
.cta-button {
display: inline-block;
padding: 15px 30px;
background-color: #ff6b6b;
color: #fff;
text-decoration: none;
font-size: 1.2rem;
font-weight: 600;
border-radius: 50px;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
margin-top: 1.5rem;
}
.cta-button:hover {
background-color: #ff8787;
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}
@media (max-width: 768px) {
.content-wrapper {
padding: 20px;
}
.heading {
font-size: 3rem;
}
.subheading {
font-size: 1.2rem;
}
.summary {
font-size: 1rem;
}
.features {
flex-direction: column;
gap: 20px;
}
.feature i {
font-size: 2rem;
}
.feature h3 {
font-size: 1rem;
}
.cta-button {
font-size: 1rem;
padding: 12px 25px;
}
}