diff --git a/README.md b/README.md index 49e6b70..8265188 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# challenge-landing-page +# practice-time-landing-page @@ -15,7 +15,7 @@ Already a pro? Just edit this README.md and make it your own. Want to make it ea ``` cd existing_repo -git remote add origin https://gitlab.com/m3-academy/fase-01/challenge-landing-page.git +git remote add origin https://gitlab.com/m3-academy/fase-01/practice-time-landing-page.git git branch -M main git push -uf origin main ``` diff --git a/assests/style/main.css b/assests/style/main.css deleted file mode 100644 index ac82621..0000000 --- a/assests/style/main.css +++ /dev/null @@ -1,160 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - font-family: 'Inter', sans-serif; - color: #000000; -} - -.page-header { - display: flex; - justify-content: center; - padding: 29px 0; - background: #000000; -} - -.header-logo { - display: block; - width: 226.16px; - height: 43px; -} - -.main-banner { - width: 100%; - display: block; -} - -.top-infocard { - display: flex; - flex-direction: column; - align-items: center; - margin-bottom: 178px; - -} - -.top-infocard-text { - text-align: center; - margin: 73px 0; - max-width: 766px; - filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); - -} - -.top-infocard-title { - font-weight: 500; - font-size: 48px; - line-height: 58px; - text-transform: uppercase; - margin: 14px 0; -} - - -.top-infocard-subtitle { - font-weight: 400; - font-size: 32px; - line-height: 39px; - text-transform: uppercase; - } - -.top-infocard-description { - font-size: 16px; - line-height: 24px; - text-align: left; -} - -.top-cards { - display: grid; - grid-template-columns: repeat(3, max-content); - gap: 21px; - justify-content: center; - margin-bottom: 80px; -} - -.top-card { - display: flex; - flex-direction: column; - align-items: center; - padding: 35px 26px 27px; - box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); -} - -.top-card-image { - display: block; - margin-bottom: 27px; -} - -.top-card-description { - max-width: 299px; - line-height: 24px; - text-align: center; -} - -.middle-cards-wrapper { - display: grid; - grid-template-columns: repeat(3, 1fr); - justify-items: center; - gap: 40px; - margin: 0 72px; - -} - -.middle-cards { - background: #E0E0E0; - margin-bottom: 190px; - -} - -.middle-card { - max-width: 566px; - - -} - -.middle-card-image { - width: 100%; - display: block; - -} - - -.page-footer { - display: flex; - flex-direction: column; - align-items: center; - padding: 38px; - background: black; -} - -.footer-icons { - display: flex; - list-style: none; - -} - -.footer-icon { - margin: 0 8px; - margin-bottom: 16px; -} - -.footer-text { - font-size: 10px; - line-height: 12px; - text-transform: uppercase; - color: #BDBDBD; - -} - -@media screen and (max-width: 414px) { - .main-banner-desktop{ - display: none; - } -} - -@media screen and (min-width: 415px) { - .main-banner-mobile { - display: none; - } -} \ No newline at end of file diff --git a/assests/images/bottom-card-image-01.png b/assets/images/bottom-card-image-01.png similarity index 100% rename from assests/images/bottom-card-image-01.png rename to assets/images/bottom-card-image-01.png diff --git a/assests/images/bottom-card-image-02.png b/assets/images/bottom-card-image-02.png similarity index 100% rename from assests/images/bottom-card-image-02.png rename to assets/images/bottom-card-image-02.png diff --git a/assests/images/bottom-card-image-03.png b/assets/images/bottom-card-image-03.png similarity index 100% rename from assests/images/bottom-card-image-03.png rename to assets/images/bottom-card-image-03.png diff --git a/assests/images/bottom-card-image-04.png b/assets/images/bottom-card-image-04.png similarity index 100% rename from assests/images/bottom-card-image-04.png rename to assets/images/bottom-card-image-04.png diff --git a/assests/images/Rectangle 15.png b/assets/images/bottom-infocard-image-desktop.png similarity index 100% rename from assests/images/Rectangle 15.png rename to assets/images/bottom-infocard-image-desktop.png diff --git a/assets/images/bottom-infocard-image-mobile.png b/assets/images/bottom-infocard-image-mobile.png new file mode 100644 index 0000000..b3ddd7b Binary files /dev/null and b/assets/images/bottom-infocard-image-mobile.png differ diff --git a/assests/images/facebook-icon.png b/assets/images/facebook-icon.png similarity index 100% rename from assests/images/facebook-icon.png rename to assets/images/facebook-icon.png diff --git a/assests/images/instagram-icon.png b/assets/images/instagram-icon.png similarity index 100% rename from assests/images/instagram-icon.png rename to assets/images/instagram-icon.png diff --git a/assests/images/logo-m3academy.svg b/assets/images/logo-m3academy.svg similarity index 100% rename from assests/images/logo-m3academy.svg rename to assets/images/logo-m3academy.svg diff --git a/assests/images/main-banner-desktop.png b/assets/images/main-banner-desktop.png similarity index 100% rename from assests/images/main-banner-desktop.png rename to assets/images/main-banner-desktop.png diff --git a/assests/images/main-banner-mobile.png b/assets/images/main-banner-mobile.png similarity index 100% rename from assests/images/main-banner-mobile.png rename to assets/images/main-banner-mobile.png diff --git a/assests/images/middle-card-image-01.png b/assets/images/middle-card-image-01.png similarity index 100% rename from assests/images/middle-card-image-01.png rename to assets/images/middle-card-image-01.png diff --git a/assests/images/middle-card-image-02.png b/assets/images/middle-card-image-02.png similarity index 100% rename from assests/images/middle-card-image-02.png rename to assets/images/middle-card-image-02.png diff --git a/assests/images/middle-card-image-03.png b/assets/images/middle-card-image-03.png similarity index 100% rename from assests/images/middle-card-image-03.png rename to assets/images/middle-card-image-03.png diff --git a/assests/images/top-card-image-01.png b/assets/images/top-card-image-01.png similarity index 100% rename from assests/images/top-card-image-01.png rename to assets/images/top-card-image-01.png diff --git a/assests/images/top-card-image-02.png b/assets/images/top-card-image-02.png similarity index 100% rename from assests/images/top-card-image-02.png rename to assets/images/top-card-image-02.png diff --git a/assests/images/top-card-image-03.png b/assets/images/top-card-image-03.png similarity index 100% rename from assests/images/top-card-image-03.png rename to assets/images/top-card-image-03.png diff --git a/assests/images/top-infocard-image.png b/assets/images/top-infocard-image.png similarity index 100% rename from assests/images/top-infocard-image.png rename to assets/images/top-infocard-image.png diff --git a/assests/images/youtube-icon.png b/assets/images/youtube-icon.png similarity index 100% rename from assests/images/youtube-icon.png rename to assets/images/youtube-icon.png diff --git a/assets/style/main.css b/assets/style/main.css new file mode 100644 index 0000000..e17c3de --- /dev/null +++ b/assets/style/main.css @@ -0,0 +1,398 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', sans-serif; + color: #000000; +} + +.page-header { + display: flex; + justify-content: center; + padding: 29px 0; + background: #000000; +} + +.header-logo { + display: block; + width: 226.16px; + height: 43px; +} + +.main-banner { + width: 100%; + display: block; +} + +.top-infocard { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 178px; + +} + +.top-infocard-text { + text-align: center; + margin: 73px 0; + max-width: 766px; + filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); + +} + +.top-infocard-title { + font-weight: 500; + font-size: 48px; + line-height: 58px; + text-transform: uppercase; + margin: 14px 0; +} + + +.top-infocard-subtitle { + font-weight: 400; + font-size: 32px; + line-height: 39px; + text-transform: uppercase; + } + +.top-infocard-description { + font-size: 16px; + line-height: 24px; + text-align: left; +} + +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 21px; + + justify-content: center; + margin-bottom: 80px; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 8.45% 7.97% 15.70%; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.top-card-image { + display: block; + margin-bottom: 27px; +} + +.top-card-description { + max-width: 299px; + line-height: 24px; + text-align: center; +} + +.middle-cards-wrapper { + display: flex; + flex-direction: row; + justify-content: center; + gap: 40px; + position: relative; + bottom: -62px; + margin: 0 3.75%; +} + +.middle-cards-2 { + display: flex; + flex-direction: row; + justify-content: center; + gap: 40px; + +} + +.middle-cards { + background: #E0E0E0; + margin-bottom: 190px; + +} + +.middle-card { + max-width: 566px; + + +} + +.middle-card-image { + width: 100%; + display: block; + +} + +.bottom-cards { + display: grid; + grid-template-columns: repeat(4, max-content); + gap: 16px; + justify-content: center; + margin-bottom: 80px; +} + +.bottom-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 8.45% 7.97% 15.70%; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.bottom-card-image { + display: block; + margin-bottom: 27px; +} + +.bottom-card-description { + max-width: 367px; + line-height: 24px; + text-align: center; +} + + +.bottom-infocard { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 116px; +} + +.bottom-infocard-text { + padding: 0 28% 50px; +} + +.bottom-infocard-title { + font-weight: 600; + font-size: 32px; + line-height: 39px; + text-align: center; + +} + +.bottom-infocard-description { + font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; +} + +.bottom-infocard-image { + display: block; + width: 70%; +} + +.page-footer { + display: flex; + flex-direction: column; + align-items: center; + padding: 38px; + background: black; +} + +.footer-icons { + display: flex; + list-style: none; + +} + +.footer-icon { + margin: 0 8px; + margin-bottom: 16px; +} + +.footer-text { + font-size: 10px; + line-height: 12px; + text-transform: uppercase; + color: #BDBDBD; + +} + + +@media screen and (max-width: 413px) { + .top-card-description, .bottom-card-description { + max-width: 280px; + } + + .top-card { + padding: 8.45% 7.97% 15.70%; + } + + .bottom-card { + padding: 8.45% 7.97% 15.70%; + } +} + +@media screen and (min-width: 851px) { + .top-infocard-image { + width: 16%; + } +} + +@media screen and (min-width: 750px) and (max-width: 850px){ + .top-infocard-image { + width: 30%; + } +} + + +@media screen and (max-width: 525px) { + .top-infocard-image { + width: 57%; + } +} + +@media screen and (min-width: 526px) and (max-width: 1199px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } +} + + +@media screen and (min-width: 526px) and (max-width: 1580px) { + + + .bottom-cards { + grid-template-columns: repeat(2, max-content); + } +} + +@media screen and (max-width: 768px) { + .top-cards { + grid-template-columns: repeat(1, max-content); + } + + .bottom-cards { + grid-template-columns: repeat(1, max-content); + } + + .middle-cards-wrapper { + flex-direction: column; + margin: 0 23px; + align-items: center; + gap: 24px; + bottom: -32px; + } + + .middle-cards-2 { + max-width: 566px; + flex-direction: row-reverse; + gap: 14px; + } + .middle-cards { + margin-bottom: 112px; + } + + .main-banner-desktop, .bottom-infocard-image-desktop { + display: none; + } + + .bottom-infocard { + display: flex; + flex-direction: column-reverse; + margin-bottom: 0; + } + + .bottom-cards { + grid-template-columns: repeat(1, max-content); + } + + .bottom-infocard-image{ + width: 100%; + } + +} + + + + @media screen and (min-width: 769px) { + .main-banner-mobile, .bottom-infocard-image-mobile { + display: none; + } + } + + @media screen and (max-width: 1024px) { + .top-infocard { + margin-bottom: 21.88%; + } + + .top-infocard-text { + margin: 73px 29px 65px; + } + + .top-infocard-title { + font-size: 28px; + line-height: 34px; + text-align: center; + margin: 0 0 14px; + } + + .top-infocard-subtitle { + font-size: 20px; + line-height: 24px; + text-align: center; + } + + .top-infocard-description { + text-align: center; + } + + .bottom-infocard-text { + padding: 50px 32px 87px; + } + + .bottom-infocard-title { + font-weight: 600; + font-size: 24px; + line-height: 29px; + text-align: center; + margin-bottom: 9px; + } + + .footer-text { + text-align: center; + } + + } + + @media screen and (min-width: 2500px) { + .main-banner-mobile, .bottom-infocard-image-mobile { + display: none; + } + + .top-infocard-title { + font-size: 96px; + line-height: 116px; + } + + + .top-infocard-subtitle, .bottom-infocard-title { + font-size: 64px; + line-height: 78px; + } + + .top-infocard-description, .bottom-infocard-description { + font-size: 32px; + line-height: 48px; + } + + .top-card-description, .bottom-card-description { + font-size: 32px; + } + + .footer-text { + font-size: 20px; + line-height: 24px; + } + + .top-card-description, .bottom-card-description { + line-height: 48px; + } + } diff --git a/index.html b/index.html index cd4d245..76108fd 100644 --- a/index.html +++ b/index.html @@ -12,19 +12,19 @@ - +
- Banner principal desktop - Banner principal mobile + Banner principal desktop + Banner principal mobile
@@ -36,24 +36,24 @@

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.

- Imagem do infocard do topo + Imagem do infocard do topo
- + Imagem 01 do card do topo

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

- + Imagem 02 do card do topo

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

- + Imagem do card do topo

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

@@ -61,39 +61,88 @@
-
- +
+
+ +
+ +
+ +
-
- -
- -
- -
+
+ +
+ +
+
+ Imagem 01 do card de baixo + +

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.

+
+ +
+ Imagem 02 do card de baixo + +

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.

+
+ +
+ Imagem 03 do card de baixo + +

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.

+
+ +
+ Imagem 04 do card de baixo + +

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.

+
+ +
+ +
+
+

Lorem ipsum dolor sit amet

+ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum. +

+ +

+ Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis. +

+ +

+ Donec finibus turpis vitae lectus interdum rutrum vitae sed augue. +

+
+ + Imagem do infocard de baixo desktop + Imagem do infocard de baixo mobile +