-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (92 loc) · 1.64 KB
/
style.css
File metadata and controls
102 lines (92 loc) · 1.64 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
body {
font-family: "Poppins", sans-serif;
background: linear-gradient(135deg, hsl(0, 0%, 0%), hsl(0, 0%, 0%));
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
overflow: hidden;
}
h1 {
font-size: 2.5rem;
margin-bottom: 30px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
animation: fadeIn 1s ease;
}
.game-container {
display: flex;
gap: 20px;
flex-wrap: wrap;
justify-content: center;
}
button {
padding: 15px 30px;
border: none;
border-radius: 14px;
font-size: 18px;
cursor: pointer;
font-weight: bold;
color: white;
opacity: 0.9;
transition: transform 0.3s ease, opacity 0.3s ease;
}
button:hover {
transform: scale(1.1);
opacity: 1;
}
.purple {
background: #8e44ad;
}
.green {
background: #27ae60;
}
.orange {
background: #e67e22;
}
.dialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
padding: 25px 40px;
border-radius: 20px;
text-align: center;
color: #fff;
font-size: 20px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease;
z-index: 999;
}
.dialog.show {
transform: translate(-50%, -50%) scale(1);
}
.dialog button {
margin-top: 20px;
background: #34495e;
font-size: 16px;
padding: 10px 20px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 600px) {
h1 {
font-size: 1.8rem;
}
button {
width: 100px;
font-size: 16px;
}
}