diff --git a/index.html b/index.html index 87b0598..0049c06 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ alt="Notebook aberto com codigos HTML e CSS."> - +

Lorem ipsum

@@ -73,8 +73,33 @@
+ +
+ + +
+
- +
diff --git a/style/style.css b/style/style.css index 6ac0db1..e1cb4a9 100644 --- a/style/style.css +++ b/style/style.css @@ -5,7 +5,6 @@ font-family: 'Inter', sans-serif; } - /* variaveis de cores */ :root { @@ -16,7 +15,6 @@ --grey-footer: #BDBDBD; } - /* HEADER DA PAGINA */ header { @@ -32,10 +30,6 @@ header { display: block; } -main { - background-color: var(--white); -} - /* BANNER DESKTOP */ @@ -48,7 +42,6 @@ main { display: none; } - /* AREA ABAIXO DO BANNER */ .container-midle-flex { @@ -103,7 +96,7 @@ main { grid-template-areas: "card-1 card-2 card-3"; justify-content: center; - width: 100%; + width: 100%; padding: 10% 22% 4%; } @@ -149,19 +142,55 @@ main { } +/* Banner Mosaico */ +.wrapper-banner { + width: 100%; + background-color: var(--grey); + display: flex; + justify-content: center; + align-items: center; +} +.banner-mosaic { + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: 1fr; + grid-template-areas: "mosaic-img1 mosaic-img2 mosaic-img3"; + gap: 40px; + padding: 0 72px; + transform: translateY(60px); + z-index: 999; +} + +.mosaic-img1 { + grid-area: mosaic-img1; +} + +.mosaic-img2 { + grid-area: mosaic-img2; +} + +.mosaic-img3 { + grid-area: mosaic-img3; +} + +.mosaic-wrapper-img { + width: 100%; + display: block; +} /* Medias Queries*/ -@media (min-width:2500px) { - .container-cards{ +@media screen and (min-width:2500px) { + .container-cards { padding: 6% 30% 4%; } } -@media (max-width:1024px) { + +@media screen and (max-width:1024px) { /* BANNER MOBILE */ .banner-img-desktop { @@ -172,9 +201,6 @@ main { display: block; } - main { - background-color: var(--grey-footer); - } /* AREA ABAIXO DO BANNER */ @@ -223,18 +249,50 @@ main { gap: 24px; grid-auto-flow: row; grid-template-areas: - "card-1" + "card-1" "card-2" "card-3"; justify-content: center; - padding:90px 32px 80px; + padding: 90px 32px 80px; } - -.subtitle-card { - max-width: 72%; - margin: 0 auto; - text-align: center; -} + .subtitle-card { + max-width: 72%; + margin: 0 auto; + text-align: center; + + } + + /*REGIAO DO BANNER MOSAICO */ + + .banner-mosaic { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-template-rows: 2fr; + grid-template-areas: + "mosaic-img2 mosaic-img1" + "mosaic-img3 mosaic-img3"; + gap: 24px 14px; + padding: 0 24px; + transform: translateY(32px); + } + + .img1, + .img2 { + width: 100%; + height: 100%; + min-width: 50%; + min-height: 50%; + } + + .img3 { + min-width: 90%; + min-height: 90%; + } + + + + + } \ No newline at end of file