challenge-landing-page-affo.../_assets/css/main.css

238 lines
3.2 KiB
CSS

/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
color: #000000;
}
.page-header {
background: #000000;
padding: 28px 0;
justify-content: center;
display: flex;
}
.top-banner {
display: block;
}
.top-banner-image-desktop {
width: 100%;
}
.top-banner-image-mobile {
width: 100%;
display: none;
}
.infocard {
margin: 73px 25%;
justify-content: center;
}
.infocard-title {
text-align: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-subtitle {
text-align: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-description {
margin-top: 0 8%;
padding-top: 28px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.pc-icon {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 73px;
}
.pc-icon-image {
width: 315px;
}
.cards-wrapper {
gap: 16px;
justify-content: center;
text-align: center;
margin: 129px 72px 74px 72px;
display: flex;
}
.card {
max-width: 350px;
flex-direction: column;
align-items: center;
padding: 0 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image {
margin-top: 35px;
margin-bottom: 15px;
}
.card-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
.fig-container {
display: flex;
background-color: #E0E0E0;
}
.figure-wrapper {
margin-left: 72px;
margin-right: 72px;
}
.fig-image {
width: 100%;
max-width: 566px;
}
.flex-img {
max-width: 100%;
display: block;
}
.flex {
/* background-color: #E0E0E0; */
display: flex;
flex-wrap: nowrap;
max-width: 80%;
margin: 0 auto;
}
.flex > div {
flex: 1 1 566px;
margin: 0 20px;
}
/* bloco 4 cards */
.cards-wrapper2 {
gap: 16px;
justify-content: center;
text-align: center;
margin: 129px 72px 74px 72px;
display: flex;
}
.card2 {
max-width: 350px;
flex-direction: column;
align-items: center;
padding: 0 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image2 {
margin-top: 35px;
margin-bottom: 15px;
}
.card-description2 {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
/* bloco Article */
.article {
margin-top: 108px;
}
.article-title {
text-align: center;
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.article-description {
max-width: 550px;
text-align: center;
font-size: 16px;
line-height: 24px;
margin: 0 auto 50px auto;
}
/* bloco bottom banner */
.bottom-banner {
display: flex;
align-items: center;
justify-content: center;
}
.bottom-banner-desktop {
max-width: 1360px;
width: 71%;
}
.bottom-banner-mobile {
width: 100%;
display: none;
}
/* bloco footer */
.page-footer {
margin-top: 116px;
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
}
.page-footer-icon {
margin-top: 38px;
display: flex;
list-style: none;
}
.footer-text {
text-align: center;
margin: 17px 0 38px;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}