-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (85 loc) · 1.83 KB
/
style.css
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
/* Full-Screen Sections */
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: 'Arial', sans-serif;
text-align: center;
color: #fff;
}
.section {
width: 100%;
height: 33.33%; /* Each section takes one-third of the screen height */
display: flex;
align-items: center;
justify-content: center;
position: relative;
animation: fadeInBackground 3s ease-in-out forwards;
opacity: 0;
}
.saffron {
background-color: #FF9933; /* Saffron */
}
.white {
background-color: #ffffff; /* White */
color: #000; /* Black text for visibility */
}
.green {
background-color: #138808; /* Green */
}
header {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
}
header h1 {
margin: 0;
font-size: 3em;
text-transform: uppercase;
letter-spacing: 2px;
color: #FF9933; /* Saffron */
animation: slideDown 2s ease-in-out 1s forwards;
opacity: 0;
}
.countdown {
margin-top: 100px;
}
#timer {
font-size: 2em;
color: #138808; /* Green */
margin-top: 10px;
font-weight: bold;
animation: zoomIn 3s ease-in-out 2s forwards;
opacity: 0;
}
.content {
margin-top: 30px;
}
.animated-text {
font-size: 1.5em;
color: #000080; /* Navy Blue */
margin: 10px 0;
animation: fadeIn 3s ease-in-out 3s forwards;
opacity: 0;
}
/* Keyframes for Animations */
@keyframes fadeInBackground {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideDown {
from { transform: translateY(-50px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
from { transform: scale(0.5); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}