Spaces:
Running
Running
body { | |
margin: 0; | |
padding: 0; | |
background: black; | |
font-family: 'IBM Plex Mono', monospace; | |
color: #fff; | |
text-align: center; | |
height: 100vh; | |
overflow: hidden; | |
} | |
#starfield { | |
position: fixed; | |
top: 0; | |
left: 0; | |
z-index: 0; | |
background: black; | |
} | |
.container { | |
position: relative; | |
z-index: 1; | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
width: 100%; | |
} | |
h1 { | |
font-size: 2rem; | |
margin-bottom: 2vh; | |
color: #aaa; | |
letter-spacing: 2px; | |
} | |
#countdown { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
gap: 4vw; | |
height: 70vh; /* takes 70% of screen height */ | |
width: 100%; | |
} | |
#countdown div { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
font-size: 10vw; /* scale numbers based on width */ | |
line-height: 1; | |
} | |
#countdown span:last-child { | |
font-size: 1.5vw; | |
margin-top: 1vh; | |
letter-spacing: 1px; | |
text-transform: uppercase; | |
color: #ccc; | |
} | |
@keyframes pulse { | |
0% { transform: scale(1); } | |
50% { transform: scale(1.05); } | |
100% { transform: scale(1); } | |
} | |
@keyframes pop { | |
0% { transform: scale(1); } | |
100% { transform: scale(1.1); } | |
} | |
#event-info { | |
position: absolute; | |
top: 20px; | |
left: 20px; | |
z-index: 2; | |
color: #fff; | |
font-size: 0.7vw; | |
letter-spacing: 1px; | |
text-align: left; | |
background-color: rgba(0, 0, 0, 0.4); /* subtle background for readability */ | |
padding: 8px 12px; | |
border-radius: 6px; | |
max-width: 40vw; | |
} | |