diff --git a/assets/images/top-card-image-01.png b/assets/images/top-card-image-01.png new file mode 100644 index 0000000..e9be04a Binary files /dev/null and b/assets/images/top-card-image-01.png differ diff --git a/assets/images/top-card-image-02.png b/assets/images/top-card-image-02.png new file mode 100644 index 0000000..fd9a49a Binary files /dev/null and b/assets/images/top-card-image-02.png differ diff --git a/assets/images/top-card-image-03.png b/assets/images/top-card-image-03.png new file mode 100644 index 0000000..825f21e Binary files /dev/null and b/assets/images/top-card-image-03.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css index 99681a1..b16c664 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -55,6 +55,44 @@ body { } +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 74px 0; + background: #F0F0F0; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 26px 26px 34px; + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.top-card-image { + display: block; + margin-bottom: 26px; +} + +.top-card-description { + max-width: 300px; + font-size: 16px; + line-height: 24px; + text-align: center; +} + + +@media screen and (max-width: 768px){ + .top-cards { + grid-template-columns: 1fr; + padding: 36px 26px; + } +} + @media screen and (max-width: 992px) { .top-infocard { flex-direction: column; @@ -88,6 +126,15 @@ body { } } +@media screen and (min-width: 769px ) and (max-width: 1200px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } +} + + + + @media screen and (max-width: 414px) { .main-banner-desktop { display: none; diff --git a/index.html b/index.html index 5f510bd..71e86c0 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,21 @@ Banner do Infocard do topo + +
+
+ Imagem do primeiro card do topo +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.

+
+
+ Imagem do segundo card do topo +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.

+
+
+ Imagem do terceiro card do topo +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.

+
+
\ No newline at end of file