-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
263 lines (218 loc) · 4.93 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&family=Montserrat&family=Open+Sans:wght@600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-weight: 600 !important;
-webkit-user-select: none;
/* Safari */
-ms-user-select: none;
/* IE 10 and IE 11 */
user-select: none;
/* Standard syntax */
-webkit-tap-highlight-color: transparent;
}
:root {
--bgGradientColor: linear-gradient(to right bottom, #25CCF7, #65dbed);
--radioButtonColor: #25CCF7;
--btnColor: #25CCF7;
--btnHoverColor: #09b8fd;
--glassEffectColor: linear-gradient(to right bottom, rgba(225, 225, 225, 0.8), rgba(225, 225, 225, 0.3));
--blurEffect: 1.5rem;
}
html {
font-size: 62.5%;
/* overflow: hidden; */
}
.main-div {
background: var(--bgGradientColor);
min-height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.logo {
position: absolute;
top: 5%;
left: 5%;
font-size: 3rem;
color: #fff;
font-family: 'Montserrat', sans-serif;
letter-spacing: .1rem;
padding-bottom: 2rem;
border-bottom: .3rem solid #fff;
border-radius: 50%;
}
.logo::first-letter {
color: #0652DD;
font-size: 3.5rem;
}
.glass-div {
background: #fff;
width: 60%;
background: var(--glassEffectColor);
backdrop-filter: blur(var(--blurEffect));
border-radius: 2rem;
border: .3rem solid rgba(225, 225, 225, 0.8);
padding: 3rem 8rem;
z-index: 2;
/* box-shadow: 0 1rem 1rem -0.7rem rgba(0, 0, 0, .2); */
}
.circle1,
.circle2 {
background: #fff;
background: linear-gradient(to right bottom, rgba(225, 225, 225, 1), rgba(225, 225, 225, 0.5));
position: absolute;
height: 20rem;
width: 20rem;
border-radius: 50%;
}
.circle1 {
top: 5%;
right: 15%;
}
.circle2 {
left: 15%;
bottom: 5%;
}
.glass-div h2 {
font-size: 3.2rem;
letter-spacing: .1rem;
margin: 1rem 0 4rem 0;
/* font-family: 'Libre Baskerville', serif; */
font-family: 'Montserrat', sans-serif;
}
.glass-div li {
font-size: 2rem;
font-weight: 500;
list-style: none;
margin-bottom: 2rem;
font-family: 'Open Sans', sans-serif;
}
input[type="radio"] {
margin-right: 1rem;
}
input[type='radio']:after {
width: 1.5rem;
height: 1.5rem;
border-radius: 1.5rem;
top: -.2rem;
left: -.1rem;
position: relative;
background-color: #d1d3d1;
content: '';
display: inline-block;
visibility: visible;
border: .2rem solid white;
cursor: pointer;
}
input[type='radio']:checked:after {
width: 1.8rem;
height: 1.8rem;
border-radius: 1.8rem;
top: -.2rem;
left: -.1rem;
position: relative;
background-color: var(--radioButtonColor);
content: '';
display: inline-block;
visibility: visible;
border: .2rem solid white;
}
#submit,
.btn {
font-size: 2rem;
padding: 1rem 3rem;
outline: none;
border: none;
border-radius: 2rem;
background: var(--btnColor);
color: #fff;
text-transform: uppercase;
}
#submit {
display: block;
margin: auto;
margin-top: 4rem;
}
#submit:hover {
background: var(--btnHoverColor);
cursor: pointer;
}
#showScore {
background: linear-gradient(to right bottom, rgba(225, 225, 225, 0.9), rgba(225, 225, 225, 0.9));
border-radius: 1.5rem;
padding: 3rem 4rem;
margin-top: 3rem;
box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, .1);
}
#showScore h3 {
font-size: 3rem;
font-weight: 600;
text-align: center;
}
#showScore button {
display: block;
margin: auto;
margin-top: 2rem;
background: #58b19fc2;
}
#showScore button:hover {
background: #58b19f;
cursor: pointer;
}
.scoreArea {
display: none;
}
/* for website responsive */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.logo {
top: 2.5%;
}
.glass-div {
width: 90%;
padding: 3rem 5rem;
}
.glass-div h2 {
font-size: 2.4rem;
letter-spacing: .1rem;
margin: 1rem 0 4rem 0;
/* font-family: 'Libre Baskerville', serif; */
font-family: 'Montserrat', sans-serif;
}
.glass-div li {
font-size: 1.9rem;
font-weight: 500;
list-style: none;
margin-bottom: 2rem;
font-family: 'Open Sans', sans-serif;
}
.circle1,
.circle2 {
width: 15rem;
height: 15rem;
}
.circle1 {
top: 2%;
right: 2%;
}
.circle2 {
left: 2%;
bottom: 2%;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
.glass-div {
width: 80%;
padding: 3rem 5rem;
}
.glass-div h2 {
font-size: 2.4rem;
}
}