-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (87 loc) · 2.16 KB
/
Copy pathstyle.css
File metadata and controls
96 lines (87 loc) · 2.16 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
/* Base Styles */
body {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Glassmorphism Panel */
.glass-panel {
background: rgba(255, 255, 255, 0.05); /* very subtle white */
border: 1px solid rgba(255, 255, 255, 0.15);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
}
/* Urdu Typography */
.urdu-text {
font-family: 'Noto Nastaliq Urdu', serif;
line-height: 2.6;
letter-spacing: -0.02em;
font-style: italic;
}
/* Page Transitions (Fade In & Slide Up) */
.page-content {
opacity: 0;
transform: translateY(30px) scale(0.98);
transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
position: absolute;
width: 100%;
left: 0;
top: 0;
pointer-events: none;
visibility: hidden;
padding: 3rem; /* match padding of container */
}
/* Responsive padding correction for absolute position */
@media (max-width: 768px) {
.page-content {
padding: 2rem;
}
}
.page-content.active {
opacity: 1;
transform: translateY(0) scale(1);
position: relative;
pointer-events: auto;
visibility: visible;
padding: 0; /* Reset since it's now relative flow */
}
/* Floating Emojis */
.floating-emoji {
position: absolute;
bottom: -60px;
font-size: 24px;
animation: floatUp linear forwards;
opacity: 0;
filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}
@keyframes floatUp {
0% {
transform: translateY(0) rotate(0deg) scale(0.8);
opacity: 0;
}
10% {
opacity: 0.8;
transform: translateY(-10vh) rotate(30deg) scale(1);
}
80% {
opacity: 0.6;
}
100% {
transform: translateY(-110vh) rotate(180deg) scale(0.9);
opacity: 0;
}
}
/* Celebration Animations */
@keyframes heartBeat {
0% { transform: scale(1); }
14% { transform: scale(1.1); }
28% { transform: scale(1); }
42% { transform: scale(1.1); }
70% { transform: scale(1); }
}
.heart-beat {
animation: heartBeat 1.2s infinite;
}