-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
118 lines (104 loc) · 2.54 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@font-face {
font-family: 'Cursed Timer Ulil';
src: url('fonts/cursed-timer-ulil-font/CursedTimerUlil-Aznm.ttf') format('truetype');
}
:root {
--bg-color: #1a1a2e;
--primary-color: #16213e;
--secondary-color: #0f3460;
--accent-color: #e94560;
--text-color: #f1f1f1;
}
body {
margin: 0;
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Orbitron', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
.container {
display: flex;
justify-content: space-around;
align-items: center;
width: 90%;
max-width: 800px;
margin: auto;
padding: 20px;
background-color: var(--primary-color);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
margin-top: 80px;
}
h3 {
font-size: 2.5rem;
text-align: center;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 3px;
position: relative;
}
h3 i {
font-size: 1.5rem;
position: absolute;
top: -15px;
right: -30px;
color: gold;
opacity: 0;
transition: opacity 0.3s ease;
}
.leading i, .tie i {
opacity: 1;
}
.cursed-font {
font-family: 'Cursed Timer Ulil', sans-serif;
color: var(--accent-color);
}
p {
background-color: var(--secondary-color);
text-align: center;
font-size: 5rem;
padding: 20px;
border-radius: 10px;
margin: 0;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.button-container {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
button {
border: 2px solid var(--text-color);
background-color: var(--primary-color);
color: var(--text-color);
font-family: 'Orbitron', sans-serif;
font-size: 1.2rem;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
transition: all 0.3s ease;
}
button:hover {
background-color: var(--accent-color);
color: var(--primary-color);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.new-game {
font-size: 1.5rem;
padding: 15px 30px;
margin-top: 40px;
background-color: var(--accent-color);
color: var(--primary-color);
border: none;
text-transform: uppercase;
letter-spacing: 2px;
margin-top: -300px;
}
.new-game:hover {
background-color: var(--text-color);
}