-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
167 lines (143 loc) · 2.9 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
body {
font-family: 'Roboto', sans-serif;
background-color: #0f172a;
color: white;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.header {
text-align: center;
margin-bottom: 3rem;
}
.header h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
color: #8b5cf6;
text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(147, 197, 253, 0.8), 0 0 15px rgba(147, 197, 253, 0.8);
}
.header p {
font-size: 1.2rem;
color: #9ca3af;
}
.countdown {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}
.countdown-item {
background-color: rgba(31, 41, 55, 0.8);
border-radius: 0.5rem;
padding: 1rem;
min-width: 100px;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.countdown-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.countdown-item span {
display: block;
font-size: 2rem;
font-weight: 700;
color: #8b5cf6;
}
.countdown-item small {
display: block;
font-size: 1rem;
color: #9ca3af;
}
.gift-box {
position: relative;
background-color: rgba(31, 41, 55, 0.8);
border-radius: 1rem;
padding: 2rem;
max-width: 300px;
margin: 0 auto;
transition: all 0.5s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
cursor: pointer;
text-align: center;
}
.gift-box:hover {
transform: scale(1.05);
box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}
.gift-icon {
color: white;
width: 5rem;
height: 5rem;
margin-bottom: 1rem;
}
.revealed-gift {
background-color: rgba(31, 41, 55, 0.9);
border-radius: 1rem;
padding: 2rem;
max-width: 28rem;
margin: 0 auto;
animation: revealAnimation 1s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.gift-content {
background: linear-gradient(to right, #3b82f6, #8b5cf6);
color: white;
padding: 1rem;
border-radius: 0.5rem;
margin-top: 1rem;
}
.gift-content h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
.gift-content p {
font-size: 1.2rem;
}
@keyframes revealAnimation {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}
.hidden {
display: none;
}
/* Mobil Uyumluluk */
@media (max-width: 640px) {
.countdown {
flex-direction: column;
align-items: center;
}
.countdown-item {
min-width: 80px;
padding: 0.75rem;
}
.gift-box {
max-width: 250px;
padding: 1.5rem;
}
.header h1 {
font-size: 2.5rem;
}
.header p {
font-size: 1rem;
}
.gift-content h2 {
font-size: 1.5rem;
}
.gift-content p {
font-size: 1rem;
}
}