forked from zyfer416/GYM-WEBSITE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeightGain.css
193 lines (165 loc) · 3.59 KB
/
WeightGain.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
/* Base Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
:root {
/* Dark Mode Variables */
--bg-color: #1c1c1c;
--text-color: #eaeaea;
--accent-color: #ff5733;
/* Light Mode Variables */
--light-bg-color: #ffffff;
--light-text-color: #1c1c1c;
--light-accent-color: #007bff;
}
/* Light mode overrides */
body.light-mode {
--bg-color: var(--light-bg-color);
--text-color: var(--light-text-color);
--accent-color: var(--light-accent-color);
}
/* Body and General Typography */
body {
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
font-size: 16px;
overflow-x: hidden;
}
/* Headings */
h1, h2, h3 {
color: var(--accent-color);
}
h1 {
font-size: 2.8rem;
text-align: center;
margin: 2rem 0; /* Already correct */
text-transform: uppercase;
letter-spacing: 2px;
background: linear-gradient(90deg, var(--accent-color), #1e0601);
-webkit-background-clip: text; /* Ensures WebKit compatibility */
background-clip: text; /* Added for standard support */
-webkit-text-fill-color: transparent; /* Ensures text gradient visibility */
}
h2 {
font-size: 2rem;
margin-bottom: 1rem;
text-transform: capitalize;
}
h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
text-transform: capitalize;
}
/* Header Section */
header {
background: linear-gradient(90deg, var(--accent-color), #e7d9d7);
color: var(--bg-color);
text-align: center;
padding: 2.5rem 1rem;
border-bottom: 5px solid var(--bg-color);
}
header h1 {
font-size: 3rem;
margin-bottom: 0.5rem;
}
header p {
font-size: 1.2rem;
opacity: 0.8;
}
/* Section Styling */
section {
padding: 2rem 1.5rem;
max-width: 900px;
margin: 2rem auto;
background-color: var(--bg-color);
color: var(--text-color);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
border-radius: 12px;
transition: all 0.3s ease;
}
section:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
section h2 {
margin-bottom: 1rem;
font-size: 1.8rem;
color: var(--accent-color);
}
section ul {
margin-top: 1.5rem;
padding-left: 1.5rem;
}
section ul li {
font-size: 1.1rem;
margin-bottom: 0.8rem;
position: relative;
padding-left: 1.5rem;
color: var(--text-color);
transition: all 0.3s ease;
}
section ul li::before {
content: "✔";
position: absolute;
left: 0;
color: var(--accent-color);
}
section ul li:hover {
color: var(--accent-color);
font-weight: bold;
}
/* Buttons */
button, a.button {
display: inline-block;
padding: 0.7rem 1.5rem;
font-size: 1rem;
color: var(--bg-color);
background-color: var(--accent-color);
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
text-align: center;
text-decoration: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
button:hover, a.button:hover {
background-color: #ff7961;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
transform: scale(1.05);
}
/* Footer */
footer {
text-align: center;
padding: 1.5rem 0;
background: var(--accent-color);
color: var(--bg-color);
margin-top: 2rem;
}
footer p {
font-size: 1rem;
transition: opacity 0.3s ease;
}
footer p:hover {
opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
body {
font-size: 14px;
}
h1 {
font-size: 2.5rem;
}
header p {
font-size: 1rem;
}
section ul li {
font-size: 1rem;
}
}