* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; } header { display: flex; justify-content: center; padding: 28px 0; background-color: #000; } .logo-header { display: block; } .banner-principal { width: 100%; } .container-infocard { display: flex; justify-content: center; align-items: center; padding: 80px 0 96px; } .infocard-text { width: 47.875rem; margin-right: 7.75rem; } .infocard-text h1 { font-weight: 500; font-size: 3rem; text-transform: uppercase; margin-bottom: 1.5rem; } .infocard-text h2 { font-weight: 400; font-size: 2em; text-transform: uppercase; } .infocard-text p { font-weight: 400; font-size: 1rem; line-height: 1.5rem; } .banner-infocard { width: 19.688rem; height: 19.688rem; display: block; } /* container com icones */ .container-icones { background-color: #F0F0F0; width: 100%; padding: 4.625rem 25.875rem; display: flex; justify-content: center; } .container-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr; gap: 20px; grid-template-areas: "container-card1 container-card2 container-card3"; } .container-card1, .container-card2, .container-card3 { width: 100%; min-width: 21.896rem; grid-area: container-card2 container-card3 container-card1; background-color: #FFF; } .container-card1, .container-card2, .container-card3 { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 36px 28px 24px; } .icon-card { width: 6.409rem; height: 6.409rem; display: block; margin: 0 auto; margin-bottom: 28px; } .text-card { font-size: 16px; line-height: 24px; text-align: center; margin-bottom: 28px; color: #000; margin-bottom: 28px; font-weight: 400; } /* Media Queries */ @media screen and (min-width:280px) and (max-width: 1023px) { /* Banner Principal */ .banner-principal-desktop { display: none; } /* Infocard */ .container-infocard { flex-direction: column; padding: 84px 30px 158px; } .infocard-text { margin: 0 0 68px; width: 100%; max-width: 360px; } .infocard-text h1 { width: 100%; max-width: 14.6875rem; font-size: 1.75rem; font-weight: 500; } .infocard-text h2 { font-size: 20px; font-weight: 400; } .infocard-text p { font-size: 1rem; line-height: 24px; } .banner-infocard { height: 15rem; width: 15rem; } /* container banner icones */ .container-icones { background-color: #F0F0F0; width: 100%; padding: 2.375rem 2rem; } .container-cards { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 16px 0px; grid-auto-flow: column dense; grid-template-areas: "container-card1" "container-card2" "container-card3"; } .container-card1 { grid-area: container-card1; } .container-card2 { grid-area: container-card2; } .container-card3 { grid-area: container-card3; } } @media (min-width:1024px) { .banner-principal-mobile { display: none; } } @media screen and (min-width:2500px) { body { background: red; } }