diff --git a/assets/images/middle-banner-desktop.png b/assets/images/middle-banner-desktop.png new file mode 100644 index 0000000..1b7c156 Binary files /dev/null and b/assets/images/middle-banner-desktop.png differ diff --git a/assets/images/middle-banner-mobile.png b/assets/images/middle-banner-mobile.png new file mode 100644 index 0000000..c78361e Binary files /dev/null and b/assets/images/middle-banner-mobile.png differ diff --git a/assets/images/top-cards-image01.svg b/assets/images/top-cards-image01.svg new file mode 100644 index 0000000..ae80852 --- /dev/null +++ b/assets/images/top-cards-image01.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/top-cards-image02.svg b/assets/images/top-cards-image02.svg new file mode 100644 index 0000000..8182973 --- /dev/null +++ b/assets/images/top-cards-image02.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/top-cards-image03.svg b/assets/images/top-cards-image03.svg new file mode 100644 index 0000000..286bf4b --- /dev/null +++ b/assets/images/top-cards-image03.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/styles/main.css b/assets/styles/main.css index c06ff24..153e80a 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -21,7 +21,9 @@ body { display: block; } -.main-banner { +.main-banner , +.middle-banner { + display: block; width: 100%; } .top-infocard { @@ -54,12 +56,48 @@ 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: 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 { + .main-banner-desktop, .middle-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; @@ -87,7 +125,7 @@ body { } @media screen and (min-width:415px) { - .main-banner-mobile { + .main-banner-mobile, .middle-banner-mobile { display: none; } } @@ -107,3 +145,9 @@ body { margin-right: 70px; } } + +@media screen and (min-width: 769px) and (max-width: 1200px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } +} diff --git a/index.html b/index.html index 2981497..5dbe5e1 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,34 @@ Banner do Inforcard 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. +

+
+
+
+ Banner do Meio Desktop + Banner do Meio Mobile +
\ No newline at end of file