diff --git a/assets/images/top-card-image-01.png b/assets/images/top-card-image-01.png new file mode 100644 index 0000000..5940676 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..cc589c4 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..d24ad6a 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 70abf20..1aa0813 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -54,12 +54,49 @@ body{ line-height: 24px; } +.top-cards{ + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + padding: 74px 0; + justify-content: center; + 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: 414px){ .main-banner-desktop{ display: none; } } +@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; @@ -91,6 +128,12 @@ body{ } } +@media screen and (min-width: 769px) and (max-width: 1200px){ + .top-cards{ + grid-template-columns: repeat(2, max-content); + } +} + @media screen and (min-width: 415px){ .main-banner-mobile{ display: none; diff --git a/index.html b/index.html index 01ecfaf..91c5c80 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,26 @@ Banner 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