-
Notifications
You must be signed in to change notification settings - Fork 0
/
style_contacto.css
169 lines (137 loc) · 2.97 KB
/
style_contacto.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Belanosima:wght@400;600;700&display=swap');
:root {
--color-orange: #FC7300;
--color-bluishgreen: #1F8A70;
--color-darkblue: #00425A;
--color-darkgray: #181823;
--color-whitesmoke: #EFF5F5;
--font-primary: 'Poppins', sans-serif;
--font-secundary: 'Belanosima', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
}
/* Versión Mobile 320px */
header {
background-color: var(--color-darkblue);
height: 12rem;
display: flex;
align-items: center;
justify-content: center;
}
nav {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
nav .logo_container {
display: flex;
flex-direction: column;
}
nav .logo_container a {
display: flex;
flex-direction: column;
align-items: center;
color: var(--color-whitesmoke);
font-size: 2rem;
}
header nav a {
color: var(--color-orange);
font-size: 1.2rem;
text-shadow: 2px 2px 4px #000;
}
main {
height: 50rem;
display: flex;
align-items: center;
background-image: url('img/salon_clases.jpg');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
main .formulario {
display: flex;
align-items: center;
flex-direction: column;
}
.formulario label {
color: var(--color-darkgray);
font-weight: bold;
text-shadow: 2px 2px 4px #fff;
font-size: 1.3rem;
}
.formulario input {
height: 2rem;
border-radius: 5px;
}
.formulario .enviar {
font-size: 1.5rem;
font-weight: bold;
text-shadow: 2px 2px 4px #fff;
padding: 5px 10px;
color: var(--color-darkgray);
background-color: greenyellow;
border-radius: 5px;
}
main .formulario .mensaje {
width: 70%;
margin-bottom: 0.313rem;
border-radius: 5px;
}
footer {
background-color: var(--color-darkblue);
display: flex;
align-items: center;
flex-direction: column;
gap: 2rem;
color: var(--color-whitesmoke);
}
footer h3 {
margin-top: 0.313rem;
}
@media screen and (min-width: 480px) {
main > .formulario {
margin-left: 3rem;
}
}
/* Responsive design 768px - Tablet */
@media screen and (min-width: 768px) {
nav .logo_container a {
font-size: 3rem;
}
main {
justify-content: center;
}
main .formulario {
justify-content: flex-start;
}
footer {
gap: 1rem;
}
footer h3 {
font-size: 2rem;
}
}
/* Responsive design 1024px - Notebook */
@media screen and (min-width: 1024px) {
main .formulario label {
font-size: 2.5rem;
}
main .formulario input {
width: 30rem;
}
main .formulario .mensaje {
width: 70%;
}
.formulario .enviar {
margin-top: 1.25rem;
padding: 1.5rem;
}
}