This repository was archived by the owner on Mar 25, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead_foot.css
More file actions
165 lines (139 loc) · 3.07 KB
/
head_foot.css
File metadata and controls
165 lines (139 loc) · 3.07 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
/* Global variables and resets are defined in global.css */
main {
display: flex;
flex-direction: column;
gap: 80px;
padding: var(--header-height) 24px 64px;
}
.area {
width: min(100%, var(--max-width));
margin: 0 auto;
/* Make each section a snap point aligned below header */
scroll-snap-align: start;
/* Ensure content never hides under sticky header */
scroll-margin-top: var(--header-height);
}
/* Allow reaching the footer without being pulled back */
#contact { scroll-snap-align: start; }
header {
backdrop-filter: blur(14px);
background: rgba(10, 10, 10, 0.82);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
left: 0;
padding: 16px 24px;
position: sticky;
top: 0;
z-index: 100;
}
/* Ensure content layers above decorative background image */
main, footer { position: relative; z-index: 1; }
/* Keep header on top of everything */
header { z-index: 200; }
.header-inner {
align-items: center;
display: flex;
gap: 28px;
justify-content: space-between;
margin: 0 auto;
max-width: var(--max-width);
}
#logo {
height: 48px;
width: auto;
}
nav {
align-items: center;
display: flex;
gap: 16px;
flex-wrap: nowrap;
}
nav a {
color: var(--text-secondary);
font-size: 0.95rem;
font-weight: 500;
padding: 10px 14px;
text-decoration: none;
border-radius: 999px;
transition: var(--transition);
white-space: nowrap;
}
nav a:hover,
nav a:focus {
background: var(--accent-08);
color: var(--text-primary);
}
nav a.active {
background: var(--accent-16);
color: var(--text-primary);
}
.cta-button {
background: linear-gradient(135deg, var(--accent), var(--accent));
border: none;
border-radius: 999px;
color: #050505;
cursor: pointer;
font-size: 0.95rem;
font-weight: 600;
padding: 10px 20px;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover,
.cta-button:focus {
box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
}
footer {
border-top: 1px solid rgba(255, 255, 255, 0.08);
margin-top: 120px;
padding: 32px 24px 48px;
}
.footer-inner {
display: flex;
flex-direction: column;
gap: 18px;
margin: 0 auto;
max-width: var(--max-width);
}
.footer-meta {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
margin-top: 12px;
}
footer nav {
gap: 12px;
}
footer nav a {
font-size: 0.85rem;
padding: 8px 12px;
}
small {
color: rgba(245, 245, 245, 0.64);
}
@media (max-width: 768px) {
main {
gap: 64px;
padding: 72px 20px 56px;
}
header {
padding: 14px 18px;
}
.header-inner {
gap: 20px;
}
nav { display: none; }
.cta-button {
padding: 10px 18px;
}
footer nav {
flex-wrap: wrap;
}
}
/* Hide full nav earlier to avoid wrapping; keep CTA visible */
@media (max-width: 875px) {
nav { display: none; }
.header-inner { gap: 16px; }
}