-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
81 lines (74 loc) · 1.66 KB
/
styles.css
File metadata and controls
81 lines (74 loc) · 1.66 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
@keyframes backgroundChange {
0% { background-color: #121212; }
50% { background-color: #1a1a1a; }
100% { background-color: #121212; }
}
@keyframes pulseEffect {
0%, 100% {
box-shadow: 0 0 15px 1px rgba(46, 204, 113, 0.6); /* Softer start */
}
50% {
box-shadow: 0 0 25px 1px rgba(46, 204, 113, 0.6); /* Softer peak */
}
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
body {
margin: 0;
padding: 0;
/* Darker gradient colors */
background: linear-gradient(-60deg,
#191919, /* 15% darker than #1c1c1c */
#2c2c2c, /* 15% darker than #343434 */
#424242, /* 15% darker than #4f4f4f */
#252525, /* 15% darker than #2e2e2e */
#161616); /* 15% darker than #1a1a1a */
background-size: 500% 500%;
animation: gradient 20s ease-in-out infinite;
background-repeat: no-repeat;
background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
font-family: 'Baloo 2', cursive;
}
h1 {
color: #fff;
margin-bottom: 50px;
}
.button-container {
display: flex;
flex-direction: row;
justify-content: center;
gap: 40px;
}
button {
background-color: #222222;
border: none;
color: white;
padding: 20px 40px;
font-size: 20px;
border-radius: 15px;
outline: none;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Baloo 2', cursive;
animation: pulseEffect 5s infinite ease-in-out; /* Slower and smoother pulsing */
}
button:hover {
background-color: #444;
box-shadow: 0 0 8px #2ecc71;
transform: scale(1.05);
animation: none; /* Stop pulsing effect on hover */
}