diff --git a/assets/styles/main.css b/assets/styles/main.css index 49a2985..3916fb4 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -11,7 +11,7 @@ body { color: #000000; } -/*Adiciona header desktop e mobile*/ +/*Adiciona header*/ .page-header { display: flex; justify-content: center; @@ -29,9 +29,310 @@ body { width: 100%; } +/*Adiciona top infocard*/ +.top-infocard { + display: flex; + flex-direction: column; + align-items: center; + padding: 70px 0 180px; +} + +.top-infocard-text { + margin-bottom: 70px; + max-width: 766px; +} + +.top-infocard-subtitle { + font-size: 32px; + line-height: 39px; + text-align: center; + text-transform: uppercase; +} + +.top-infocard-title { + font-weight: 500; + font-size: 48px; + line-height: 58px; + padding: 0 0 28px; + text-align: center; + text-transform: uppercase; +} + +.top-infocard-description { + font-size: 16px; + line-height: 24px; + text-align: center; +} + +/*Adiciona top cards*/ +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 0 0 80px; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 36px 26px 26px; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.top-card-image { + display: block; + margin-bottom: 26px; +} + +.top-card-description { + max-width: 300px; + font-size: 16px; + line-height: 24px; + text-align: center; +} + +.middle-banner { + position: relative; + display: flex; + justify-content: center; + margin-bottom: 162px; + padding: 0 72px; +} + +.middle-banner-wrapper { + display: flex; + align-items: center; + gap: 40px; +} + +.middle-banner-image img { + width: 100%; +} + +.middle-banner-background { + position: absolute; + background: #E0E0E0; + height: 85%; + width: 100%; + top: -32px; + left: 0; + z-index: -1; +} + +/*Adiciona bottom card*/ +.bottom-cards { + display: grid; + grid-template-columns: repeat(4, max-content); + gap: 16px; + padding: 0 0 108px 0; + max-width: fit-content; + margin: 0 auto; +} + +.bottom-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 36px 32px 65px; + box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15); +} + +.bottom-card-image { + display: block; + margin-bottom: 18px; +} + +.bottom-card-description { + max-width: 368px; + font-size: 16px; + line-height: 24px; + text-align: center; +} + +/*Adiciona bottom infocard*/ +.bottom-infocard { + display: flex; + flex-direction: column; + align-items: center; + padding: 0px 72px 116px; +} + +.bottom-infocard-image { + max-width: 1360px; + width: 100%; + margin-top: 50px; +} + +.bottom-infocard-text { + max-width: 550px; +} + +.bottom-infocard-title { + font-weight: 600; + font-size: 32px; + line-height: 39px; + text-align: center; +} + +.bottom-infocard-description { + font-size: 16px; + line-height: 24px; + text-align: center; +} + +/*Adiciona footer*/ +.page-footer { + display: flex; + flex-direction: column; + align-items: center; + padding: 38px 0; + background: #000000; +} + +.footer-icons { + display: flex; + list-style: none; + margin-bottom: 16px; +} + +.footer-icon { + margin: 0 8px; +} + +.footer-text { + font-size: 10px; + line-height: 12px; + text-transform: uppercase; + color: #BDBDBD; +} + /*Media Querie*/ @media screen and (max-width: 414px) { .main-banner { content: url('../imagens/main-banner-mobile.png'); } + .bottom-card-description { + font-size: 14px; + } +} + +@media screen and (max-width:1776px) { + .bottom-cards { + grid-template-columns: repeat(2, 1fr); + } + +} + +@media screen and (max-width: 768px) { + .top-cards { + grid-template-columns: 1fr; + padding: 0 32px 80px; + } + + .bottom-cards { + grid-template-columns: 1fr; + padding: 0 24px 98px; + } + + .bottom-infocard { + flex-direction: column-reverse; + padding: 0 0 88px 0; + } + + .bottom-infocard-image { + content: url('../imagens/bottom-banner-mobile.png'); + margin: 0 0 50px 0; + } + + .bottom-infocard-title { + font-size: 24px; + line-height: 20px; + margin: 0 0 18px 0; + } + + .bottom-infocard-description { + padding: 0 30px 0; + } + + .page-footer { + padding-bottom: 26px; + } + + .footer-text { + max-width: 280px; + text-align: center; + } +} + +@media screen and (max-width: 992px) { + .top-infocard { + padding: 70px 30px 90px; + } + + .top-infocard-subtitle { + font-size: 20px; + line-height: 24px; + } + + .top-infocard-title { + font-size: 28px; + line-height: 34px; + } + + .top-infocard-text { + margin: 0 0 65px; + } + + .top-infocard-image { + width: 100%; + max-width: 240px; + } + + .middle-banner { + padding: 0; + margin-bottom: 80px; + } + + .middle-banner-wrapper { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-template-rows: repeat(2, auto); + padding: 30px 23px 0; + margin-bottom: 80px; + gap: 14px; + max-width: 900px; + } + + .middle-banner-image:nth-child(1) { + order: 2; + } + + .middle-banner-image:nth-child(2) { + order: 1; + } + + .middle-banner-image:nth-child(3) { + grid-column: 1 / span 2; + order: 3; + width: 100%; + } + +} + +@media screen and (min-width: 768px) and (max-width: 1200px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } +} + +@media screen and (min-width: 2500px) { + .footer-text { + font-size: 16px; + } + .top-infocard-description, .top-card-description, .bottom-card-description, .bottom-infocard-description { + font-size: 22px; + line-height: 24px; + } } \ No newline at end of file diff --git a/index.html b/index.html index 48a2f9f..3274579 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - +