challenge-landing-page-carl.../assets/styles/main.css

223 lines
3.5 KiB
CSS

* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
justify-content: center;
padding: 29px 0;
background: #000000;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
}
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 73px 0 90px;
}
.infocard text {
max-width: 760px;
}
.text-primario {
text-align: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.text-secundario {
text-align: center;
margin-bottom: 24px;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.text-paragraph{
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-card {
width: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px ;
padding: 74px 0;
background: #FFFFFF;
}
.top-cards {
display: flex;
flex-direction: column;
align-items: center;
max-width: 350px;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.top-card-imagem {
display: block;
margin-bottom: 26px;
}
.top-texto {
max-width: 300px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.banner-quite {
background: #E0E0E0;
padding: 62px 72px 62px;
}
.banner-quite-wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-content: center;
position: relative;
gap: 20px;
top: 140px;
}
.imagem-quite {
max-width: 566px;
display: flex;
align-items: center;
}
.banner-quite-imagem {
display: block;
margin-bottom: 26px;
}
.low-card {
display: grid;
gap: 20px;
padding: 191px 32px 66px;
grid-template-columns: repeat(4, 1fr);
background: #FFFFFF;
}
.low-cards {
display: flex;
flex-direction: column;
align-items: center;
max-width: 432px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.low-card-imagem {
display: block;
margin-bottom: 14px;
}
.low-card-texto {
max-width: 368px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (maw-width: 1400px) {
.imagem-quite {
flex-direction: column;
}
}
@media screen and (max-width: 1200px) {
.banner-quite {
grid-template-columns: 1fr;
padding: 36px 26px;
}
.banner-quite-wrapper {
grid-template-columns: 2fr;
}
}
@media screen and (max-width: 768px) {
.low-card {
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@media screen and (max-width: 768px) {
.top-card {
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@media ( max-width: 1400px) {
.main-banner-desktop{
display: none;
}
}
@media screen and (max-width: 1200px) {
.top-infocard {
flex-direction: column;
}
.infocard text {
margin-right: 0;
}
.text-primario{
font-size: 20px;
}
.text-secundario{
margin-bottom: 24px;
font-size: 28px;
}
.text-paragraph {
width: 100%;
font-size: 20px;
}
.imagem-vetor {
max-width: 315px;
}
}
@media (min-width: 1399px) {
.main-banner-mobile {
display: none;
}
}