diff --git a/assets/styles/main.css b/assets/styles/main.css index 034b517..0b64091 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -41,7 +41,7 @@ body{ .top-infocard-text{ width: 40%; - padding: 72px 0; + margin: 72px 0; } .top-infocard-subtitle{ @@ -66,7 +66,7 @@ body{ .top-infocard-image{ width: 17%; - padding: 0 0 178px; + margin: 0 0 178px; } .top-cards{ @@ -74,7 +74,7 @@ body{ grid-template-columns: repeat(3, 18%); gap: 20px; justify-content: center; - padding: 0 0 80px; + margin: 0 0 80px; } .top-card{ @@ -109,13 +109,13 @@ body{ justify-content: center; gap: 38px; position: relative; - top: 62px; - + top: 62px; } + .mid-banner-image{ - width: 100%; -} + width: 100%; + } .bottom-cards{ display: grid; @@ -131,8 +131,8 @@ body{ align-items: center; background: #FFFFFF; box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15); - gap: 15px; - padding: 36px 32px 65px; + gap: 16px; + padding: 36px 32px 64px; } .bottom-card-image{ @@ -154,6 +154,7 @@ body{ justify-content: center; flex-direction: column; gap: 50px; + margin: 0 0 116px; } .bottom-section-text{ @@ -173,10 +174,6 @@ body{ line-height: 24px; } -.bottom-section-image{ - padding: 0 0 116px; -} - .bottom-section-image-desktop{ width: 71%; } @@ -194,6 +191,7 @@ body{ flex-direction: column; width: 21%; align-items: center; + text-align: center; } .footer-icons{ @@ -242,4 +240,104 @@ body{ font-size: 20px; line-height: 24px; } +} + +@media screen and (min-width: 1025px) { + .top-banner-mobile, + .bottom-section-image-mobile{ + display: none; + } + +} + +@media screen and (max-width: 1024px) { + .top-banner-desktop, + .bottom-section-image-desktop{ + display: none; + } + .header-link{ + width: 55%; + } + .top-infocard-text{ + width: 86%; + margin: 72px 0 64px; + } + .top-infocard-subtitle{ + font-size: 20px; + line-height: 24px; + } + .top-infocard-title{ + font-size: 28px; + line-height: 34px; + } + .top-infocard-image{ + width: 58%; + margin: 0 0 91px; + } + .top-cards{ + display: grid; + grid-template-columns: repeat(1, 85%); + gap: 20px; + justify-content: center; + margin: 0 0 80px; + } + .top-card{ + padding: 36px 26px 28px; + gap: 24px; + } + + .mid-banners{ + margin: 0 0 112px; + } + .mid-banner-wrapper{ + display: grid; + grid-template-columns: repeat(2, 43%); + justify-content: center; + column-gap: 14px; + row-gap: 24px; + position: relative; + top: 32px; + } + .area2{ + grid-area: 1/1/1/1 ; + } + .area3{ + grid-area: 2/1/4/3; + } + .bottom-cards{ + display: grid; + grid-template-columns: repeat(1, 89%); + gap: 16px; + justify-content: center; + margin: 0 0 98px; + } + .bottom-card-image{ + display: block; + width: 29% + } + .bottom-section{ + flex-direction: column-reverse; + margin: 0 0 87px; + } + .bottom-section-image, + .bottom-section-image-mobile{ + width: 100%; + } + .bottom-section-text{ + width: 85%; + text-align: center; + } + .bottom-section-text-title{ + font-weight: 600; + font-size: 24px; + line-height: 29px; + } + .page-footer{ + padding: 32px 0; + } + .page-footer-content{ + width: 63%; + align-items: center; + } + } \ No newline at end of file diff --git a/index.html b/index.html index f866e32..3323e06 100644 --- a/index.html +++ b/index.html @@ -25,11 +25,12 @@
-
-
- Imagem de um notebook -
-
+
+
+ Imagem de um notebook + Imagem de um notebook +
+
@@ -75,15 +76,15 @@
-
+
Notebook meio aberto primeiro angulo
-
+
Notebook meio aberto segundo angulo
-
+
Notebook meio aberto terceiro angulo
@@ -136,7 +137,9 @@
+ Imagem + Imagem