7373 background-color : var ( --color-grey-light ) ;
7474}
7575
76+ @media only screen and ( max-width : 770px ) {
77+ . container {
78+ width : 100% ;
79+ }
80+ }
81+
7682. container p ,
7783. container h3 {
7884 margin-bottom : 1.5rem ;
@@ -96,15 +102,17 @@ ul {
96102}
97103
98104. navbar__logo {
99- height : 6rem ;
105+ min-height : 6rem ;
106+ max-width : 17.5rem ;
100107 margin-top : 0.6rem ;
101- margin-left : -2.4 rem ;
108+ margin-left : 3.8 rem ;
102109 fill : var ( --color-dark ) ;
103110}
104111
105112. navbar__list {
106113 display : flex;
107114 margin-left : auto;
115+ margin-right : none;
108116 justify-content : space-between;
109117 align-items : center;
110118}
121129 font-weight : 300 ;
122130 text-transform : capitalize;
123131 letter-spacing : 1px ;
124- border : none;
125132 color : var ( --color-alert ) ;
126133 background-color : transparent;
127134 border : 2px solid var ( --color-alert ) ;
@@ -181,19 +188,79 @@ ul {
181188
182189@media only screen and ( max-width : 578px ) {
183190 . navbar {
191+ flex-direction : column;
192+ align-items : center;
193+ justify-content : center;
194+ align-content : center;
195+ height : auto;
184196 background-image : none;
185197 background-color : var ( --color-light ) ;
186198 }
199+
200+ . navbar__logo {
201+ height : 3rem ;
202+ margin-left : 0 ;
203+ margin-top : 2rem ;
204+ margin-bottom : 2rem ;
205+ }
206+
207+ . navbar__list {
208+ margin-right : auto;
209+ margin-bottom : 2rem ;
210+ }
211+
212+ . navbar__list__item : first-of-type {
213+ display : inline-block;
214+ }
215+
216+ . navbar__cta-button {
217+ padding : 0.5rem 1.2rem ;
218+ color : var ( --color-light ) ;
219+ background-color : var ( --color-alert ) ;
220+ border : none;
221+ }
222+
223+ . navbar__cta-button : hover ,
224+ . navbar__cta-button : active {
225+ background-color : var ( --color-dark ) ;
226+ }
227+
228+ . navbar__cta-button__icon {
229+ fill : var ( --color-light ) ;
230+ }
231+
232+ . navbar__list__item : last-of-type {
233+ margin-right : 0 ;
234+ }
235+
236+ . navbar__list__item : last-of-type a {
237+ margin-right : 0 ;
238+ }
187239}
188240
189241/* - - - - - top - - - - - */
190242. top-container {
191243 display : flex;
192244 align-items : center;
193- height : calc ( 100vh - 8.7rem ) ;
245+ min- height: calc ( 100vh - 8.7rem ) ;
194246 margin-top : 8.8rem ;
195247}
196248
249+ @media only screen and ( max-width : 1250px ) {
250+ . top-container {
251+ height : max-content;
252+ margin-top : 14rem ;
253+ padding-bottom : 12rem ;
254+ }
255+ }
256+
257+ @media only screen and ( max-width : 578px ) {
258+ . top-container {
259+ margin-top : 6rem ;
260+ padding-bottom : 0rem ;
261+ }
262+ }
263+
197264/* - - - - - top - main button - - - - -*/
198265. cta-button-container {
199266 display : flex;
@@ -238,6 +305,15 @@ ul {
238305 fill : var ( --color-light ) ;
239306}
240307
308+ @media only screen and ( max-width : 578px ) {
309+ . cta-button-container {
310+ display : none;
311+ }
312+ . cta-button {
313+ display : none;
314+ }
315+ }
316+
241317/* - - - - - top - instructions - - - - - */
242318. instructions-container {
243319 display : flex;
250326 width : 65% ;
251327 margin-left : auto;
252328 padding : 3rem ;
253- border : 2px solid # ccc ;
329+ border : 2px solid var ( --color-grey-medium ) ;
254330}
255331
256332. instructions__title {
@@ -295,6 +371,18 @@ ul {
295371 . instructions-container {
296372 width : 100% ;
297373 }
374+
375+ . instructions {
376+ border : none;
377+ border-top : 2px solid var ( --color-grey-medium ) ;
378+ border-bottom : 2px solid var ( --color-grey-medium ) ;
379+ }
380+ }
381+
382+ @media only screen and ( max-width : 578px ) {
383+ . instructions {
384+ border : none;
385+ }
298386}
299387
300388/* - - - - - credits - - - - - */
@@ -392,23 +480,22 @@ form textarea {
392480 display : flex;
393481 flex-direction : column;
394482 justify-content : space-between;
395- height : 300 px ;
396- padding : 20 px 100 px ;
483+ height : 30 rem ;
484+ padding : 2 rem 10 rem ;
397485 background-color : var ( --color-dark ) ;
398486}
399487
400488. footer__top-container {
401- padding : 0 20 px ;
489+ padding : 0 2 rem ;
402490 display : flex;
403491 justify-content : space-between;
404- height : 195 px ;
492+ height : 19.5 rem ;
405493 align-items : center;
406494}
407495
408496. footer__logo {
409- height : 100px ;
410- width : 112px ;
411- /* margin-right: -95px; */
497+ height : 10rem ;
498+ width : 11.2rem ;
412499}
413500
414501. footer__list {
@@ -417,11 +504,11 @@ form textarea {
417504 list-style : none;
418505}
419506. footer__list__item {
420- margin-top : 10 px ;
507+ margin-top : 1 rem ;
421508}
422509
423510. footer__list__item a {
424- font-size : 17 px ;
511+ font-size : 1.7 rem ;
425512 color : var ( --color-grey-light ) ;
426513 text-decoration : none;
427514 font-weight : 300 ;
@@ -436,13 +523,13 @@ form textarea {
436523 justify-content : space-between;
437524 align-items : center;
438525 border-top : 1px solid # d9d900;
439- padding-top : 10 px ;
526+ padding-top : 1 rem ;
440527}
441528
442529. footer__copyright {
443530 color : var ( --color-grey-light ) ;
444531 font-weight : 300 ;
445- font-size : 14 px ;
532+ font-size : 1.4 rem ;
446533}
447534
448535. footer--logo-lemon-container : hover . footer--logo-lemon {
@@ -471,8 +558,8 @@ form textarea {
471558}
472559
473560. footer__icon {
474- height : 24 px ;
475- width : 24 px ;
561+ height : 2.4 rem ;
562+ width : 2.4 rem ;
476563 fill : var ( --color-grey-light ) ;
477564}
478565
@@ -481,14 +568,20 @@ form textarea {
481568}
482569
483570. footer__icon-twitter {
484- height : 35 px ;
485- width : 35 px ;
486- margin-top : 2 px ;
487- margin-right : -6 px ;
488- margin-left : -6 px ;
571+ height : 3.5 rem ;
572+ width : 3.5 rem ;
573+ margin-top : 0.2 rem ;
574+ margin-right : -0.6 rem ;
575+ margin-left : -0.6 rem ;
489576 fill : var ( --color-grey-light ) ;
490577}
491578
492579. footer__icon-twitter : hover {
493580 fill : var ( --color-primary-main ) ;
494581}
582+
583+ @media only screen and ( max-width : 578px ) {
584+ . footer {
585+ padding : 2rem 2rem ;
586+ }
587+ }
0 commit comments