diff --git a/assets/img/png_jpg/top-card-image-01.png b/assets/img/png_jpg/top-card-image-01.png new file mode 100644 index 0000000..900604d Binary files /dev/null and b/assets/img/png_jpg/top-card-image-01.png differ diff --git a/assets/img/png_jpg/top-card-image-02.png b/assets/img/png_jpg/top-card-image-02.png new file mode 100644 index 0000000..906e3ea Binary files /dev/null and b/assets/img/png_jpg/top-card-image-02.png differ diff --git a/assets/img/png_jpg/top-card-image-03.png b/assets/img/png_jpg/top-card-image-03.png new file mode 100644 index 0000000..4bd2334 Binary files /dev/null and b/assets/img/png_jpg/top-card-image-03.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css index 050c2ae..f5f23b3 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -56,6 +56,35 @@ body { font-size: 16px; } +.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: 34px 26px 26px; + 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; + text-align: center; + line-height: 24px; + font-size: 16px; +} @media screen and (max-width: 414px) { .main-banner-desktop { @@ -63,6 +92,13 @@ body { } } +@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; @@ -95,6 +131,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 69c4622..b012ba9 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,27 @@ 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. +

+
+