-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (92 loc) · 2.19 KB
/
Copy pathstyle.css
File metadata and controls
109 lines (92 loc) · 2.19 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
body{
margin: 0;
color: #162d4f;
background: linear-gradient(#183e5c, #ffffff);
font-family: "Papyrus", Georgia, serif;
}
h1{
color: #c5c6c7;
font-size: 5rem;
}
.tagline {
color: #fffdfd;
}
.hero {
padding: 5rem 5rem 5rem;
text-align: center;
}
main{
max-width: 500px;
margin: 0 auto;
padding: 2.5rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(158, 75, 75, 0.3);
border-radius: 24px;
box-shadow: 0 8px 32px rgba(89, 86, 168, 0.842);
}
#message {
font-style: italic;
}
.globe{
width: 12rem;
height: 12rem;
border-radius: 50%;
background: radial-gradient(circle at 30% 25%, #ffffff, #cfe6ff 65%, #9dc4ef);
display: flex;
align-items: center;
justify-content: center;
}
.scene {
width: 78%;
}
button {
font: inherit;
color: #ffffff;
background: #df5034;
border: none;
padding: 0.75rem 1.5rem;
cursor: pointer;
transition: background 150ms ease, transform 150ms ease;
}
button:hover {
background: #a43835;
transform: scale(1.05);
}
@keyframes shake {
0%, 100% { transform: translateX(0) rotate(0deg); }
20% { transform: translateX(-0.6rem) rotate(-4deg); }
40% { transform: translateX(0.6rem) rotate(4deg); }
60% { transform: translateX(-0.4rem) rotate(-2deg); }
80% { transform: translateX(0.4rem) rotate(2deg); }
}
.globe.shaking {
animation: shake 600ms ease;
}
/* Create snowy background particles */
.snow {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
background-image:
radial-gradient(4px 4px at 100px 50px, #fff 100%, transparent),
radial-gradient(6px 6px at 200px 150px, #fff 100%, transparent),
radial-gradient(3px 3px at 300px 250px, #fff 100%, transparent),
radial-gradient(5px 5px at 400px 350px, #fff 100%, transparent),
radial-gradient(4px 4px at 500px 100px, #fff 100%, transparent);
background-size: 600px 600px;
animation: snow 8s linear infinite;
}
/* Animate vertical falling */
@keyframes snow {
0% {
background-position: 0 0;
}
100% {
background-position: 0 600px;
}
}