-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
158 lines (140 loc) · 2.52 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
text-align: center;
font-family: 'Arial', sans-serif;
background-color: #f2f2f2;
}
h1 {
color: #3498db;
font-family: 'Cambria', Cochin, Georgia, Times, 'Times New Roman', serif;
word-spacing: 0.2rem;
margin-top: 20px;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
h1:hover {
transform: scale(1.05);
transition: transform 0.3s ease-in-out;
}
.button-btn {
font-family: 'Georgia', 'Times New Roman', Times, serif;
font-weight: bold;
font-size: 16px;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.button-btn:hover {
background-color: #3498db;
color: #fff;
}
.result-container {
border: 2px solid #ccc;
background-color: #ecf0f1;
width: 40%;
margin: 20px auto;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.result-container h3 {
margin-bottom: 10px;
color: #333;
}
#score {
font-weight: bold;
color: #27ae60;
}
/* Optional: Add responsive styles */
@media (max-width: 850px) {
.result-container {
width: 99%;
}
}
.button-choice{
width: 120px;
height: 190px;
margin: 15px;
border: 2px solid #ccc;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
transition: transform 0.2s ease-in-out;
}
@media (max-width: 700px) {
.button-choice{
width: 85px;
height: 140px;
}
}
.button-choice:hover{
cursor: pointer;
transform: scale(1.1);
}
.choice-image{
width: 100%;
height: 100%;
object-fit: cover;
}
.modal {
display: none;
text-align: left;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
overflow: scroll;
}
h2{
text-align: center;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.pop-up{
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
padding: 0.5rem 0rem;
font-size: 1.1rem;
}
.modal-content {
background-color: #fff;
margin: auto;
padding: 20px;
border-radius: 10px;
max-width: 550px;
position: relative;
padding-left: 3.5%;
}
b{
color: #1d2721;
}
.close-modal-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
h2, h3 {
color: #3498db;
}
p, ul, ol {
color: #333;
}
ol {
margin-left: 20px;
}
ul {
margin-left: 20px;
}
li {
margin-bottom: 10px;
}