-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_cuestionario.css
195 lines (170 loc) · 3.56 KB
/
style_cuestionario.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
/* Reseteo básico de márgenes y padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Fondo animado para la página */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #74b9ff, #81ecec, #a29bfe);
background-size: 300% 300%;
animation: backgroundAnimation 12s ease infinite;
color: #2d3436;
}
/* Animación del fondo */
@keyframes backgroundAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Contenedor principal del formulario */
form {
max-width: 900px;
margin: 0 auto;
background-color: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
/* Título principal */
h1 {
font-size: 32px;
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
}
/* Subtítulo */
h2 {
font-size: 26px;
color: #2980b9;
margin-bottom: 20px;
}
/* Sección de cada pregunta */
label {
font-size: 20px;
color: #2c3e50;
margin-bottom: 10px;
display: block;
}
/* Estilo de los inputs y selects */
input[type="text"],
input[type="number"],
select,
textarea {
width: 100%;
padding: 15px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 18px;
}
textarea {
resize: vertical;
}
/* Botón de envío */
button[type="submit"] {
background-color: #2980b9;
color: white;
border: none;
padding: 15px 25px;
font-size: 22px;
border-radius: 8px;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
background-color: #1d5f7e;
}
/* Estilo para el botón de "Regístrate aquí" */
p a button {
background-color: #2980b9; /* Azul similar al botón de "Iniciar sesión" */
color: white;
border: none;
padding: 10px 20px;
font-size: 18px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center;
text-decoration: none; /* Evita subrayado */
}
/* Hover del botón "Regístrate aquí" */
p a button:hover {
background-color: #1d5f7e; /* Un tono más oscuro para el hover */
}
/* Sección MPID */
.mpid-section {
margin-top: 30px;
margin-bottom: 10px; /* Reduce el margen inferior */
background-color: #ecf0f1;
padding: 20px;
border-radius: 8px;
border: 1px solid #ddd;
}
.mpid-section h3 {
font-size: 24px;
color: #2980b9;
margin-bottom: 10px;
}
/* Estilos para los selectores y textarea dentro de MPID */
.mpid-section select,
.mpid-section textarea {
margin-bottom: 10px;
}
/* Estilo para los campos requeridos */
input[required],
select[required],
textarea[required] {
border: 2px solid #2980b9;
padding: 15px;
font-size: 18px;
}
/* Mejoras visuales para el foco */
input:focus,
select:focus,
textarea:focus,
button:focus {
outline: 3px solid #1d5f7e;
outline-offset: 2px;
}
/* Diseño responsive */
@media (max-width: 768px) {
form {
padding: 20px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 24px;
}
label {
font-size: 18px;
}
input[type="text"],
input[type="number"],
select,
textarea {
font-size: 16px;
padding: 12px;
}
button[type="submit"] {
font-size: 18px;
padding: 12px;
}
}