-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathestilo.css
More file actions
312 lines (272 loc) · 6.59 KB
/
estilo.css
File metadata and controls
312 lines (272 loc) · 6.59 KB
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600;1,700&family=Mulish:ital,wght@0,200;0,300;1,200&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css');
*{ /* O "*" seleciona todos os itens para n propriedades*/
text-decoration: none; /*tira o formato padrao dos links de sublinhado*/
list-style: none; /*tira o estilo da lista UL*/
margin: 0; /*margem em geral*/
padding: 0; /**/
}
.hamburguer{
cursor: pointer; /*cursor para mãozinha*/
width: 2em; /*largura */
height: 2em; /*altura*/
position: fixed; /*posição fixa do meu icone do menu*/
z-index: 100; /*posicionamento em ordem de camadas*/
right: 2em; /*direita*/
top: 2em; /*topo*/
display: flex; /*posicionamento dos meus elementos dentro da minha div*/
flex-direction: column; /* deixa os elemntos em coluna, flex-derection com o valor de coluna*/
justify-content: space-around; /*Os conjuntos como os navegadores lidam com o espaço ao redor e entre elementos ao longo do eixo principal*/
}
.hamburguer span{
position: absolute;
left: 3em;
height: 2em;
width: 6em;
background: #535cad;
background: -webkit-linear-gradient(to right, #141053d5, #537dad9c);
background: linear-gradient(to right, #141053d5, #537dad9c);
display: flex;
justify-content: center;
align-items: center;
color: white;
opacity: 0;
}
.show-menu .hamburguer:hover span{
transition: .7s;
opacity: 1;
}
.hamburguer span::before{ /* triangulo do elemento pai*/
content: "";
position: absolute;
border-right: .5rem solid #141053d5;
border-top: .5rem solid ;
border-left: .5rem solid ;
border-bottom: .5rem solid;
left: -1rem;
}
.show-menu .hamburguer{
right: 15em;
transition: 1s;
}
.line{
width: 100%; /*largura*/
height: .1em; /*altura*/
background: white; /*cor dos elementos*/
box-shadow: black 2px 2px 1px; /*sombra dos elementos*/
transition: 1s; /*transition de um efeito*/
}
.show-menu #line1{
transform: rotate(45deg) translate(.3rem, .45em);
}
.show-menu #line2{
opacity: 0;
visibility: hidden;
}
.show-menu #line3{
transform: rotate(-45deg) translate(.3rem, -.45em);
}
header{
width: 100%; /*largura 100%*/
height: 100vh; /*altura, toda minha visao*/
position: relative;
}
.img-wrapper{
width: 100%;
height: 100%;
overflow: hidden;/*O conteúdo é cortado e nenhuma barra de rolagem é exibida*/
background-color: rgba(0.0.0.8); /*(o,o,o,8:cor alfa )*/
}
.img-wrapper img{
width: 100%;
height: 100%;
object-fit: cover; /*Essa propriedade instrui o conteúdo a preencher o contêiner de várias maneiras; como "preservar essa proporção de aspecto" ou "esticar e ocupar o máximo de espaço possível".*/
opacity: 0.7 ;
animation: zoom 25s ; /*@keyframes*/
}
@keyframes zoom {
0%{
transform: scale(1.3);
}
100%{
transform: scale(1);
}
}
.banner{
position: absolute;
top: 30%;
left: 15%;
}
@keyframes movebanner{
0%{
transform: translateY(10rem) rotateY(-30deg);
}
100%{
transform: translateX(0rem);
opacity: 1;
}
}
.banner h1{
color: white;
font-size: 4em;
font-family: serif;
font-weight: 200;
text-shadow: .3rem .4rem 2px rgb(0.0.0.4);
line-height: 3rem;
margin-bottom: 3.5rem;
animation: movebanner 0.5s forwards;
opacity: 0;
}
.banner p{
font-family: "Josefin Slab", serif;
font-size: 2.5rem;
color: #fff;
text-shadow: .2rem .2rem rgb(0.0.0.4);
margin-bottom: 2rem;
animation: movebanner 0.7s forwards;
opacity: 0;
}
.banner button{
font-size: 1rem;
font-family: "Muli", serif;
color: rgba(255, 255, 255, 0.712);
text-transform: uppercase;
letter-spacing: .1rem;
background: #535cad;
background: -webkit-linear-gradient(to right, #141053d5, #537dad9c);
background: linear-gradient(to right, #141053d5, #537dad9c);
padding: 1rem 2rem;
border: none;
border-radius: 5px;
cursor: pointer;
animation: movebanner 1s forwards;
opacity: 0;
}
.banner button:hover{
position: relative;
color: white;
padding: 1.5rem 3rem;
transition: 1s;
}
.sidebar{
width: 20rem;
height: 100vh;
background: #fff;
position: fixed;
top: 0;
right: -20rem;
transition: all 1s;
}
.show-menu .sidebar{ /*esta ligado com meu script */
right: 0;
}
.menu{
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.menu-item{
text-transform: uppercase;
margin-bottom: 20px;
text-align: center;
}
.menu-link{
font-family: serif;
font-size: 1.5rem;
color: #555;
transition: color 1s ;
}
.menu-link:hover{
transition: .7s;
font-size: 2rem;
color: #6a3093;
}
.social-media{
position: absolute;
bottom: 2rem;
width: 100%;
display: flex;
justify-content: space-evenly;
}
.social-media i{
background: #6a3093;
color: rgba(255,255,255,1);
height: 2.5rem;
width: 2.5rem;
font-size: 2rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
transition: color 1s;
}
.social-media i:hover{
background: #a044ff;
}
.conhecimentos{
display:grid;
grid-template-columns: repeat(16, 1fr);
grid-template-rows: repeat(6, 6rem);
row-gap: 1rem;
}
.conhecimento:nth-child(1){
grid-column: 4 / 7 ;
grid-row: 1 / 3 ;
}
.conhecimento:nth-child(2){
grid-column: 3 / 6 ;
grid-row: 3 / 5 ;
}
.conhecimento:nth-child(3){
grid-column: 4 / 7 ;
grid-row: 5 / -1 ;
}
.conhecimento:nth-child(4){
grid-column: 11 / 14 ;
grid-row: 1 / 3 ;
}
.conhecimento:nth-child(5){
grid-column: 12 / 15 ;
grid-row: 3 / 5 ;
}
.conhecimento:nth-child(6){
grid-column: 11 / 14 ;
grid-row: 5 / -1 ;
}
.sessao-header{
display: flex;
align-items: center;
justify-content: center;
}
.sessao-header h1{
text-transform: uppercase;
font-size: 3rem;
color: #4b4b4b;
border-bottom: solid 3px #6a3093;
margin-bottom: 1.5rem;
}
.conhecimento-header{
display: flex;
align-items: center;
}
.conhecimento-header i{
font-size: 2.5rem;
}
.conhecimento-header h3{
font-family: 'Times New Roman', Times, serif;
font-size: 2rem;
padding-left: 1rem;
}
.conhecimento-text{
font-family: 'Times New Roman', Times, serif;
}
.conhecimentos-img{
grid-column: 7 / 11;
grid-row: 2 / 6;
width: 100%;
}
.conhecimentos-img img{
object-fit: cover;
width: 100%;
}