-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
297 lines (260 loc) · 6.65 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
/* General Styles */
body {
font-family: "Bungee Tint", sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #f4f4f4;
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
body.fade-out {
opacity: 0;
}
/* Header Section */
header {
background: rgba(0, 0, 0, 0.3);
padding: 1em 0; /* Padding for header content */
position: fixed; /* Fixed positioning for header */
top: 0;
left: 0;
width: 100%;
z-index: 1000;
backdrop-filter: blur(10px); /* Optional: Adds a blur effect */
display: flex;
justify-content: center; /* Center items horizontally */
align-items: center; /* Center items vertically */
flex-direction: row; /* Align items in a row */
}
/* Logo */
header .logo {
flex: 1; /* Allow logo to take up available space */
text-align: center; /* Center the text inside the logo container */
color: #fff;
font-size: 1.3em;
}
/* Navigation Links */
header .nav-links {
list-style: none;
display: flex;
justify-content: center; /* Center navigation items */
margin: 0;
padding: 0;
}
header .nav-links li {
margin-left: 1em; /* Space between navigation items */
position: relative; /* Required for pseudo-element positioning */
}
header .nav-links a {
color: #fff; /* Text color */
text-decoration: none; /* Remove underline */
font-size: 1.5em; /* Increase font size */
font-weight: 400; /* Font weight */
}
header .nav-links li:not(:last-child)::after {
content: " | "; /* Separator between items */
margin-left: 1em; /* Space between item and separator */
color: #fff; /* Color of the separator */
font-size: 1.5em; /* Same font size for the separator */
}
header .nav-links a:hover {
text-decoration: underline;
}
/* Hero Section */
#home {
background-image: url('graphics/thomas-heintz.jpg');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #fff;
}
#home .hero-content h2 {
font-size: 3em;
margin: 0;
font-weight: 600;
}
#home .hero-content p {
font-size: 1.5em;
margin-top: 1em;
font-weight: 300;
}
#home .btn {
background-color: #fff;
color: #333;
padding: 0.8em 2em;
border-radius: 5px;
text-decoration: none;
font-size: 1.2em;
font-weight: 600;
margin-top: 2em;
display: inline-block;
transition: background-color 0.3s ease;
}
#home .btn:hover {
background-color: #eee;
transform: scale(1.05);
}
/* Container for Sections */
.container {
max-width: 1600px;
}
/* Designs Section */
#designs {
background-image: url('graphics/thomas-heintz.jpg'); /* Background image */
background-size: cover; /* Cover the entire section */
background-position: center; /* Center the image */
background-attachment: fixed; /* Fixed background image */
padding: 12em 1em; /* Adjust padding */
min-height: 100vh; /* Ensure section covers full viewport height */
display: flex;
flex-direction: column;
align-items: center; /* Center the content horizontally */
}
/* Section Heading */
#designs h2 {
color: #fff;
text-align: center;
font-size: 2.5em;
font-weight: 600;
margin-bottom: 2em;
width: 100%;
}
/* Gallery Container */
.design-gallery {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns layout */
gap: 8em; /* Space between items */
justify-content: center; /* Center the grid content */
align-items: start;
width: 100%;
max-width: 1920px; /* Constrain the gallery width */
/* Remove max-height to fit all items without scrolling */
padding: 0 1em; /* Optional: add padding on the sides */
/* Remove overflow behavior */
}
/* Design Item */
.design-item {
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
height: 400px; /* Increased height for larger images */
}
.design-item img {
width: 100%;
height: 100%; /* Ensure image fills the container */
object-fit: cover; /* Maintain aspect ratio */
display: block;
border-radius: inherit; /* Match image corners with container */
}
.design-item:hover {
transform: scale(1.05); /* Slight zoom effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 1024px) {
.design-gallery {
grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
}
}
@media (max-width: 768px) {
.design-gallery {
grid-template-columns: 1fr; /* 1 column on small screens */
}
}
/* Lightbox Modal */
.lightbox {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Dark background */
align-items: center;
justify-content: center;
z-index: 2000;
}
.lightbox-img {
max-width: 90%;
max-height: 80%;
margin: auto;
display: block;
}
.close-btn {
position: absolute;
top: 20px;
right: 30px;
font-size: 2.5em;
color: #fff;
cursor: pointer;
transition: color 0.3s;
}
.close-btn:hover {
color: #ddd;
}
/* About Me Section */
#about {
background-image: url('graphics/thomas-heintz.jpg'); /* Add your background image URL */
background-size: cover; /* Cover the entire section */
background-position: center; /* Center the image */
text-align: center;
padding: 12em 1em; /* Adjust padding to move content down slightly */
display: flex;
justify-content: center; /* Center content horizontally */
min-height: 100vh; /* Full viewport height */
}
#about p {
padding: 1em;
font-size: 4em;
font-weight: 300;
max-width: 800px;
color: #000;
margin: 0; /* Remove default margin */
}
/* Footer Styles */
footer {
background-image: url('graphics/annie-spratt.jpg'); /* Add your background image URL */
color: #fff;
text-align: center;
padding: 2em 1em;
font-size: 1em;
position: relative;
bottom: 0;
}
footer .footer-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
footer p {
margin: 0;
font-size: 1em;
}
footer .social-links {
list-style: none;
padding: 0;
margin: 1em 0 0;
display: flex;
gap: 1.5em;
}
footer .social-links li {
display: inline-block;
}
footer .social-links a {
color: #fff;
text-decoration: none;
font-size: 1.2em;
transition: color 0.3s ease;
}
footer .social-links a:hover {
color: #ddd;
}