-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (112 loc) · 2.38 KB
/
styles.css
File metadata and controls
129 lines (112 loc) · 2.38 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
/* General Styles */
html, body {
margin: 0;
padding: 0;
overflow: hidden;
text-align: center;
color: #fff;
font-family: Arial, sans-serif;
}
body {
background: url('http://www.nhembram.com/images/happy_holi.jpg') no-repeat center center fixed;
background-size: cover;
}
/* Full-Screen Canvas */
canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 1;
}
/* Animated Holi Text */
.holi-text {
position: relative;
z-index: 1;
font-size: 5vw;
margin-top: 20vh;
font-family: 'Great Vibes', cursive;
animation: bounce 2s infinite alternate ease-in-out;
}
/* Quote Container */
.holi-quote-container {
position: absolute;
top: 65%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0, 0.8); /* Semi-transparent white */
padding: 15px 20px;
border-radius: 15px;
max-width: 80%;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
animation: fadeIn 3s ease-in-out;
}
.holi-quote {
font-size: 1.5rem;
font-weight: bold;
background: linear-gradient(to right, #ff8c8c, #ffb872, #b9b9ff, #abff7e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin: 0;
}
/* Instruction Text */
.instruction {
font-size: 1rem;
color: #deffff;
position: relative;
z-index: 1;
}
/* Footer Styling */
.footer {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
font-size: 1rem;
color: #ffffff;
font-weight: bold;
opacity: 0.9;
text-align: center;
z-index: 1;
}
.footer a {
color: #9cffde;
text-decoration: none;
font-weight: bold;
}
.footer a:hover {
color: #c0ffc2;
text-decoration: underline;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.holi-text {
font-size: 2.5rem;
}
.holi-quote {
font-size: 1.2rem;
}
.instruction {
font-size: 0.9rem;
}
.footer {
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.holi-text {
font-size: 2rem;
}
.holi-quote {
font-size: 1rem;
}
.instruction {
font-size: 0.8rem;
}
.footer {
font-size: 0.8rem;
}
}