diff --git a/assets/images/Top-infocard-image.png b/assets/images/Top-infocard-image.png new file mode 100644 index 0000000..b715118 Binary files /dev/null and b/assets/images/Top-infocard-image.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css index 9702516..6af4549 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -3,12 +3,15 @@ padding: 0; box-sizing: border-box; } - +body{ + font-family: 'Inter', sans-serif; + color: #000; +} .page-header{ display: flex; justify-content: center; padding: 28px 0; - background-color: #000000 + background-color: #000 ; } @@ -19,15 +22,77 @@ .main-banner{ max-width: 100%; } +.top-infocard{ + display: flex; + align-items: center; + justify-content: center; + padding: 80px 0 96px; +} +.top-infocard-text{ + margin-right: 124px; + max-width: 766px; +} +.top-inforcard-subtitle{ + text-transform: uppercase; + font-size: 32px; + font-weight: 400; +} +.top-infocard-title{ + margin-bottom: 24px; + text-transform: uppercase; + font-weight: 500; + font-size: 48px; +} +.top-infocard-description{ + font-weight: 400; + font-size: 16px; +} @media screen and (max-width: 414px) { .main-banner-desktop{ display: none; } } +@media screen and (max-width: 992px) { + .top-infocard{ + flex-direction: column; + padding: 84px 26px 158px; + } + + .top-infocard-text{ + margin: 0 0 68px; + } + + .top-inforcard-subtitle{ + font-size: 20px; + } + + .top-infocard-title{ + margin-bottom: 20px; + font-size: 28px; + } + .top-infocard-image{ + width: 100%; + max-width: 240px; + } + +} + +@media screen and (min-width: 993px) and (max-width: 1280px) { + .top-infocard-text{ + max-width: 520px; + margin-right: 70px; + } +} @media screen and (min-width: 415px) { .main-banner-mobile{ display: none; } +} +@media screen and (min-width: 1920px) { + .main-banner-desktop { + width: 100%; + object-fit: contain; + } } \ No newline at end of file diff --git a/index.html b/index.html index ba80a29..c661077 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,19 @@ + + + + M3 Landing Page + + + @@ -22,6 +29,21 @@ Main-banner-desktop Main-banner-mobile + +
+
+

Lorem ipsum

+

Dolor sit amet

+ +

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. + Eum autem explicabo alias illo quod enim sit eveniet laborum consequuntur ipsam, + animi ratione repellendus nulla nam ullam fuga quam. Quae, impedit. +

+
+ + Banner do Infocard do Topo +
\ No newline at end of file