-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
191 lines (169 loc) · 6.28 KB
/
Copy pathshared.css
File metadata and controls
191 lines (169 loc) · 6.28 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* ── SHARED STYLES ─────────────────────────────────────────────────────────
Loaded by all three pages. Page-specific backgrounds, section layouts,
and component styles remain in each page's own <style> block.
────────────────────────────────────────────────────────────────────────── */
/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* CSS Variables */
:root {
--deep-navy: #0d0b1e;
--gold: #d4a420;
--gold-hover: #e8bc40;
--text-light: #f0eeff;
--text-muted: #a89fc8;
--section-navy: rgba(26, 21, 53, 0.80);
--section-dark: rgba(8, 6, 22, 0.82);
--section-slate: rgba(34, 46, 88, 0.78);
}
/* Base HTML */
html {
scroll-behavior: smooth;
scrollbar-color: rgba(168, 159, 200, 0.3) var(--deep-navy);
scrollbar-width: thin;
background-color: var(--deep-navy);
overscroll-behavior: none;
}
/* Custom Scrollbar (WebKit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--deep-navy); }
::-webkit-scrollbar-thumb {
background: rgba(168, 159, 200, 0.25);
border-radius: 5px;
border: 2px solid var(--deep-navy);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
/* Base Body — each page overrides background in its own <style> */
body {
font-family: 'Nunito', sans-serif;
color: var(--text-light);
min-height: 100vh;
overflow-x: hidden;
background-color: var(--deep-navy);
}
/* ── SCROLL REVEAL ── */
.reveal {
opacity: 0;
transform: translateY(18px);
transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
/* ── NAV ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(8, 6, 22, 0.95);
backdrop-filter: blur(16px);
border-bottom: 1.5px solid rgba(106, 95, 192, 0.4);
padding: 0.5rem 2.5rem;
display: flex;
align-items: center;
gap: 1.5rem;
}
.nav-logo {
display: flex;
align-items: center;
gap: 0.85rem;
text-decoration: none;
}
.nav-logo-img {
width: 52px;
height: 52px;
object-fit: contain;
flex-shrink: 0;
filter: drop-shadow(0 0 8px rgba(150,110,255,0.5));
}
.nav-title {
font-family: 'Orbitron', monospace;
font-size: 0.93rem;
font-weight: 600;
color: #fff;
line-height: 1.3;
}
.nav-links { display: flex; gap: 0.2rem; margin-left: auto; }
.nav-links a {
font-size: 0.92rem;
font-weight: 600;
color: #a89fc8;
text-decoration: none;
padding: 0.38rem 1.1rem;
border-radius: 6px;
border: 1px solid transparent;
transition: all 0.2s;
}
.nav-links a:hover { color: #fff; border-color: rgba(106,95,192,0.6); }
.nav-links a.active { background: var(--gold); color: #1a1535; border-color: transparent; }
/* ── FOOTER ── */
footer {
position: relative; z-index: 1;
background: rgba(5, 4, 14, 0.97);
border-top: 1.5px solid rgba(106,95,192,0.28);
padding: 3.5rem 2.5rem 2rem;
color: var(--text-muted);
}
.footer-inner {
max-width: 860px; margin: 0 auto 2.5rem;
display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem;
}
.footer-logo-wrap {
display: flex; align-items: center; gap: 0.75rem;
margin-bottom: 0.9rem; text-decoration: none;
}
.footer-logo-wrap img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 5px rgba(150,110,255,0.4)); }
.footer-logo-wrap span { font-family: 'Orbitron', monospace; font-size: 0.75rem; font-weight: 600; color: #fff; line-height: 1.3; }
.footer-tagline { font-size: 0.84rem; line-height: 1.72; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col h4 {
font-family: 'Orbitron', monospace; font-size: 0.67rem;
letter-spacing: 3px; text-transform: uppercase;
color: var(--gold); margin-bottom: 0.9rem;
}
.footer-col p, .footer-col a:not(.footer-logo-wrap) {
font-size: 0.86rem; line-height: 1.9;
color: var(--text-muted); text-decoration: none; display: block;
}
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social a {
display: inline-flex; align-items: center; gap: 0.45rem;
font-size: 0.84rem; color: var(--text-muted); text-decoration: none;
border: 1px solid rgba(168,159,200,0.25); border-radius: 6px;
padding: 0.35rem 0.85rem; transition: all 0.2s;
}
.footer-social a:hover { color: #fff; border-color: rgba(212,164,32,0.5); background: rgba(212,164,32,0.08); }
.footer-social svg { width: 15px; height: 15px; flex-shrink: 0; position: relative; top: 2px; }
.footer-bottom {
text-align: center; border-top: 1px solid rgba(106,95,192,0.15);
padding-top: 1.5rem; font-size: 0.76rem; color: rgba(168,159,200,0.75);
}
/* ── RESPONSIVE (nav + footer only) ── */
@media (max-width: 767px) {
nav { flex-wrap: wrap; padding: 0.5rem 1rem; }
.nav-links { margin-left: 0; width: 100%; justify-content: center; }
.footer-inner { grid-template-columns: 1fr; }
}
/* ── PAGE VEIL ── */
#page-veil {
position: fixed;
inset: 0;
z-index: 9999;
background: var(--deep-navy);
pointer-events: none;
animation: veilOut 0.22s 0.04s ease-out forwards;
}
@keyframes veilOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }
/* ── MOBILE SECTION OPACITY ─────────────────────────────────────────────────
On mobile, background-attachment switches to scroll, meaning section
overlays can hide the page background. Reducing opacity lets the photo
or starfield background show through more on small screens.
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
:root {
--section-navy: rgba(26, 21, 53, 0.70);
--section-dark: rgba(8, 6, 22, 0.74);
--section-slate: rgba(34, 46, 88, 0.68);
}
}