-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (115 loc) · 1.95 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
/* Configuração geral */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #2c3e50, #4ca1af);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: #fff;
color: #333;
width: 90%;
max-width: 600px;
padding: 20px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
/* Header */
header {
text-align: center;
}
h1 {
font-size: 28px;
margin-bottom: 10px;
color: #008000;
}
/* Barra de progresso */
.progress-container {
width: 100%;
background: #ddd;
height: 20px;
border-radius: 10px;
overflow: hidden;
margin: 15px 0;
}
.progress-bar {
height: 100%;
width: 0;
background: #008000;
transition: width 0.5s ease;
}
/* Pergunta */
.question-area {
text-align: center;
margin: 20px 0;
}
.question {
font-size: 18px;
color: #555;
}
/* Respostas */
.answers ul {
list-style: none;
padding: 0;
margin: 0;
}
.answers li {
padding: 15px;
margin: 8px 0;
background: #e0ffe0;
color: #333;
border: 2px solid #008000;
border-radius: 10px;
font-size: 16px;
text-align: center;
transition: all 0.3s ease;
}
.answers li.correct {
background: #00b300;
color: white;
}
.answers li:hover {
background: #c3f3c3;
cursor: pointer;
}
/* Controles */
.controls {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 15px;
}
input {
flex: 1;
padding: 12px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
button {
padding: 12px 20px;
background: #008000;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover {
background: #005900;
transform: translateY(-3px);
}
/* Feedback */
#feedback {
text-align: center;
font-size: 18px;
margin-top: 15px;
color: #008000;
}