diff --git a/assets/img/second-card-image-1.png b/assets/img/second-card-image-1.png new file mode 100644 index 0000000..656f073 Binary files /dev/null and b/assets/img/second-card-image-1.png differ diff --git a/assets/img/second-card-image-2.png b/assets/img/second-card-image-2.png new file mode 100644 index 0000000..8240edb Binary files /dev/null and b/assets/img/second-card-image-2.png differ diff --git a/assets/img/second-card-image-3.png b/assets/img/second-card-image-3.png new file mode 100644 index 0000000..66be1e8 Binary files /dev/null and b/assets/img/second-card-image-3.png differ diff --git a/assets/img/second-card-image-4.png b/assets/img/second-card-image-4.png new file mode 100644 index 0000000..2013cf8 Binary files /dev/null and b/assets/img/second-card-image-4.png differ diff --git a/assets/styles/style.css b/assets/styles/style.css index 6ed2d0f..a9812dd 100644 --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -76,7 +76,7 @@ body{ display: flex; flex-direction: column; align-items: center; - padding: 36px 25px 27px 25px; + padding: 25px 25px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); } @@ -104,21 +104,56 @@ body{ } -.photo,.photox{ +.photo,.photo-desktop{ position: relative; margin-bottom: -62px; margin-top: 62px; max-width: 100%; width: 100%; - +} +.photo-mobile{ + display: none; +} +.second-card { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 16px; + padding: 191px 0; + justify-content: center; +} + +.card-2{ + display: flex; + flex-direction: column; + align-items: center; + margin: 0 12px; + padding: 35px 32px 35px 33px; + background: #FFFFFF; + box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15); +} + +.card2-text{ + max-width: 367px; + font-size: 16px; + line-height: 24px; + text-align: center +} + +.card2-image{ + width: 20%; + display: block; + margin-bottom: 12px; } @media screen and (max-width:768px){ + + .top-card{ grid-template-columns: 1fr; - padding: 35px 33px 65px 33px; + padding: 35px 33px 35px 33px; } + .middle-photo{ gap: 13px; grid-template-columns: repeat(2, 1fr); @@ -132,15 +167,25 @@ body{ margin-top: 32px; } - .photox{ - display: flex; - justify-content: center; + .photo-desktop{ + display: none; + } + + .photo-mobile{ + display: block; + justify-content: center; + margin-top: 100px; } - } @media screen and (max-width:992px) { + + .second-card{ + grid-template-columns: 1fr; + margin: 0 23px; + } + .top-infocard-description{ margin: 0 28px 73px; padding: 26px 36px; @@ -157,13 +202,20 @@ body{ } } +@media screen and (min-width: 993px) and (max-width: 1250px){ + .second-card { + grid-template-columns: repeat(2, max-content); + margin: 0 23px; + } + +} + @media screen and (min-width: 769px) and (max-width: 1250px){ .top-card { grid-template-columns: repeat(2, max-content); - padding: 35px 33px 65px 33px; + padding: 35px 33px; } } - @media screen and (min-width:2500px){ .top-infocard-text { @@ -200,4 +252,17 @@ body{ line-height: 72px; } + .card2-text{ + max-width: 1100px; + font-size: 48px; + line-height: 72px; + + } + + .second-card { + + padding: 573px 0; +; + } + } diff --git a/index.html b/index.html index bf235b3..3c2db82 100644 --- a/index.html +++ b/index.html @@ -68,10 +68,46 @@ Segunda foto do meio da página - Terceira foto do meio da página - + Terceira foto do meio da página + +
+
+ Primeira imagem do card inferior +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui + fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
+
+ Primeira imagem do card inferior +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui + fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
+ +
+ Primeira imagem do card inferior +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui + fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
+ +
+ Primeira imagem do card inferior +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui + fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
+
\ No newline at end of file