-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.css
68 lines (50 loc) · 1.91 KB
/
main.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
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@500&display=swap');
.puff {
font-family: "DynaPuff", serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
body {
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
overflow: auto; /* Ensure scrolling works */
}
// <uniquifier>: Use a unique and descriptive class name
/* Background Animation */
@keyframes waveAnimation {
0% {
background-position: 0 center;
}
100% {
background-position: -20vw center;
}
}
.waves {
position: fixed; /* Keeps it fixed relative to the viewport */
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Ensures it remains in the background */
background-image: url("data:image/svg+xml;utf8,%3Csvg width=%222000%22 height=%221400%22 xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3ClinearGradient id=%22a%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23ef9894%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23f3b1ae%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath fill=%22rgba(236, 227, 202, 0)%22 d=%22M0 0h2000v1400H0z%22%2F%3E%3Cpath d=%22M0 700c122.435 32.528 244.87 65.057 354 39 109.13-26.057 204.954-110.698 311-89 106.046 21.698 222.313 149.737 337 148 114.687-1.737 227.792-133.25 326-137s181.517 120.26 313 129c131.483 8.74 311.138-97.788 379-132 67.862-34.212 23.931 3.894 20 42l-40 700H0Z%22 fill=%22url(%23a)%22%2F%3E%3C%2Fsvg%3E");
background-size: 150% 100%;
background-position: 0 center;
animation: waveAnimation 20s linear infinite alternate;
pointer-events: none; /* Ensures the waves don't block clicks */
}
.pink {
background-color: #ffb4ec;
}
.text-pink {
color: #ffb4ec;
}
.btn-rounded {
border-radius: 20px;
}