*{ margin: 0; padding: 0; box-sizing: border-box; } body{ font-family: 'Inter', sans-serif; } /* header */ header{ background-color: black; display: flex; align-items: center; justify-content: center; height: 101px; } /* Banner principal */ .top-banner-desktop{ width: 100%; } .top-banner-mobile{ display: none; max-height: 598px; object-fit: cover; } /* info section */ .info-section{ display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 73px 0 80px; } .info-section h2{ text-align: center; font-weight: 400; font-size: 32px; line-height: 39px; } .info-section h1{ text-align: center; font-weight: 500; font-size: 48px; line-height: 58px; } .info-section p{ font-weight: 400; font-size: 16px; line-height: 24px; max-width: 54%; padding: 28px 0 73px; margin: 0 auto; } .info-section img{ width: 100%; max-width: 315px; } /* top cards */ .top-cards{ display: flex; align-items: center; justify-content: center; padding: 74px 0; gap: 20px; } .top-cards-box{ box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(350px,90vw); min-height: 288px; padding: 26px; gap: 30px; } .top-cards-box p{ text-align: center; font-weight: 400; font-size: 16px; line-height: 24px; } .middle-banner{ background-color: #E0E0E0; display: flex; align-items: center; justify-content: center; gap: 39px; padding: 0 72px; } .middle-banner div{ display: flex; gap: 39px; } .middle-banner img{ position: relative; top: 62px; width: 29.48vw; } .middle-banner > img{ max-width: calc(33% -78px); } /* bottom cards */ .bottom-cards{ display: flex; align-items: center; justify-content: center; padding: 191px 72px 108px; gap: 16px; } .bottom-cards-box{ box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.23); display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(432px,90vw); min-height: 332px; padding: 35px 32px 65px 33px; gap: 16px; } .bottom-cards-box p{ text-align: center; font-size: 16px; line-height: 24px; } /* bottom banner */ .bottom-banner{ display: flex; flex-direction: column; align-items: center; } .bottom-banner-text{ max-width: 35%; text-align: center; } .bottom-banner h2{ font-weight: 600; font-size: 32px; line-height: 39px; text-align: center; } .bottom-banner p{ font-size: 16px; line-height: 24px; /* text-align: center; */ padding-bottom: 87px; } .bottom-banner-desktop{ max-width:min(1360px, 70vw); max-height: 276px; margin-bottom: 112px; width: 100%; } .bottom-banner-mobile{ display: none; } footer{ background-color: #000000; height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; } .footer-logo{ display: flex; align-items: center; gap: 16px; } footer p{ font-size: 10px; line-height: 12px; color: #BDBDBD; } @media screen and (min-width: 4000px){ /* info section 4k */ .info-section h2{ font-size: 64px; line-height: 78px; } .info-section h1{ font-size: 96px; line-height: 116px; } .info-section p{ font-size: 32px; line-height: 48px; } /* top cards 4k */ .top-cards-box p{ font-size: 32px; line-height: 48px; } /* bottom cards 4k */ .bottom-cards-box p{ font-size: 32px; line-height: 48px; } /* bottom banner 4k */ .bottom-banner h2{ font-size: 64px; line-height: 78px; } .bottom-banner p{ font-size: 32px; line-height: 48px; } /* footer 4k */ footer p{ font-size: 20px; line-height: 24px; } } @media screen and (min-width: 2000px){ /* info section 2k */ .info-section h2{ font-size: 48px; line-height: 58.5px; } .info-section h1{ font-size: 72px; line-height: 87px; } .info-section p{ font-size: 24px; line-height: 36px; } /* top cards 2k */ .top-cards-box p{ font-size: 24px; line-height: 36px; } /* bottom cards 2k */ .bottom-cards-box p{ font-size: 24px; line-height: 36px; } /* bottom banner 2k */ .bottom-banner h2{ font-size: 48px; line-height: 58.5px; } .bottom-banner p{ font-size: 24px; line-height: 36px; } /* footer 2k */ footer p{ font-size: 15px; line-height: 18px; } } @media screen and (max-width: 1024px){ /* top card mobile */ .top-cards{ flex-direction: column; margin: 0 32px; } /* middle banner */ .middle-banner{ flex-direction: column; padding: 0 23px; gap: 24px; } .middle-banner > img{ max-width: unset; width: 100%; } .middle-banner div{ flex-direction: row-reverse; gap: 14px; justify-content: center; } .middle-banner div > img{ max-width: calc(50% - 7px); width: unset; } /* bottom cards mobile */ .bottom-cards{ flex-direction: column; } /* bottom banner mobile */ .bottom-banner-text{ padding: 0 32px; } } @media screen and (max-width:768px) { /* top banner mobile */ .top-banner-desktop{ display: none; } .top-banner-mobile{ display: unset; width: 100%; } /* info section mobile */ .info-section h2{ max-width: unset; font-size: 20px; line-height: 24px; } .info-section h1{ font-size: 28px; line-height: 34px; } .info-section p{ max-width: unset; padding: 12px 28px 65px; font-size: 16px; line-height: 24px; text-align: center; } .info-section img{ max-width: 239px; } /* top card mobile */ .top-cards{ flex-direction: column; padding: 0 32px; } /* bottom banner mobile */ .bottom-banner-text{ padding: 0 32px; max-width: unset; } .bottom-banner-desktop{ display: none; } .bottom-banner-mobile{ display: unset; width: 100%; margin-bottom: 50px; } /* footer mobile */ footer p{ max-width: 63.04%; } }