-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
262 lines (227 loc) · 6.32 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
/* Corpo da página */
body {
font-family: "Protest Strike", sans-serif;
background-image: url('images/background-jaga.jpg');
background-size: cover; /* Faz com que a imagem cubra toda a área */
background-position: center; /* Centraliza a imagem */
background-repeat: no-repeat; /* sem repetição de imagem */
background-attachment: fixed; /* Garante que a imagem fique fixa no fundo */
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
text-align: center;
margin: 0;
}
/* Estilo do título */
.pagina__titulo {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 32px;
margin-right: 10px;
margin-left: 10px;
color: #057669;
}
/* Botões da página inicial */
.btn-proximo {
padding: 12px 50px;
width: 300px;
height: 50px;
margin: 0 25px;
font-size: 20px;
font-family: "Protest Strike";
cursor: pointer;
background-color: #155e85;
color: white;
border: none;
border-radius: 8px;
transition: background-color 0.3s ease, transform 0.2s ease;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-proximo:hover {
background-color: #0277bd;
transform: translateY(-3px); /* Animação de hover */
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}
.btn-proximo:active {
transform: translateY(0px); /* Animação de "pressionado" ao clicar */
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.pagina__imagem {
width: 800px;
height: 400px;
display: flex;
margin: auto;
margin-bottom: 2em;
margin-top: 2em;
}
.pagina__imagem2{
width: 400px;
height: 200px;
display: flex;
margin: auto;
margin-bottom: 3em;
margin-top: 2em;
}
.difracao__texto{
font-size: 20px;
margin: 0 2em;
color: #089b8a;
font-weight: 200;
}
.div_formula img {
width: 173vh;
height: 73vh;
margin: 10px;
}
.passo {
display: none;
}
.passo.ativo {
display: block;
}
.container {
text-align: center;
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
width: 300px;
}
/* Calculadora */
.calculator {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 20px;
padding: 30px;
background-color: #f0f8f8; /* Cor de fundo suave */
border-radius: 20px; /* Bordas arredondadas */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Sombra leve */
width: 400px; /* Ajusta o tamanho da calculadora */
margin: 0 auto; /* Centraliza no meio da página */
}
.calculator h1 {
color: #057669;
font-size: 28px; /* Aumenta o título */
margin-bottom: 20px;
}
/* Estilo dos inputs */
input {
padding: 12px;
width: calc(100% - 24px); /* Ajuste do tamanho para alinhar com a borda */
border: 2px solid #057669;
border-radius: 12px; /* Bordas mais arredondadas */
font-size: 16px;
transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transição suave */
}
input:focus {
border-color: #005b5c;
outline: none;
box-shadow: 0 0 8px rgba(0, 90, 92, 0.5); /* Efeito de foco com sombra */
}
/* Estilo para a caixa de comprimento do laser */
select {
width: calc(100% - -3px); /* Ajuste da largura para ocupar toda a área como os inputs */
padding: 10px; /* Espaçamento interno para torná-lo proporcional aos inputs */
font-size: 16px; /* Tamanho da fonte para harmonizar com o restante */
font-family: "Arial";
border: 2px solid #057669;
border-radius: 8px;
appearance: none; /* Remove o estilo padrão */
background-color: white;
text-align: center; /* Centraliza o texto */
transition: border-color 0.3s ease;
}
select:focus {
border-color: #005b5c;
outline: none;
}
/* Estilo para os options */
select option {
padding: 10px;
background-color: #fff;
color: #333;
}
/* Estilo do resultado */
.result {
margin-top: 20px;
font-size: 24px;
font-weight: bold; /* Deixa o texto mais destacado */
color: #333;
background-color: #e0f2f1; /* Fundo suave para destacar o resultado */
padding: 10px;
border-radius: 10px; /* Bordas arredondadas */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
}
/* Estilo dos botões da calculadora */
button {
padding: 12px 20px;
font-size: 18px;
font-family: "Protest Strike";
background-color: #155e85;
color: white;
border: none;
border-radius: 12px; /* Bordas arredondadas */
margin-top: 20px;
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Transição suave */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}
button:hover {
background-color: #0277bd;
transform: translateY(-3px); /* Efeito hover */
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}
button:active {
transform: translateY(0px); /* Efeito de "pressionamento" ao clicar */
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
/* Ajustes no botão "Mostrar calculadora" */
#showCalculatorButton {
margin-bottom: 30px; /* Espaçamento maior */
background-color: #ff7043; /* Cor combinando com o resto da página */
border-radius: 12px; /* Bordas arredondadas */
}
/* Centralizando os input-groups */
.input-group {
display: flex;
flex-direction: column;
margin: 15px 0;
width: 100%; /* Faz o input ocupar toda a largura disponível */
text-align: center; /* Mantém o label alinhado à esquerda */
}
/* Aparência dos labels */
label {
font-size: 18px;
font-weight: bold;
color: #057669;
margin-bottom: 8px;
}
/* Aparência dos inputs */
input {
padding: 10px;
width: calc(100% - 20px); /* Ajuste do tamanho para alinhar com a borda */
border: 2px solid #057669;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease;
}
input:focus {
border-color: #005b5c;
outline: none;
}
.result {
margin-top: 20px;
font-size: 24px;
color: #333;
}
.transparent {
opacity: 1;
}
.visible {
opacity: 1;
}