-
Notifications
You must be signed in to change notification settings - Fork 3
/
estilos.css
226 lines (187 loc) · 3.87 KB
/
estilos.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
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Open Sans', sans-serif;
}
nav{
position: fixed;
top: 20px;
left: 20px;
display: flex;
justify-content: flex-start;
}
nav a{
color:#fff;
text-decoration: none;
}
.icono{
display: block;
z-index: 100000000;
animation: moverIzquierda 1s ease-in;
}
header{
background: #DA4453; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #89216B, #DA4453); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #89216B, #DA4453); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
height: auto;
padding: 48px;
width: 100%;
}
.container{
width: 95%;
max-width: 1200px;
display: flex;
align-items: center;
justify-content: space-around;
margin: auto;
}
img{
display: block;
height: 450px;
object-fit: cover;
animation: arriba 1s ease-in;
}
.textos{
width: 50%;
color:#fff;
}
.textos h1{
font-size:80px;
animation: moverDerecha 1s ease-in;
}
.textos h2{
font-size:30px;
animation: moverIzquierda 1s ease-in;
}
.textos a{
display: inline-block;
color:#fff;
font-weight: 300;
text-decoration: none;
margin-top: 30px;
border: 1px solid #fff;
width: 150px;
border-radius: 3px;
text-align: center;
padding: 10px 0;
animation: arriba 1s ease-in;
}
.wave{
height: 100px;
width: 100%;
background: #DA4453; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #89216B, #DA4453); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #89216B, #DA4453); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.enlaces{
position: fixed;
display: flex;
top: 0;
background: #000;
justify-content: space-around;
align-items: center;
height: 100vh;
right: 0;
flex-direction: column;
width: 100%;
transition: all 1s ease;
background: #bc4e9c; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #f80759, #bc4e9c); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #f80759, #bc4e9c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.uno{
-webkit-clip-path: circle(0% at 0 0);
clip-path: circle(0% at 0 0);
}
.dos{
-webkit-clip-path: circle(150% at 0 0);
clip-path: circle(150% at 0 0);
}
@keyframes moverIzquierda{
0%{
opacity: 0;
transform: translateX(-100px);
}
100%{
opacity: 1;
transform: translate(0);
}
}
@keyframes moverDerecha{
0%{
opacity: 0;
transform: translateX(100px);
}
100%{
opacity: 1;
transform: translate(0);
}
}
@keyframes arriba{
0%{
opacity: 0;
transform: translateY(100px);
}
100%{
opacity: 1;
transform: translate(0);
}
}
@media screen and (max-width:1000px){
img{
height: 400px;
}
}
@media screen and (max-width:800px){
img{
height: 370px;
}
.textos h1{
font-size: 70px;
}
.textos h2{
font-size: 25px;
}
}
@media screen and (max-width:700px){
img{
height: 250px;
}
.textos h1{
font-size: 40px;
}
.textos h2{
font-size: 15px;
}
}
@media screen and (max-width:450px){
.container{
width: 100%;
flex-wrap: wrap-reverse;
justify-content: center;
}
.textos{
width: 100%;
text-align: center;
}
.textos h1{
font-size: 60px;
}
}
@media screen and (max-width:340px){
img{
height: 160px;
}
.textos h1{
font-size: 35px;
}
.textos a{
width: 120px;
}
.textos h2{
font-size: 15px;
}
}