Skip to content

Commit 1102d41

Browse files
m2
1 parent 5886c71 commit 1102d41

1 file changed

Lines changed: 78 additions & 9 deletions

File tree

docs/css/style.css

Lines changed: 78 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,43 +129,112 @@ button {
129129
============================================ */
130130

131131
#scene-ticket {
132+
display: flex;
133+
flex-direction: column;
134+
background: var(--void);
135+
position: relative;
136+
overflow: hidden;
137+
}
138+
139+
/* Time travel section - top third */
140+
.time-travel-section {
141+
position: relative;
142+
width: 100%;
143+
height: 35vh;
132144
display: flex;
133145
flex-direction: column;
134146
align-items: center;
147+
justify-content: flex-start;
148+
padding-top: 8vh;
149+
overflow: hidden;
150+
background: var(--void);
151+
}
152+
153+
/* Starry background - only for time travel section */
154+
.time-travel-section::before {
155+
content: '';
156+
position: absolute;
157+
inset: 0;
158+
background-image:
159+
radial-gradient(2px 2px at 20% 30%, white, transparent),
160+
radial-gradient(2px 2px at 60% 70%, white, transparent),
161+
radial-gradient(1px 1px at 50% 50%, white, transparent),
162+
radial-gradient(1px 1px at 80% 10%, white, transparent),
163+
radial-gradient(2px 2px at 90% 60%, white, transparent),
164+
radial-gradient(1px 1px at 33% 80%, white, transparent),
165+
radial-gradient(1px 1px at 15% 55%, white, transparent);
166+
background-size: 200% 200%, 180% 180%, 220% 220%, 250% 250%, 190% 190%, 210% 210%, 230% 230%;
167+
background-position: 0% 0%;
168+
animation: twinkling 8s ease-in-out infinite;
169+
opacity: 0.6;
170+
pointer-events: none;
171+
}
172+
173+
@keyframes twinkling {
174+
0%, 100% { opacity: 0.4; }
175+
50% { opacity: 0.8; }
176+
}
177+
178+
/* Time travel canvas */
179+
#timeTravel {
180+
position: absolute;
181+
inset: 0;
182+
pointer-events: none;
183+
z-index: 0;
184+
}
185+
186+
/* Ticket section - bottom part, simple */
187+
.ticket-section {
188+
width: 100%;
189+
height: 65vh;
190+
display: flex;
191+
align-items: center;
135192
justify-content: center;
136-
gap: 60px;
137193
background: var(--void);
194+
position: relative;
195+
padding-top: 3vh;
138196
}
139197

140198
.museum-title {
199+
position: relative;
200+
z-index: 1;
141201
text-align: center;
142202
}
143203

204+
.ticket-wrapper {
205+
position: relative;
206+
z-index: 1;
207+
}
208+
144209
.museum-label {
145210
font-family: var(--font-display);
146211
font-size: 0.9rem;
147-
letter-spacing: 0.3em;
212+
letter-spacing: 0.4em;
148213
color: var(--gold);
149214
display: block;
150-
margin-bottom: 8px;
215+
margin-bottom: 12px;
216+
font-weight: 400;
151217
}
152218

153219
.museum-title h1 {
154220
font-family: var(--font-display);
155-
font-size: 4.5rem;
221+
font-size: 3.5rem;
156222
line-height: 1;
157-
letter-spacing: 0.05em;
223+
letter-spacing: 0.08em;
158224
color: var(--text-bright);
159225
margin: 0;
226+
font-weight: 400;
227+
text-shadow: 0 2px 40px rgba(255, 213, 79, 0.25);
160228
}
161229

162230
.museum-subtitle {
163-
font-family: var(--font-body);
164-
font-size: 0.85rem;
165-
color: var(--text-mid);
231+
font-family: var(--font-display);
232+
font-size: 1rem;
233+
color: var(--gold);
166234
display: block;
167235
margin-top: 12px;
168-
letter-spacing: 0.1em;
236+
letter-spacing: 0.2em;
237+
font-weight: 300;
169238
}
170239

171240
.ticket-wrapper {

0 commit comments

Comments
 (0)