-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
251 lines (212 loc) · 3.55 KB
/
style.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
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
body{
margin:0;
font-family: sans-serif;
overflow-x: hidden;
}
*{
box-sizing: border-box;
}
/* inicio do header*/
header{
background-color:#9b1616;
width: 100%;
position: absolute;
top: 0px;
left: 0px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 50px;
z-index: 9;
}
a {
text-decoration: none;
cursor: pointer;
opacity: 0.9;
}
a:hover {
opacity: 1;
}
header img {
width: 200px;
}
nav {
list-style: none;
}
header nav {
display: flex;
}
header li a {
color: #000000
}
header li {
margin: 0px 15px;
}
header li:first-child {
margin-left: 0;
}
header li:last-child {
margin-right: 0;
}
@media (max-width: 700px) {
header {
flex-direction: column;
}
header img {
margin-bottom: 15px;
}
}
/* fim do header */
.home{
height: 80vh;
overflow:hidden;
position: relative;
}
.home .slide{
position: absolute;
left:0;
top:128px;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index:1;
display:none;
padding:0 15px;
animation: slide 2s ease;
}
.home .slide.active{
display: flex;
}
@keyframes slide{
0%{
transform:scale(1.1);
}
100%{
transform: scale(1);
}
}
.container{
max-width: 1170px;
margin:auto;
}
.home .container{
flex-grow: 1;
}
.home .caption{
width:50%;
}
.home .caption h1{
font-size:42px;
color:#000000;
margin:0;
}
.home .slide.active .caption h1{
opacity:0;
animation: captionText .5s ease forwards;
animation-delay:1s;
}
.home .caption p{
font-size: 18px;
margin:15px 0 30px;
color:#222222;
}
.home .slide.active .caption p{
opacity:0;
animation: captionText .5s ease forwards;
animation-delay:1.2s;
}
.home .caption a{
display: inline-block;
padding:10px 30px;
background-color: #000000;
text-decoration: none;
color:#ffffff;
}
.home .slide.active .caption a{
opacity:0;
animation: captionText .5s ease forwards;
animation-delay:1.4s;
}
@keyframes captionText{
0%{
opacity:0; transform: translateX(-100px);
}
100%{
opacity:1; transform: translateX(0px);
}
}
.home .controls .prev,
.home .controls .next{
position: absolute;
z-index:2;
top:50%;
height:40px;
width: 40px;
margin-top: -20px;
color:#ffffff;
background-color: #9b1616;
text-align: center;
line-height: 40px;
font-size:20px;
cursor:pointer;
transition: all .5s ease;
}
.home .controls .prev:hover,
.home .controls .next:hover{
background-color: #000000;
}
.home .controls .prev{
left:0;
}
.home .controls .next{
right:0;
}
.home .indicator{
position: absolute;
left:50%;
bottom:30px;
z-index: 2;
transform: translateX(-50%);
}
.home .indicator div{
display: inline-block;
width:25px;
height: 25px;
color:#ffffff;
background-color: #9b1616;
border-radius:50%;
text-align: center;
line-height: 25px;
margin:0 3px;
}
.home .indicator div.active{
background-color: #000;
}
/*responsive*/
@media(max-width: 767px){
.controls{
display: none;
}
}
/*parallax*/
#parallaxBar{
height:400px;
background-color:#000000;
background: url(images/fortnite.jpg) 100% 0 fixed;
position: relative;
top: 18px;
margin: 100px;
}
#textop{
margin:auto 20px;
background-color: #9b1616;
text-align: center;
font-size: 15pt;
font-family: cursive;
color: #000000;
top: 200px;
}
#canais{
color: #9b1616;
}