diff --git a/assets/images/top-card-image01.png b/assets/images/top-card-image01.png new file mode 100644 index 0000000..5940676 Binary files /dev/null and b/assets/images/top-card-image01.png differ diff --git a/assets/images/top-card-image02.png b/assets/images/top-card-image02.png new file mode 100644 index 0000000..cc589c4 Binary files /dev/null and b/assets/images/top-card-image02.png differ diff --git a/assets/images/top-card-image03.png b/assets/images/top-card-image03.png new file mode 100644 index 0000000..d24ad6a Binary files /dev/null and b/assets/images/top-card-image03.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css index 047659a..d446ba4 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -56,6 +56,37 @@ body{ line-height: 24px; } +.top-cards{ + padding: 74px 0; + display: grid; + grid-template-columns: repeat(3, max-content); + background-color: #F0F0F0; + justify-content: center; + gap: 20px; +} + +.top-card{ + display: flex; + flex-direction: column; + gap: 26px; + padding: 0 26px; + align-items: center; + background-color: #FFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.top-card-image{ + display: block; + margin-top: 35px; +} + +.top-card-description{ + max-width: 300px; + font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; +} @media screen and (max-width: 414px){ .main-banner-desktop{ @@ -63,11 +94,32 @@ body{ } } +@media screen and (max-width: 768px){ + .top-cards{ + grid-template-columns: 1fr; + padding: 36px 26px; + gap: 16px; + } + + .top-infocard{ + padding: 84px 26px 158px; + } +} + +@media screen and (min-width: 769px) and (max-width:1200px){ + .top-cards{ + grid-template-columns: repeat(2, max-content); + } + + .top-infocard{ + padding-bottom: 96px; + } +} + @media screen and (max-width: 992px){ .top-infocard{ flex-direction: column; gap: 68px; - padding: 84px 26px 158px; } .top-infocard-subtitle{ diff --git a/index.html b/index.html index 948cec3..c7ba62c 100644 --- a/index.html +++ b/index.html @@ -48,6 +48,32 @@ Banner do Infocard do Topo + +
+
+ Imagem do Primero 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