@charset "UTF-8"; * { margin: 0; padding: 0; box-sizing: border-box; } /*Header*/ .page-header { display: flex; justify-content: center; align-items: center; background-color: black; height: 101px; } .logo-header { display: block; } /* Body*/ .main-banner { width: 100%; } .section-1 { display: flex; flex-direction: column; text-align: center; justify-content: center; align-items: center; padding: 0 28px; } .main-title { font-family: 'Inter', sans-serif; padding: 73px 0; } .main-title h2, .main-title h1 { text-transform: uppercase; } .main-title h1 { font-size: 48px; line-height: 58px; font-weight: 500; } .main-title h2 { font-size: 32px; line-height: 39px; font-weight: 400; } .main-title p { max-width: 766px; margin-top: 28px; } .computer-image{ max-width: 239px; } .cards-wrapper { display: flex; gap: 21px; margin-top: 179px; } .card { box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); max-width: 350px; padding: 35px 26px 27px 26px; } .card figcaption { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 400; font-size: 16px; line-height: 24px; text-align: center; margin-top: 27px; } .grid-images{ display: flex; justify-content: center; margin-top: 80px; background-color: #E0E0E0; padding: 0 72px; } .grid-images-wrapper{ display: flex; position: relative; bottom: -62px; gap: 39px; } .grid-images-wrapper img{ width: 100%; max-width: 566px; max-height: 530px; } .cards-bottom{ display: flex; flex-wrap: wrap; gap: 16px; text-align: center; justify-content: center; margin-top: 191px; margin-bottom: 108px; } .cards-bottom .card{ max-width: 432px; } @media screen and (max-width:1024px) { .main-title{ padding: 73px 0 65px; } .main-title h1{ font-size: 28px; line-height: 34px; min-height: 49px; } .main-title h2{ font-size: 20px; line-height: 24px; } .main-title p{ margin-top: 0; } .cards-wrapper{ flex-direction: column; margin-top: 90px; padding: 0 4px; } .grid-images{ padding: 0 24px; } .grid-images-wrapper{ display: grid; row-gap: 24px; column-gap: 14px; bottom: -32px; grid-template-areas: "b a" "c c"; grid-template-columns: auto; grid-template-rows: auto; } .grid-image-a{ grid-area: a; } .grid-image-b{ grid-area: b; } .grid-image-c{ grid-area: c; } .grid-images-wrapper img{ max-width: unset; } .cards-bottom{ flex-direction: column; justify-content: center; align-items: center; padding: 0 24px; margin-bottom: 98px; } .card{ max-width: unset; } }