/* ---------- INITIAL ---------- */ * { margin: 0; padding: 0; box-sizing: border-box; } img{ max-width:100%; height:auto; } body { color: #000000; font-family: 'Inter', sans-serif; } /* ---------- HEADER E MAIN BANNER ---------- */ .page__header { display: flex; justify-content: center; background: #000000; padding: 1.87rem 0; } .header__logo { display: block; } .main__banner-desktop { display: block; width: 100%; } .main__banner-mobile { display: none; } /* ---------- TOP TEXTS ---------- */ .top__text { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 84px 30px 179px; gap: 72px; } .top__infocard-text { width: 40%; margin: 0 auto; } .top__infocard-subtitle { text-transform: uppercase; font-weight: 400; font-size: 32px; text-align: center; } .top__infocard-title, .top__infocard-subtitle { text-align: center; } .top__infocard-title { margin-bottom: 24px; text-transform: uppercase; font-weight: 500; font-size: 48px; } .top__infocard-description { line-height: 24px; font-size: 16px; } /* ---------- TOP CARDS ---------- */ .top__cards { display: grid; grid-template-columns: repeat(3, max-content); gap: 20px; justify-content: center; } .top__card { display: flex; flex-direction: column; align-items: center; padding: 26px 26px 34px; background: #FFFFFF; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); width: 100%; } .top__card-image { display: block; margin-bottom: 26px; } .top__card-description { max-width: 300px; font-size: 16px; line-height: 24px; text-align: center; } /* ---------- BOTTOM CARDS ---------- */ .bottom__cards { background: #E0E0E0; padding: 0 72px; margin: 80px 0 191px; } .bottom__cards-container { width: 100%; position: relative; display: grid; justify-content: center; margin: 0 auto; grid-template-columns: repeat(3, 1fr); transform: translateY(4rem); gap: 40px; } .bottom__card img { width: 100%; height: auto; } .bottom__card-image { display: block; } .bottom__card-3 { grid-column: initial; } /* ---------- BOTTOM INFOCARDS ---------- */ .bottom__infocards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 76px 108px; } .bottom__infocard { display: flex; flex-direction: column; align-items: center; padding: 33px 32px 65px; background: #FFFFFF; box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15); min-width: 22%; } .bottom__infocard-image { display: block; margin-bottom: 30px; } .bottom__infocard-description { min-width: 15%; font-size: 16px; text-align: center; } /* ---------- BOTTOM BANNER CONTAINER ---------- */ .bottom__banner-container { display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; } .bottom__banner-desktop { width: 100%; padding: 0 280px 116px; margin-top: 50px; } .bottom__banner-mobile { display: none; } .bottom__title { font-weight: 600; font-size: 32px; } .bottom__text { max-width: 550px; } .bottom__description { font-size: 16px; line-height: 24px; } /* ---------- FOOTER ----------- */ .footer { display: flex; flex-direction: column; align-items: center; background: #000000; padding: 38px 0; } .footer__icons { display: flex; list-style-type: none; margin-bottom: 16px; } .footer__icon { margin: 0 8px; } .footer__text { text-transform: uppercase; line-height: 12px; font-size: 10px; color: #BDBDBD; } /* ---------- MEDIAS QUERIES ---------- */ @media screen and (max-width: 1024px) { /* ---------- MAIN BANNER ---------- */ .main__banner-desktop { display: none; } .main__banner-mobile { display: block; width: 100%; } .bottom__banner-desktop { display: none; } .bottom__banner-mobile { display: block; } /* ---------- TOP TEXTS ---------- */ .top__text { flex-direction: column; padding: 88px 32px 90px; gap: 65px; } .top__infocard-text { width: 100%; margin-right: 0; } .top__infocard-subtitle { font-size: 20px; } .top__infocard-title { margin-bottom: 20px; font-size: 28px; } .top__infocard-image { width: 100%; max-width: 240px; } .top__infocard-description { text-align: center; } /* ---------- TOP CARDS ---------- */ .top__cards { display: grid; grid-template-columns: repeat(3, max-content); gap: 20px; justify-content: center; } .top__card { display: flex; flex-direction: column; align-items: center; padding: 26px 26px 34px; width: 100%; } .top__card-image { max-width: 34%; } /* ---------- BOTTOM CARDS ---------- */ .bottom__cards { padding: 0 24px; margin-bottom: 112px; } .bottom__cards-container { gap: 24px 14px; grid-template-columns: repeat(2, 1fr); transform: translateY(2rem); } .bottom__card img { width: 100%; } .bottom__card-3 { grid-column: 1/3; } .bottom__card-2 { grid-row: 1; } /* ---------- BOTTOM INFOCARDS ---------- */ .bottom__infocards { display: grid; grid-template-columns: repeat(3, max-content); gap: 20px; justify-content: center; padding: 0 0; } .bottom__infocard { display: flex; flex-direction: column; align-items: center; padding: 26px 26px 34px; width: 100%; } .bottom__infocard-image { max-width: 34%; } /* ---------- BOTTOM BANNER CONTAINER ---------- */ .bottom__banner-container { display: flex; flex-direction: column-reverse; } .bottom__title { font-size: 24px; } .bottom__text { padding: 0 32px 87px; } .bottom__banner-desktop { display: none; } .bottom__banner-mobile { width: 100%; display: block; margin-bottom: 50px; } /* ---------- FOOTER ---------- */ .page__footer { padding-bottom: 26px; } .footer__text { max-width: 280px; text-align: center; } } @media screen and (min-width: 769px) and (max-width: 1200px) { .top__cards { grid-template-columns: repeat(2, max-content); } .bottom__infocards { grid-template-columns: repeat(2, max-content); } } @media screen and (max-width: 1200px) { .top__cards { grid-template-columns: 1fr; padding: 0 32px; } .bottom__infocards { grid-template-columns: 1fr; padding: 0 24px 98px; } }