File size: 1,514 Bytes
ff7b899
7e0ed07
 
94efc8a
 
7e0ed07
 
 
94efc8a
 
 
71a5036
 
 
 
 
 
 
 
94efc8a
 
 
7e0ed07
94efc8a
7e0ed07
 
94efc8a
71a5036
7e0ed07
 
94efc8a
 
 
 
 
ff7b899
 
94efc8a
 
 
 
 
71a5036
 
7e0ed07
 
94efc8a
 
 
 
 
71a5036
94efc8a
 
 
 
 
 
 
 
 
 
 
7e0ed07
 
 
 
ff7b899
 
7e0ed07
 
 
ff7b899
fddd973
 
 
 
 
 
 
f715630
fddd973
 
 
 
 
 
 
 
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
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;
}