@import url('../font/fonte.css'); /* GLOBAL */ * { box-sizing: border-box; padding: 0; margin: 0; font-family: 'Inter', sans-serif; } body { background-color: #F0F0F0; overflow-x: hidden; } header { width: 100%; height: 100px; display: flex; justify-content: center; align-items: center; background-color: #000; } /* SECTION 1 */ .section1 img { width: 100%; height: auto; } /* SECTION 2 */ .section2 { display: flex; justify-content: center; align-items: center; padding: 80px 0; flex-wrap: wrap; } .container-text { max-width: 766px; } .text-title { font-size: 48px; font-weight: 500; text-transform: uppercase; margin-bottom: 24px; } .text-subtitle { font-size: 32px; font-weight: 400; text-transform: uppercase; } .text-paragraph { font-weight: 400; line-height: 24px; margin-right: 124px; } /* SECTION 3 */ .section3 { padding: 74px 0; display: grid; /* O max-content preenche 100% do espaço disponível, no caso respeitando o tamanho dos card. */ grid-template-columns: repeat(3, max-content); justify-content: center; gap: 20px; background-color: #E5E5E5; flex-wrap: wrap; } .card { text-align: center; background-color: #FFFFFF; padding: 34px 26px; flex-direction: column; box-shadow: 0px 4px 20px 0px #0000003B; } .card img { padding-bottom: 26px; } .card p { line-height: 24px; max-width: 300px; } /* RESPONSIVIDADE -> NOTEBOOK */ @media screen and (min-width: 993px) and (max-width: 1280px) { .container-text { max-width: 520px; } } @media screen and (min-width: 769px) and (max-width: 1200px) { .section3 { grid-template-columns: repeat(2, max-content); } } /* RESPONSIVIDADE -> TABLET */ @media screen and (max-width: 992px) { .container-text { margin: 0 20px; } .text-title { font-size: 28px; } .text-subtitle { font-size: 20px; } .text-paragraph { margin-right: 0; } .container-img img { width: 100%; max-width: 240px; margin: 67px 0 157px 0; } } @media screen and (max-width: 768px) { .section3 { grid-template-columns: 1fr; padding: 37px 0; gap: 16px; } .card { margin: 0 32px; } .card p { max-width: none; } } /* RESPONSIVIDADE -> CELULAR */ @media screen and (max-width: 425px) { .fundo-desktop { display: none; } } @media screen and (min-width: 426px) { .fundo-mobile { display: none; } }