diff --git a/assets/Styles/main.css b/assets/Styles/main.css index 523b250..b6a6a8b 100644 --- a/assets/Styles/main.css +++ b/assets/Styles/main.css @@ -58,12 +58,50 @@ body{ line-height: 24px; } -@media screen and (max-width: 414px ) { +.top-cards{ + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 74px 0; + background: #F0F0F0; +} + +.top-card{ + padding: 26px 26px 34px; + display: flex; + flex-direction: column; + align-items: center; + 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{ 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; @@ -90,13 +128,33 @@ body{ } -@media screen and (min-width: 993px) and (max-width: 1280) { +@media screen and (min-width: 993px) { .top-infocard-text{ max-width: 520px; margin-right: 70px; } } +@media screen and (max-width: 1280) { + .top-infocard-text{ + max-width: 520px; + margin-right: 70px; + } +} + +@media screen and (min-width: 769px) { + .top-cards{ + grid-template-columns: repeat(2, max-content); + } +} + +@media screen 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/assets/images/top-card-image-01.png b/assets/images/top-card-image-01.png new file mode 100644 index 0000000..5940676 Binary files /dev/null and b/assets/images/top-card-image-01.png differ diff --git a/assets/images/top-card-image-02.png b/assets/images/top-card-image-02.png new file mode 100644 index 0000000..cc589c4 Binary files /dev/null and b/assets/images/top-card-image-02.png differ diff --git a/assets/images/top-card-image-03.png b/assets/images/top-card-image-03.png new file mode 100644 index 0000000..d24ad6a Binary files /dev/null and b/assets/images/top-card-image-03.png differ diff --git a/index.html b/index.html index 01594aa..81ca1e3 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,34 @@  Tres computador interligado + +
+
+ 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