/* primeiro background */ .background-main figure img { width: 100%; height: 700px; top: 0; max-height: 700px; object-fit: cover; } /* primeira seção com imagem e texto */ .first-section { display: flex; align-items: center; justify-content: center; flex-direction: column; margin-top: 73px; position: relative; } .first-section h2 { font-weight: 400; font-size: 32px; line-height: 39px; text-transform: uppercase; color: #000000; } .first-section h1 { font-weight: 500; font-size: 48px; line-height: 58px; text-transform: uppercase; color: #000000; margin-bottom: 28px; } .first-section figure { display: flex; align-items: center; flex-direction: column; } .first-section figcaption { font-weight: 400; font-size: 16px; line-height: 24px; color: #000000; max-width: 766px; margin-bottom: 73px; } /* primeiros cards */ .content-card-container { max-width: 1092px; width: 100%; height: 350px; display: grid; grid-template-columns: repeat(3, 1fr); justify-content: center; align-items: center; gap: 21px; position: relative; margin: auto; } .first-content-card { margin-top: 179px; margin-bottom: 62px; width: 100%; } .first-card figure, .second-card figure, .three-card figure { width: 100%; max-width: 350px; height: 287.68px; background: #FFFFFF; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); display: flex; justify-content: space-around; align-items: center; flex-direction: column; margin: 0px auto; padding: 27px; } .first-card figcaption, .second-card figcaption, .three-card figcaption { max-width: 299px; width: 100%; height: auto; text-align: center; } /* cards com imagem de macbook */ .cards-macbook { width: 100%; height: 530px; background: #E0E0E0; } .cards-macbook-container { max-width: 1776px; width: 100%; height: 530px; display: grid; grid-template-areas: "A B C"; justify-content: center; align-items: center; gap: 39px; position: relative; margin: auto; top: 62px; padding-left: 72px; padding-right: 72px; padding-bottom: 0; padding-top: 62px; } .first-card-macbook figure img,.second-card-macbook figure img,.third-card-macbook figure img{ max-width: 566px; width: 100%; } @media screen and (max-width: 1025px) { .background-main figure img { height: 100%; min-height: 598px; } .first-section { padding: 0 28px; } .first-section h2 { font-size: 20px; line-height: 24px; } .first-section h1 { font-size: 28px; line-height: 34px; text-align: center; } .first-section figure img { width: 100%; max-width: 239px; } .first-section figcaption { text-align: center; } .first-content-card { margin-top: 91px; width: 100%; max-width: 1092px; height: 966px; display: flex; justify-content: center; align-items: center; } .content-card-container { width: 100%; height: 894px; grid-template-columns: repeat(1, 1fr); justify-content: space-around; margin: 0 30px; gap: 24px; } .cards-macbook { grid-gap: 10px; justify-items: center; align-items: center; width: 100%; height: 574px; margin: auto; position: relative; } .cards-macbook-container { display: grid; grid-auto-flow: column; grid-template-areas: "A B" "C C"; column-gap: 14px; row-gap: 24px; justify-items: center; align-items: center; margin: auto; position: relative; padding: 0 23px; } .first-card-macbook { grid-area: A; max-width: 177px; height: auto; } .first-card-macbook figure img { width: 100%; } .second-card-macbook { grid-area: B; max-width: 177px; height: auto; } .second-card-macbook figure img { width: 100%; } .third-card-macbook { grid-area: C; max-width: 368px; height: auto; } .third-card-macbook figure img { width: 100%; } } @media screen and (min-width: 2500px) { .background-main figure img { width: 100%; height: 100%; top: 0; object-fit: cover; position: relative; } }