-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (102 loc) · 1.87 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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
html,
body {
height: 100%;
width: 100%;
}
#main-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
overflow: hidden;
max-width: 1536px;
max-height: 707.2px;
margin-left: auto;
margin-right: auto;
}
.main {
height: 90%;
width: 90%;
background-color: rgb(218, 93, 118);
padding: 40px;
border-radius: 24px;
}
.maintop {
height: 100px;
display: grid;
grid-template-columns: auto auto auto;
justify-items: center;
align-items: center;
text-align: center;
margin-bottom: 40px;
}
.column h3 {
font-size: 32px;
color: white;
margin-bottom: 10px;
}
.column .box {
font-size: 24px;
padding: 12px 24px;
background-color: white;
border-radius: 12px;
}
.mainbottom {
display: flex;
justify-content: center;
align-items: center;
height: calc(100%-140px);
flex-wrap: wrap;
gap: 10px;
}
.bubble-box {
font-size: 24px;
padding: 12px 24px;
background-color: rgb(144, 39, 39);
border-radius: 12px;
color: white;
cursor: pointer;
}
.bubble-box:hover {
background-color: cadetblue;
}
.game-over{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
height: 50%;
background-color: crimson;
color: #fff;
z-index: 999;
display: flex!important;
justify-content: center;
align-items: center;
border-radius: 20px;
border: 2px solid #fff;
font-size: 2rem;
font-weight: 700;
text-align: center;
display: none;
}
@media only screen and (max-width: 600px) {
body {
height: auto;
}
.main {
padding: 10px;
width: 100%;
height: auto;
border-radius: 0px;
}
#main-wrapper{
max-height:100%;
}
}