-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
168 lines (144 loc) · 3.54 KB
/
styles.css
File metadata and controls
168 lines (144 loc) · 3.54 KB
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
/* Base colors and variables */
:root {
--primary-dark: #121212;
--secondary-dark: #1a1a1a;
--light-gray: #e0e0e0;
--neon-accent: #39ff14;
--neon-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #39ff14;
}
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', Arial, sans-serif;
background-color: var(--primary-dark);
color: var(--light-gray);
line-height: 1.6;
}
/* Header styles */
header {
background-color: var(--secondary-dark);
border-bottom: 1px solid var(--neon-accent);
padding: 2rem 0;
}
header h1 {
color: white;
text-shadow: var(--neon-shadow);
transition: text-shadow 0.3s ease;
}
header h1:hover {
text-shadow: 0 0 20px var(--neon-accent);
}
/* Navigation */
nav {
background-color: var(--secondary-dark);
border-bottom: 1px solid rgba(57, 255, 20, 0.3);
}
nav ul {
padding: 1rem;
gap: 2rem;
}
nav a {
color: var(--light-gray);
transition: color 0.3s ease, text-shadow 0.3s ease;
}
nav a:hover {
color: var(--neon-accent);
text-shadow: var(--neon-shadow);
text-decoration: none;
}
/* Hero section */
.hero {
background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('path-to-your-hero-image.jpg');
background-size: cover;
background-position: center;
padding: 6rem 0;
border-bottom: 1px solid var(--neon-accent);
}
.hero h2 {
color: white;
text-shadow: var(--neon-shadow);
margin-bottom: 1.5rem;
}
.hero button {
background-color: transparent;
border: 2px solid var(--neon-accent);
color: var(--neon-accent);
padding: 1rem 2rem;
cursor: pointer;
transition: all 0.3s ease;
text-shadow: 0 0 5px var(--neon-accent);
box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}
.hero button:hover {
background-color: var(--neon-accent);
color: var(--primary-dark);
box-shadow: var(--neon-shadow);
}
/* Products section */
.products {
background-color: var(--primary-dark);
padding: 4rem 2rem;
gap: 3rem;
}
.product-card {
background-color: var(--secondary-dark);
border: 1px solid rgba(57, 255, 20, 0.2);
border-radius: 10px;
padding: 2rem;
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(57, 255, 20, 0.2);
}
.product-card img {
max-width: 100%;
height: auto;
margin-bottom: 1rem;
border-radius: 5px;
}
.product-card h3 {
color: var(--neon-accent);
margin-bottom: 1rem;
}
.product-card button {
background-color: transparent;
border: 1px solid var(--neon-accent);
color: var(--neon-accent);
padding: 0.5rem 1.5rem;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
}
.product-card button:hover {
background-color: var(--neon-accent);
color: var(--primary-dark);
box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}
/* Footer */
footer {
background-color: var(--secondary-dark);
border-top: 1px solid var(--neon-accent);
color: var(--light-gray);
text-align: center;
padding: 1.5rem 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.products {
grid-template-columns: 1fr;
padding: 2rem 1rem;
}
nav ul {
flex-direction: column;
align-items: center;
gap: 1rem;
}
.hero {
padding: 3rem 1rem;
}
}