challenge-landing-page-humb.../assets/style/main.css

245 lines
4.4 KiB
CSS

* {
margin:0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color:#000000
}
.page-header{
background: #000000;
display:flex;
justify-content: center;
padding: 29px 0;
}
.header-logo{
display: block;
width: 100%;
}
.main-banner-desktop {
display: block;
width: 100%;
}
.main-banner-mobile {
display: none;
}
@media (max-width: 1024px) {
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
width: 100%;
}
}
@media screen and (max-width:1024px) {
.top-infocard{
padding: 65px 0 90px;
flex-direction: column;
}
.top-infocard-subtitle{
font-size: 20px;
}
.top-infocard-title{
font-size: 28px;
margin-bottom: 20px;
}
.top-infocard-test{
margin: 0 0 66px
}
.top-infocard-image{
max-width: 240px;
width: 100%;
}
}
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
gap: 72px;
flex-direction: column;
padding: 84px 38px 179px;
}
.top-infocard-test{
width: 40%;
margin: 0 auto;
}
.top-infocard-subtitle{
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
.top-infocard-title{
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
margin-bottom: 24px;
}
.top-infocard-title,
.top-infocard-subtitle{
text-align: center;
}
.top-cards{
display: grid;
grid-template-columns: repeat(3, max-content);
background: #F0F0F0;
gap: 20px;
justify-content: center;
padding: 178px 0 80px 0;
}
.top-card{
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
}
.top-card-image{
display: block;
margin-bottom: 26px;
}
.top-card-description{
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
@media screen and (max-width:1024px){
.top-cards{
grid-template-columns: 1fr;
padding: 90px 32px 80px;
}
}
.cards-desktop{
padding: 0 72px;
margin: 80px 0 190px;
background-color: #E0E0E0;
}
.card-dentro{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
justify-content: center;
position: relative;
margin: 0 auto;
gap: 40px;
transform: translateY(4rem);
}
.image-card-desktop{
height: auto;
width: 100%;
display: block;
}
.card-02 {
grid-row: 1;
}
.card-03{
grid-column: initial;
}
.bottom-cards{
display: grid;
grid-template-columns: repeat(4, max-content);
background: #F0F0F0;
gap: 16px;
justify-content: center;
padding: 130px 0 108px 0;
}
.bottom-card{
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
align-items: center;
padding: 35px 32px 65px;
}
.bottom-card-image{
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-text{
display: flex;
justify-content: center;
align-items: center;
margin-top: 50px;
margin-bottom: 50px;
}
.bottom-description{
max-width: 600px;
color: #000;
}
.bottom-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center;
}
.bottom-descriptions{
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (max-width: 1024px){
.bottom-cards{
grid-template-columns: 1fr;
padding: 80px 24px 98px;
}
}
@media screen and (min-width: 1024px) and (max-width: 2048px){
.bottom-cards{
grid-template-columns: 1fr 1fr;
padding: 80px 24px 98px;
}
}
.bottom-text{
display: flex;
justify-content: center;
align-items: center;
}
.bottom-description{
max-width: 550px;
}
.bottom-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center;
}
.bottom-descriptions{
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}