-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
317 lines (276 loc) · 6.49 KB
/
styles.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
/* Global Styles */
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background-color: #000; /* Black background */
color: #fff; /* White text */
scroll-behavior: smooth; /* Smooth scrolling effect */
}
/* Full Page Background Video */
#background-video {
position: fixed; /* Fix the video in place */
top: 0;
left: 0;
width: 100%; /* Make the video fill the width of the page */
height: 100vh; /* Make the video fill the full viewport height */
object-fit: cover; /* Ensure the video covers the entire screen */
z-index: -1; /* Place the video behind all other content */
filter: brightness(50%); /* Dim the video */
}
/* Header */
.header {
position: absolute; /* Make it sit on top of the page */
top: 0;
left: 0;
width: 100%;
background: transparent; /* Transparent background */
display: flex;
justify-content: space-between; /* Center horizontally */
align-items: center; /* Center vertically */
padding: 20px 0; /* Adjust padding for spacing */
z-index: 1000; /* Ensure it is above other content */
}
/* Logo image inside the header */
.header .logo {
display: block;
width: 180px; /* Set a fixed width for the logo */
height: auto; /* Maintain aspect ratio */
margin: 0 auto; /* Center the logo */
}
/* Menu Icon */
.option-icon {
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
position: relative;
}
.wheel {
width: 30px;
height: 30px;
border-radius: 50%; /* Create a circle */
background-color: #fff; /* White color for the wheel */
border: 5px solid #333; /* Dark outer rim */
position: absolute;
box-sizing: border-box;
background-image: radial-gradient(circle, #FF5C00 1px, transparent 1px);
background-size: 6px 6px;
background-position: center;
}
/* Full Page Menu */
.full-page-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000; /* Full black background */
z-index: 1000;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.5s ease;
}
.full-page-menu.open {
display: flex;
opacity: 1;
}
/* Menu Options */
.menu-options-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px; /* Reduced gap between options */
width: 100%;
}
/* Menu Options */
.menu-option {
font-size: 2.5rem; /* Smaller font size */
font-weight: bold;
color: #fff; /* White text */
cursor: pointer;
text-transform: uppercase;
opacity: 0;
transform: translateX(-100%);
animation: slideInFromLeft 1s ease forwards;
animation-delay: calc(0.2s * var(--animation-index));
}
.menu-option:nth-child(2n) {
transform: translateX(100%);
animation: slideInFromRight 1s ease forwards;
animation-delay: calc(0.2s * var(--animation-index));
}
.menu-option:nth-child(1) {
animation-delay: 0.2s;
}
.menu-option:nth-child(2) {
animation-delay: 0.5s;
}
.menu-option:nth-child(3) {
animation-delay: 0.8s;
}
.menu-option:nth-child(4) {
animation-delay: 1.1s;
}
/* Keyframes for sliding animations */
@keyframes slideInFromLeft {
0% {
opacity: 0;
transform: translateX(-100%);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInFromRight {
0% {
opacity: 0;
transform: translateX(100%);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
/* Close Button */
.close-button {
position: absolute;
top: 20px;
right: 20px;
font-size: 3rem;
color: #fff;
cursor: pointer;
z-index: 1100;
}
.close-button:hover {
color: #FF5C00; /* Highlight color on hover */
}
/* Hero Section */
.hero {
background-image: url('hero-bg.jpg'); /* Replace with a luxury car image */
background-size: cover;
background-position: center;
color: #fff;
text-align: center;
padding: 150px 20px;
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 20px;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 30px;
}
/* Custom Cursor Styles */
* {
cursor: none; /* Hide the default cursor */
}
/* Custom Cursor Styles */
/* Custom Cursor Styles */
.cursor {
position: absolute;
width: 20px;
height: 20px;
background-color: #ff6600; /* Neon orange color */
border-radius: 50%;
pointer-events: none;
transform: translate(-50%, -50%);
transition: transform 0.1s ease-out, background-color 0.2s ease, width 0.3s ease, height 0.3s ease;
z-index: 9999;
}
#f {
color: red;
font-size: 20px;
}
#g{
font-size: 30px;
font-weight: bold;
}
a:hover, button:hover, .cta-button:hover {
cursor: none; /* Hide default pointer */
}
a:hover .cursor, button:hover .cursor, .cta-button:hover .cursor{
background-color: #ffffff; /* Change to white on hover */
width: 30px;
height: 30px;
}
/* About Section */
/* About Section */
.about {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
background-color: rgba(0, 0, 0, 0.6);
height: 100vh; /* Full screen height */
padding: 50px 20px;
opacity: 0;
transform: translateY(20%); /* Hidden initially below the viewport */
transition: opacity 1s ease-out, transform 1s ease-out;
}
/* When the About section becomes visible */
.about.visible {
opacity: 1;
transform: translateY(0); /* Slide into view */
}
.about-content{
justify-items: center;
}
.about h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.about p {
font-size: 1.2rem;
max-width: 800px;
text-align: center;
line-height: 1.6;
}
/* Footer Styles */
.footer {
padding: 20px;
background-color: #111;
text-align: center;
color: #fff;
}
.footer a {
color: #FF5C00;
text-decoration: none;
}
.footer a:hover {
color: #fff;
}
/* Hero Section Adjustments */
.hero {
z-index: 1;
position: relative; /* Ensure it is above the background */
}
/* Rotating Image Container */
.rotating-image-container {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
.rotating-image {
width: 100px;
height: auto;
animation: rotate 5s linear infinite;
}
/* Rotation Animation */
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}