forked from M3-Academy/challenge-landing-page
324 lines
4.3 KiB
CSS
324 lines
4.3 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,
|
|
.top-banner-image-mobile {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.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: 100%;
|
|
max-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%;
|
|
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 414px) {
|
|
.top-banner-image-desktop,
|
|
.bottom-banner-desktop {
|
|
display: none;
|
|
}
|
|
|
|
.column-reverse {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.infocard-subtitle {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.infocard-title {
|
|
font-size: 28px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.infocard-description {
|
|
text-align: center;
|
|
justify-content: center;
|
|
padding-top: 19px;
|
|
}
|
|
|
|
.infocard {
|
|
margin: 73px 27px 0;
|
|
}
|
|
|
|
.cards-wrapper {
|
|
display: block;
|
|
margin: 90px 32px 80px 32px;
|
|
}
|
|
|
|
.card {
|
|
width: 350px;
|
|
margin-top: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.pc-icon-image {
|
|
max-width: 239px;
|
|
}
|
|
|
|
.cards-wrapper2 {
|
|
display: block;
|
|
margin: 80px 23px 98px 23px;
|
|
}
|
|
|
|
.card2 {
|
|
width: 350px;
|
|
margin-top: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.article-description {
|
|
margin: 0 auto 0 auto;
|
|
}
|
|
|
|
.page-footer {
|
|
margin-top: 87px;
|
|
}
|
|
|
|
.article {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.footer-text {
|
|
max-width: 261px;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media screen and (min-width: 415px) {
|
|
.top-banner-image-mobile,
|
|
.bottom-banner-mobile {
|
|
display: none;
|
|
}
|
|
|
|
}
|