diff --git a/assets/styles/main.css b/assets/styles/main.css index 3af180f..af7dab3 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -43,7 +43,6 @@ body { } .top-infocard-subtitle { - font-weight: 400; font-size: 32px; line-height: 39px; text-align: center; @@ -60,7 +59,35 @@ body { } .top-infocard-description { - font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; +} + +/*Adiciona top cards*/ +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 0 0 80px; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 36px 26px 26px; + 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; @@ -73,6 +100,13 @@ body { } } +@media screen and (max-width: 768px) { + .top-cards { + grid-template-columns: 1fr; + padding: 0 26px 80px; + } +} + @media screen and (max-width: 992px) { .top-infocard { padding: 70px 30px 90px; @@ -96,4 +130,10 @@ body { width: 100%; max-width: 240px; } +} + +@media screen and (min-width: 768px) 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 806dce5..82ac053 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,34 @@

- Banner Infocard Superior + Banner Infocard Superior + + + +
+
+ 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. +

+