diff --git a/assets/imagens/top-infocard-image1.png b/assets/imagens/top-infocard-image1.png new file mode 100644 index 0000000..304a1a0 Binary files /dev/null and b/assets/imagens/top-infocard-image1.png differ diff --git a/assets/imagens/top-infocard-image2.png b/assets/imagens/top-infocard-image2.png new file mode 100644 index 0000000..6a87a3b Binary files /dev/null and b/assets/imagens/top-infocard-image2.png differ diff --git a/assets/imagens/top-infocard-image3.png b/assets/imagens/top-infocard-image3.png new file mode 100644 index 0000000..2aded61 Binary files /dev/null and b/assets/imagens/top-infocard-image3.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css index a6a4bed..1f11722 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -40,7 +40,7 @@ body { } } -/* Cria top infocard */ +/* Cria top infocard desktop e mobile */ .top-infocard { display: flex; align-items: center; @@ -101,4 +101,48 @@ body { max-width: 520px; margin-right: 70px; } +} + +/* Cria cards topo desktop e mobile*/ +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 74px 0; + background-color: #f0f0f0; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 26px 26px 34px; + background-color: #fff; + box-shadow: 8px 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 (min-width: 769px) and (max-width: 1200px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } } \ No newline at end of file diff --git a/index.html b/index.html index 9ad89e5..233a6d0 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@ - +

Lorem ipsum

@@ -41,6 +41,33 @@ 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