-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (103 loc) · 2.17 KB
/
style.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
119
120
121
122
123
124
125
126
127
128
129
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Nunito:wght@300;400;500;600;700;800;900;1000&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Nunito", sans-serif;
}
:root {
--black: #000000;
--white: #fff;
--color-A: #5a9052;
--cinzel-font: "Cinzel", serif;
--nunito-font: "Nunito", sans-serif;
}
/* Single class starts here */
.cinzel-font {
font-family: var(--cinzel-font);
text-transform: capitalize;
}
.container {
height: 100vh;
width: 100vw;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.container video {
position: absolute;
height: 100%;
width: 100%;
object-fit: cover;
}
#game-container {
padding: 50px;
position: relative;
width: 600px;
height: 600px;
border: 0px solid #fff;
box-shadow: inset 0 0 30px #ffffff45;
border-radius: 30px;
margin: 5px;
overflow: hidden;
backdrop-filter: blur(5px);
display: flex;
align-items: center;
justify-content: center;
}
.box {
width: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 30px;
}
.box h1 {
color: #fff;
font-family: var(--cinzel-font);
text-shadow: 0 0 10px #fff, 0 0 10px #fff;
}
.box .btn-container {
width: 100%;
}
#yes {
margin-left: 120px;
padding: 6px 22px;
font-size: 25px;
font-weight: 600;
border: none;
outline: none;
border-radius: 30px;
color: #fff;
text-shadow: 0 0 10px #fff;
background: transparent;
box-shadow: inset 0 0 10px #fff, inset 0 0 10px #fff;
}
#yes:is(:hover,:focus){
cursor: pointer;
box-shadow: 0 0 10px #3be460, 0 0 10px #3be460;
}
#target {
position: absolute;
left: 290px;
padding: 6px 25px;
font-size: 25px;
font-weight: 600;
border: none;
outline: none;
border-radius: 30px;
color: #fff;
text-shadow: 0 0 10px #fff;
background: transparent;
box-shadow: inset 0 0 10px #fff, inset 0 0 10px #fff;
transition: top 0.3s, left 0.3s;
transition-delay: 0.3s;
cursor: pointer;
}
#target:is(:hover,:focus) {
box-shadow: 0 0 10px #eb4322, 0 0 10px #eb4322;
}