* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", sans-serif; color: #000000; } header { display: flex; justify-content: center; align-items: center; width: 100%; height: 100px; background: #000000; } .banner-desktop { display: flex; justify-content: center; width: 100%; } .banner-desktop figure img { display: block; width: 100%; } .banner-mobile { display: none; } .infocard { display: flex; flex-direction: column; align-items: center; width: 100%; } .infocard-title { display: flex; flex-direction: column; align-items: center; margin: 74px 0; width: 80%; } .infocard h2 { font-size: 32px; line-height: 39px; text-transform: uppercase; } .infocard h1 { font-weight: 500; font-size: 48px; line-height: 58px; text-transform: uppercase; } .infocard-paragraph { display: flex; justify-content: center; width: 100%; } .infocard p { display: flex; justify-content: center; font-size: 16px; line-height: 24px; margin-top: 28px; width: 100%; } .infocard figure { display: flex; justify-content: center; margin-bottom: 90px; } .cards { display: flex; justify-content: center; margin: 90px 0 80px; width: 100%; } .cards-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; justify-content: center; width: 57%; } .cards-container div { display: flex; flex-direction: column; align-items: center; background: #ffffff; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); padding: 35px 26px 26px; width: 100%; } .cards img { display: block; margin-bottom: 27px; } .cards p { text-align: center; font-size: 16px; line-height: 24px; } @media (max-width: 414px) { .banner-desktop { display: none; } .banner-mobile { display: flex; justify-content: center; width: 100%; } .banner-mobile figure img { width: 100%; } .infocard div { width: 86%; } .infocard h2 { font-size: 20px; line-height: 24px; } .infocard h1 { font-size: 28px; line-height: 34px; } .infocard figure img { width: 58%; } .infocard p { text-align: center; } .cards { margin-top: 0; } } @media (min-width: 350px) and (max-width: 380px) { .cards-container { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } @media (min-width: 280px) and (max-width: 349px) { .cards-container { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }