diff --git a/assets/top-infocard-img.png b/assets/top-infocard-img.png new file mode 100644 index 0000000..ad45609 Binary files /dev/null and b/assets/top-infocard-img.png differ diff --git a/index.html b/index.html index 0829537..b4b62bc 100644 --- a/index.html +++ b/index.html @@ -17,8 +17,19 @@
- + +
+ +
+
+

Lorem ipsum

+

dolor sit amet

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.

+ + +
+
diff --git a/styles/style.css b/styles/style.css index 71fc5f3..3cfd9bc 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,9 +1,16 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap'); + * { padding: 0; margin: 0; box-sizing: border-box; } +body { + font-family: 'Inter', sans-serif; + color: #000000; +} + .page-header { background-color: black; display: flex; @@ -18,5 +25,66 @@ } .main-banner { + display: block; width: 100%; } + +.top-infocard { + display: flex; + flex-direction: column; + align-items: center; +} + +.top-infocard-text { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + max-width: 766px; + margin: 72px 0 178px; +} + +.top-infocard-subtitle { + text-transform: uppercase; + font-size: 32px; + line-height: 39px; +} + +.top-inforcard-title { + text-transform: uppercase; + font-family: 'Inter'; + font-weight: 500; + font-size: 48px; + line-height: 58px; + margin-bottom: 24px; +} + +.top-infocard-description { + font-size: 16px; + line-height: 24px; + margin-bottom: 72px; +} + +.top-infocard-img { + display: block; + width: 55%; +} + + + +@media screen and (max-width: 1024px) { + .main-banner-desktop { + display: none; + } + + .top-infocard-text { + margin: 72px 28px; + } + +} + +@media screen and (min-width: 1025px){ + .main-banner-mobile { + display: none; + } +} \ No newline at end of file