8888 text-decoration : underline;
8989}
9090
91+ .text-xl {
92+ font-size : 70px ;
93+ font-weight : bold;
94+ }
95+
96+ .sub-text {
97+ max-width : 850px ;
98+ margin-bottom : 10px ;
99+ font-size : 24px ;
100+ }
101+
91102/* Header */
92103
93104.header {
100111 display : flex;
101112 justify-content : flex-end;
102113 padding : 20px 40px ;
114+ z-index : 2 ;
115+ position : relative;
103116}
104117
105118.header nav .login-btn {
@@ -135,7 +148,24 @@ h4 {
135148 margin : 25px 0 ;
136149}
137150
151+ .header ::after {
152+ content : "" ;
153+ position : absolute;
154+ top : 0 ;
155+ left : 0 ;
156+ width : 100% ;
157+ height : 180px ;
158+ z-index : 1 ;
159+ background : linear-gradient (
160+ 180deg ,
161+ rgba (0 , 0 , 0 , 0.76 ) 15.54% ,
162+ rgba (0 , 0 , 0 , 0.192 ) 60.23% ,
163+ rgba (0 , 0 , 0 , 8e-5 ) 100%
164+ );
165+ }
166+
138167/* Sub Header */
168+
139169.sub-header {
140170 display : grid;
141171 grid-template-columns : 2fr 4fr 2fr ;
@@ -159,7 +189,107 @@ h4 {
159189 text-align : center;
160190}
161191
192+ /* Categories */
193+
194+ .categories {
195+ display : flex;
196+ flex-direction : column;
197+ align-items : center;
198+ justify-content : center;
199+ text-align : center;
200+ padding : 90px 40px ;
201+ }
202+
203+ .categories .covers {
204+ display : grid;
205+ grid-template-columns : repeat (4 , 1fr );
206+ gap : 20px ;
207+ margin-top : 40px ;
208+ }
209+
210+ .categories .covers > div {
211+ height : 500px ;
212+ width : 300px ;
213+ position : relative;
214+ }
215+
216+ .categories .cover-grad {
217+ position : absolute;
218+ top : 0 ;
219+ left : 0 ;
220+ width : 100% ;
221+ height : 100% ;
222+ background : linear-gradient (
223+ 156.82deg ,
224+ rgba (0 , 0 , 0 , 0.6 ) 4.58% ,
225+ rgba (0 , 0 , 0 , 0 ) 69.61%
226+ ),
227+ linear-gradient (24.5deg , rgba (0 , 0 , 0 , 0.2 ) 4.71% , rgba (0 , 0 , 0 , 0 ) 71.49% );
228+ }
229+
230+ .categories .cover-text {
231+ position : absolute;
232+ top : 20px ;
233+ left : 20px ;
234+ text-align : left;
235+ }
236+
237+ .categories .cover-1 {
238+ background : url ("https://github.com/bradtraversy/hulu-webpage-clone/blob/main/img/cover-1.jpg?raw=true" )
239+ no-repeat center center / cover;
240+ }
241+ .categories .cover-2 {
242+ background : url ("https://github.com/bradtraversy/hulu-webpage-clone/blob/main/img/cover-2.jpg?raw=true" )
243+ no-repeat center center / cover;
244+ }
245+ .categories .cover-3 {
246+ background : url ("https://github.com/bradtraversy/hulu-webpage-clone/blob/main/img/cover-3.jpg?raw=true" )
247+ no-repeat center center / cover;
248+ }
249+ .categories .cover-4 {
250+ background : url ("https://github.com/bradtraversy/hulu-webpage-clone/blob/main/img/cover-4.jpg?raw=true" )
251+ no-repeat center center / cover;
252+ }
253+
254+ /* Live */
255+
256+ .live {
257+ background-color : # 151516 ;
258+ padding : 40px ;
259+ }
260+
261+ .live-border {
262+ border : 4px solid # 1ce783 ;
263+ border-radius : 16px ;
264+ padding : 100px ;
265+ display : flex;
266+ flex-direction : column;
267+ align-items : center;
268+ justify-content : center;
269+ text-align : center;
270+ }
271+
272+ .live a {
273+ text-transform : uppercase;
274+ font-size : 18px ;
275+ margin-top : 20px ;
276+ text-decoration : underline;
277+ }
278+
162279/* Media Queries */
280+
281+ @media (max-width : 1300px ) {
282+ .categories .covers {
283+ grid-template-columns : repeat (3 , 1fr );
284+ }
285+ }
286+
287+ @media (max-width : 1100px ) {
288+ .categories .covers {
289+ grid-template-columns : 1fr 1fr ;
290+ }
291+ }
292+
163293@media (max-width : 768px ) {
164294 .header .logo {
165295 width : 200px ;
@@ -193,4 +323,21 @@ h4 {
193323 justify-self : center;
194324 align-self : center;
195325 }
326+
327+ .text-xl {
328+ font-size : 40px ;
329+ line-height : 1.3 ;
330+ }
331+
332+ .sub-text {
333+ font-size : 20px ;
334+ }
335+
336+ .categories .covers {
337+ grid-template-columns : 1fr ;
338+ }
339+
340+ .live-border {
341+ padding : 30px 10px ;
342+ }
196343}
0 commit comments