-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstilos.css
116 lines (100 loc) · 2.23 KB
/
stilos.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
small {
display: none;
}
body {
margin: 0;
padding: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
background: linear-gradient(150deg, #6C3483, #58d683);
background-image: url('vino4.jpg');
background-size: cover;
height: 100vh;
display: flex; /* Para usar flexbox */
justify-content: center; /* Centrar horizontalmente */
align-items: center; /* Centrar verticalmente */
}
.container {
max-width: 900px;
width: 300%;
padding: 25px 30px;
background-color: rgba(185, 139, 41, 0.8); /* Cambié el color de fondo a azul con un poco de transparencia */
border-radius: 5px;
}
.container .title {
font-size: 25px;
font-weight: 500;
}
.container form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 10px 12px 0;
}
form .form-group {
margin-bottom: 15px;
width: calc(50% - 20px); /* Modificado para ocupar 50% del contenedor */
}
form span {
display: block;
font-weight: 500;
margin-bottom: 5px;
}
.form-group input {
height: 40px;
width: 100%;
outline: none;
border-radius: 5px;
border: 1px solid #ccc;
padding-left: 15px;
border-bottom-width: 2px;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group input:valid {
border-color: skyblue;
}
form .button {
width: 100%;
height: 40px;
margin: 40px 0;
}
form .button input {
width: 100%;
height: 100%;
outline: none;
cursor: pointer;
background: linear-gradient(130deg, blue, skyblue);
color: #fff;
font-size: 16px;
font-weight: 500;
border: none;
border-radius: 5px;
}
form .button input:hover {
background: linear-gradient(130deg, skyblue, blue);
}
.was-validated small {
display: block;
color: red;
}
@media (max-width: 584px) {
.container {
max-width: 100%;
}
form .form-group {
margin-bottom: 15px;
width: 100%;
}
/* Eliminar max-height y overflow-y para evitar problemas de scroll */
.container form::-webkit-scrollbar {
width: 0;
}
form .button {
margin: 20px;
}
}