-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
57 lines (51 loc) · 1.21 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
body {
background-image: url('https://media.istockphoto.com/id/2159631236/photo/logic-vs-emotions-logical-choice-versus-emotional.jpg?s=1024x1024&w=is&k=20&c=okMxrYMM8yFyrbLiMuAzonCry6BfJy1ebyICeW-_zNk=');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: flex-end; /* Moves the box towards the bottom */
height: 100vh;
margin: 0;
}
.container {
background-color: navy; /* Transparent black background */
padding: 20px;
border-radius: 10px;
text-align: center;
width: 300px; /* Reduce width */
position: relative;
top: 50px; /* Move it down further */
}
#question-box {
font-size: 20px;
color: white;
margin-bottom: 10px;
}
input[type="text"] {
width: 100%;
padding: 10px;
font-size: 16px;
border-radius: 5px;
border: none;
margin-bottom: 10px;
}
.submit-btn {
background-color: #00bcd4;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
#timer {
font-size: 18px;
color: red;
margin-top: 10px;
}
#result-box, #score-box {
font-size: 18px;
color: white;
margin-top: 10px;
}