diff --git a/assets/styles/main.css b/assets/styles/main.css index ed85398..5a791f3 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -82,18 +82,21 @@ body{ line-height: 24px; text-align: center; } -.Banners-middle{ - display: grid; - grid-area: 1fr 1fr 1fr; +.banners-middle{ + display: flex; justify-content: center; - gap: 36px; + gap: 39px; background: #E0E0E0 } .middle-banner{ display: block; + width: 29%; +} +.middle-banner-image{ width: 100%; } + @media screen and (min-width: 2500px) { .page-header{ padding: 58px @@ -101,7 +104,7 @@ body{ } -@media screen and (max-width: 1025px) { +@media screen and (max-width: 1024px) { .main-banner-desktop{ display: none; } @@ -124,15 +127,29 @@ body{ .top-cards{ padding: 90px 7%; } -} - -@media screen and (max-width: 992px){ .top-infocard-image{ width: 34%; } - /* top-cards */ - .top-cards{ - grid-template-columns: repeat(2, 1fr); + .banners-middle{ + display: grid; + grid-template-areas: + "b1 b2" + "b3 b3"; + justify-items: center; + padding: 32px 23px; + gap: 14px; + bottom: 60px; + } + .middle-banner{ + width: 100%; + } + .Banner1{ + grid-area: b1; + } + .Banner2{ + grid-area: b2; + } .Banner3{ + grid-area: b3; } } diff --git a/index.html b/index.html index d1a9dc0..65d912f 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@ Imagem-do-infocard-do-topo -
+
Primeira-card-do-topo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
@@ -58,13 +58,26 @@ Terceiro-card-do-topo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
-
+ + +
+
+ Segunda-imagem-do-meio +
+ +
+ Segunda-imagem-do-meio +
+ +
+ Segunda-imagem-do-meio +
+
+ +
+ +
-
- Primeira-imagem-do-meio - Segunda-imagem-do-meio - Terceira-imagem-do-meio -
\ No newline at end of file