-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
249 lines (211 loc) · 5 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #F3F4F6;
font-family: 'Inter', sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.custom-font {
font-family: 'Inter', sans-serif;
}
.container {
width: 80%;
max-width: 1200px;
background-color: #F6F8FB;
border-radius: 0.75rem;
display: flex;
flex-direction: row; /* Cambia la dirección del diseño a horizontal */
padding: 2rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem; /* Agrega un margen inferior para evitar que el contenido tape el footer */
}
.left-section {
width: 65%;
padding-right: 2rem;
}
.logo {
margin-bottom: 3rem;
}
.input-section {
margin-bottom: 3rem;
}
.text-xl {
font-size: 1.25rem;
}
.text-gray-700 {
color: #374151;
}
.textarea {
width: 100%;
height: 12rem;
margin-top: 0.5rem;
padding: 0.75rem;
border: 1px solid #D1D5DB;
border-radius: 0.375rem;
font-size: 1rem;
font-family: 'Inter', sans-serif;
}
.info {
display: flex;
align-items: center;
margin-bottom: 2rem;
}
.buttons {
display: flex;
gap: 1rem;
}
.buttons button {
flex: 1;
padding: 0.75rem 0;
border-radius: 0.375rem;
font-size: 1rem;
font-family: 'Inter', sans-serif;
cursor: pointer;
text-align: center;
transition: background-color 0.3s;
}
.btn-encrypt {
background-color: #1D4ED8;
color: white;
border: none;
}
.btn-encrypt:hover {
background-color: #1A45C6;
}
.btn-decrypt {
background-color: white;
border: 1px solid #1D4ED8;
color: #1D4ED8;
}
.btn-decrypt:hover {
background-color: #E5E7EB;
}
.right-section {
width: 400px;
background-color: white;
border-radius: 0.75rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
padding: 1rem;
position: relative;
}
#message-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
width: 100%;
margin-top: 1rem;
}
.illustration {
width: 336px;
height: 304px;
transition: opacity 0.3s;
}
.message-title {
font-size: 1.125rem;
color: #374151;
text-align: center;
margin-top: 1rem;
}
.message-text {
color: #6B7280;
text-align: center;
margin-bottom: 1rem;
}
.hidden {
display: none;
}
#copy-btn {
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-size: 1rem;
font-family: 'Inter', sans-serif;
cursor: pointer;
text-align: center;
background-color: #1D4ED8;
color: white;
border: none;
transition: background-color 0.3s;
margin-top: 1rem;
}
#copy-btn:hover {
background-color: #1A45C6;
}
.footer {
background-color: #F3F4F6; /* Color de fondo */
color: hsl(0, 0%, 0%); /* Color del texto */
padding: 20px; /* Espaciado interno */
text-align: center; /* Centrar el texto */
border-radius: 0.75rem; /* Redondear las esquinas */
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); /* Sombra superior */
width: 80%; /* Asegura que el footer ocupe todo el ancho */
margin-top: auto; /* Asegura que el footer esté al final de la página */
position: absolute; /* Fija el footer en la parte inferior */
bottom: 0; /* Asegura que el footer esté en la parte inferior */
}
/* Enlace del pie de página */
.footer-link {
color: hsl(249, 100%, 50%); /* Color del enlace */
text-decoration: none; /* Sin subrayado */
}
.footer-link:hover {
text-decoration: underline; /* Subrayar al pasar el ratón */
}
/* Consultas de medios para diseño responsivo */
@media (max-width: 768px) {
.container {
flex-direction: column;
padding: 1rem;
}
.left-section, .right-section {
width: 100%;
padding: 0;
margin-bottom: 1rem;
}
.buttons {
flex-direction: column;
}
.buttons button {
width: 100%;
margin-bottom: 0.5rem;
}
/* Oculta la ilustración en tabletas */
.illustration {
display: none;
}
}
@media (max-width: 480px) {
.text-xl {
font-size: 1rem;
}
.textarea {
height: 10rem;
font-size: 0.875rem;
}
.illustration {
width: 100%;
height: auto;
}
#copy-btn {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}
.footer {
width: 100%;
margin-top: 2rem;
position: relative; /* Cambia la posición a relativa para móviles */
bottom: auto; /* Elimina la posición fija del fondo */
}
}