.sec1{ position: relative; background-color: #f6f7f8; overflow: hidden; padding: 7.5% 0; } .sec1 h5,.sec1 h1{ text-align: center; font-size: 24px; color: #0c67ba; font-weight: bold; margin-bottom: 1.92em; } .sec1 p{ font-size: 16px; color: #333; line-height: 1.75; margin-bottom: 1.125em; } .sec1 p:last-child{ margin-bottom: 0; } .sec1 p span{ color: #0c67ba; } .sec1 p a{ font-size: inherit; color: inherit; } @media only screen and (max-width:1440px){ .sec1 h5,.sec1 h1{ font-size: 21px; } .sec1 p{ font-size: 14px; } } @media only screen and (max-width:1024px){ .sec1{ padding: 2.5rem 0; } .sec1 h5,.sec1 h1{ font-size: 0.75rem; } .sec1 p{ font-size: 0.625rem; } }