-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
318 lines (271 loc) · 5.19 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
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
313
314
315
316
317
318
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
body{
background-color: black;
color: white;
}
.header{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(netflix-img/images/header-image.png);
background-size: cover;
background-position: center;
padding: 10px 8%;
position: relative;
}
nav{
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0px;
}
.logo{
width: 150px;
cursor: pointer;
}
nav button{
border: 0;
outline: 0;
background-color: red;
color: white;
padding: 7px 20px;
font-size: 12px;
border-radius: 4px;
margin-left: 10px;
cursor: pointer;
}
.language-button{
display: inline-flex;
align-items: center;
background: transparent;
border: 1px solid white;
padding: 7px 10px;
}
.language-button img{
width: 10px;
margin-left: 10px;
}
.header-content{
position: absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
text-align: center;
margin-top: 100px;
}
.header-content h1{
font-size: 60px;
line-height: 70px;
font-weight: 600;
max-width: 650;
}
.header-content h3{
font-weight: 400;
margin-bottom: 20px;
}
.email-setup{
background: white;
border-radius: 4px;
display: flex;
align-items: center;
margin-top: 30px;
overflow: hidden;
}
.email-setup input{
flex:1;
border:0;
outline: 0;
margin-left: 20px;
}
.email-setup button{
background: red;
border: 0;
outline: 0;
color: white;
font-size: 16px;
padding:15px 20px;
}
.feature{
padding: 50px 12%;
font-size: 20px;
border-top:6px solid #333;
}
.row{
display:flex;
width:100%;
flex-wrap: wrap;
align-items: center;
padding:50px 0px;
}
.text-col{
flex-basis:50%;
margin-bottom:20px;
}
.img-col{
flex-basis:50%;
margin-bottom:20px;
}
.img-col img{
display: block;
width: 90%;
margin: auto;
}
.feature h2{
font-size: 50px;
font-weight: 600;
margin-bottom: 20px;
}
.faq{
padding:10px 12%;
text-align: center;
font-size: 18px;
}
.faq h2{
font-weight: 500;
font-size: 40px;
}
.accordion{
margin:60px auto;
width:100%;
max-width: 750px;
}
.accordion li{
list-style: none;
width: 100%;
padding:5px;
}
.accordion li label{
display: flex;
/* align-items: center; */
padding: 20px;
font-size: 18px;
font-weight: 500;
background: #303030;
margin-bottom: 4px;
cursor: pointer;
position: relative;
}
label::after{
content: '+';
font-size: 34px;
position: absolute;
right: 20px;
top: 19%;
transition: transform(00.5s);
}
input[type="radio"]{
display: none;
}
.accordion .content{
background: #303030;
text-align: left;
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.5s,padding 0.5s;
}
.accordion input[type="radio"]:checked+ label + .content{
max-height: 600px;
padding: 30px 20px;
}
.accordion input[type="radio"]:checked+ label::after{
transform: rotate(135deg);
}
.faq .email-setup{
max-width: 600px;
margin: 20px auto 60px;
}
.faq small{
font-size: 13px;
}
.footer{
padding: 50px 15% 10px;
border-top:6px solid #333;
color: rgb(208, 197, 197);
}
.footer h2{
font-size: 18px;
font-weight: 400;
margin-bottom: 30px;
}
.footer .col{
flex-basis: 25%;
flex-grow: 1;
margin-bottom: 20px;
}
.footer .col a{
display: block;
text-decoration: none;
color:rgb(200, 198, 198);
font-size: 14px;
margin-bottom: 10px;
}
.footer .row{
align-items: flex-start;
padding: 10px 0px;
}
.footer .language-button{
color:white;
padding: 10px 20px;
border-radius: 3px;
}
.copyright{
font-size: 14px;
margin-top: 20px;
margin-bottom: 10px;
}
@media only screen and (max-width:600px){
.logo{
width: 100px;
}
nav button{
padding:5px 10px;
}
nav .language-button{
padding: 4px 8px;
}
.header-content{
position: unset;
transform: none;
padding-top: 150px;
}
.header-content h1{
font-size: 30px;
}
.email-setup button{
font-size: 12px;
padding: 10px 12px;
}
.text-col, .img-col{
flex-basis: 100%;
}
.feature h2{
font-size: 30px;
}
.feature h2{
font-size: 15px;
}
.row:nth-child(2), .row:nth-child(4){
flex-direction: column-reverse;
}
.feature .row{
padding: 10px 0px;
}
.faq h2{
font-size:20px
}
.accordion .content{
font-size: 14px;
}
.accordion li label{
padding: 10px;
font-size: 14px;
}
label::after{
font-size: 22px;
}
}