diff --git a/assets/style/main.css b/assets/style/main.css index 0e5bb31..16d21c5 100644 --- a/assets/style/main.css +++ b/assets/style/main.css @@ -15,6 +15,46 @@ body{ } .header-logo{ display: block; + width: 100%; +} + +.main-banner-desktop { + display: block; + width: 100%; + } + .main-banner-mobile { + display: none; + } +@media (max-width: 1024px) { + .main-banner-desktop { + display: none; + } + .main-banner-mobile { + display: block; + width: 100%; + } +} + @media screen and (max-width:1024px) { + .top-infocard{ + padding: 65px 0 90px; + flex-direction: column; + + } + + .top-infocard-subtitle{ + font-size: 20px; + } + .top-infocard-title{ + font-size: 28px; + margin-bottom: 20px; + } + .top-infocard-test{ + margin: 0 0 66px + } + .top-infocard-image{ + max-width: 240px; + width: 100%; + } } .top-infocard{ @@ -24,9 +64,7 @@ body{ gap: 72px; flex-direction: column; padding: 84px 38px 179px; - - -} +} .top-infocard-test{ width: 40%; margin: 0 auto; @@ -40,6 +78,7 @@ body{ .top-infocard-description{ font-size: 16px; line-height: 24px; + text-align: center; } .top-infocard-title{ text-transform: uppercase; @@ -52,14 +91,7 @@ body{ text-align: center; } -.main-banner-desktop { - display: block; - width: 100%; - } - .main-banner-mobile { - display: none; - } - .top-cards{ +.top-cards{ display: grid; grid-template-columns: repeat(3, max-content); background: #F0F0F0; @@ -75,6 +107,7 @@ body{ align-items: center; padding: 26px 26px 34px; + } .top-card-image{ display: block; @@ -86,7 +119,15 @@ body{ line-height: 24px; font-size: 16px; } - .cards-desktop{ + + @media screen and (max-width:1024px){ + .top-cards{ + grid-template-columns: 1fr; + padding: 90px 32px 80px; + } +} + +.cards-desktop{ padding: 0 72px; margin: 80px 0 190px; background-color: #E0E0E0; @@ -114,6 +155,7 @@ body{ grid-column: initial; } + .bottom-cards{ display: grid; grid-template-columns: repeat(4, max-content); @@ -144,7 +186,48 @@ body{ display: flex; justify-content: center; align-items: center; + margin-top: 50px; + margin-bottom: 50px; } + .bottom-description{ + max-width: 600px; + color: #000; + } + .bottom-subtitle{ + font-weight: 600; + font-size: 32px; + line-height: 39px; + text-align: center; + } + .bottom-descriptions{ + font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; +} + +@media screen and (max-width: 1024px){ + .bottom-cards{ + grid-template-columns: 1fr; + padding: 80px 24px 98px; + } + +} + +@media screen and (min-width: 1024px) and (max-width: 2048px){ + .bottom-cards{ + grid-template-columns: 1fr 1fr; + padding: 80px 24px 98px; + } + + } + +.bottom-text{ + display: flex; + justify-content: center; + align-items: center; + } + .bottom-description{ max-width: 550px; } @@ -159,51 +242,4 @@ body{ font-size: 16px; line-height: 24px; text-align: center; -} -@media (max-width: 1024px) { - .main-banner-desktop { - display: none; - } - .main-banner-mobile { - display: block; - width: 100%; - } - -} -@media screen and (max-width:1024px) { - .top-infocard{ - padding: 65px 0 90px; - flex-direction: column; - - } - - .top-infocard-subtitle{ - font-size: 20px; - } - .top-infocard-title{ - font-size: 28px; - margin-bottom: 20px; - } - .top-infocard-test{ - margin: 0 0 66px - } - .top-infocard-image{ - max-width: 240px; - width: 100%; - } -} -@media screen and (max-width:1024px){ - .top-cards{ - grid-template-columns: 1fr; - padding: 90px 32px 80px; - } -@media screen and (max-width: 1024px){ - .bottom-cards{ - grid-template-columns: 1fr; - padding: 80px 24px 98px; - } - -} - - } \ No newline at end of file diff --git a/index-backup.html b/index-backup.html new file mode 100644 index 0000000..3a3423b --- /dev/null +++ b/index-backup.html @@ -0,0 +1,91 @@ + + + + + + + + + Page M3 Academy + + + + + + +
+
+
+ + +
+
+
+

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.

+
+ Banner do infocard do topo +
+
+
+ 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.

+
+ + +
+
+
+
+ Imagem do primeiro card +
+
+ Imagem do segundo card +
+
+ Imagem do terceiro card +
+
+
+
+
+ Imagem do primeiro 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 do segundo 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 do terceiro 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 do quarto 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.

+
+ +
+
+ + + \ No newline at end of file diff --git a/index.html b/index.html index 27fa5ba..0c6741a 100644 --- a/index.html +++ b/index.html @@ -1,90 +1,114 @@ - - - - - - - Page M3 Academy - - - - - - -
-
- - -
-
-
-

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.

-
- Banner do infocard do topo -
-
-
- 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.

-
- -
-
-
-
- Imagem do primeiro card -
-
- Imagem do segundo card -
-
- Imagem do terceiro card -
-
-
-
-
- Imagem do primeiro 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 do segundo 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 do terceiro 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 do quarto 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.

-
- -
-
- + + + + + + + Page M3 Academy + + + + + + + +
+
+ banner principal desktop + banner principal mobile +
+
+
+

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.

+
+ Banner do infocard do topo +
+ +
+
+ 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.

+
+ + +
+ +
+
+
+ Imagem do primeiro card +
+
+ Imagem do segundo card +
+
+ Imagem do terceiro card +
+
+
+ +
+
+ Imagem do primeiro 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 do segundo 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 do terceiro 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 do quarto 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.

+
+ +
+
\ No newline at end of file