forked from M3-Academy/challenge-landing-page
350 lines
5.6 KiB
CSS
350 lines
5.6 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Inter", sans-serif;
|
|
color: #000000;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
padding: 28px 0;
|
|
justify-content: center;
|
|
background-color: #000000;
|
|
}
|
|
|
|
.header-logo {
|
|
display: block;
|
|
}
|
|
|
|
.main-banner {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.top-infocard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 74px 0 180px;
|
|
max-width: 40%;
|
|
margin: 0 auto 0;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.top-infocard-description {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
.top-infocard-text {
|
|
margin-bottom: 74px;
|
|
}
|
|
|
|
.top-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
margin: 0 auto 80px;
|
|
width: 57%;
|
|
}
|
|
|
|
.top-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image {
|
|
display: block;
|
|
margin-top: 35px;
|
|
}
|
|
.top-card-description {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
margin: 26px;
|
|
text-align: center;
|
|
}
|
|
|
|
.middle-banners {
|
|
display: flex;
|
|
justify-content: center;
|
|
background: #e0e0e0;
|
|
width: 100%;
|
|
margin-bottom: 192px;
|
|
}
|
|
|
|
.image-01 {
|
|
grid-area: image01;
|
|
}
|
|
.image-02 {
|
|
grid-area: image02;
|
|
}
|
|
.image-03 {
|
|
grid-area: image03;
|
|
}
|
|
|
|
.middle-banners-wrapper {
|
|
display: grid;
|
|
grid-template-areas: "image01 image02 image03";
|
|
width: 88%;
|
|
gap: 40px;
|
|
position: relative;
|
|
bottom: -62px;
|
|
}
|
|
.mb-imagens {
|
|
width: 100%;
|
|
}
|
|
|
|
.bottom-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin: 0 auto 0;
|
|
width: 92%;
|
|
}
|
|
|
|
.bottom-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.bottom-card-image {
|
|
display: block;
|
|
margin-top: 35px;
|
|
}
|
|
|
|
.bottom-card-description {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
margin: 15px 32px 65px;
|
|
text-align: center;
|
|
}
|
|
|
|
.bottom-infocard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 108px 280px 0px;
|
|
margin-bottom: 116px;
|
|
}
|
|
|
|
.bottom-infocard-text {
|
|
margin-bottom: 50px;
|
|
max-width: 41%;
|
|
}
|
|
|
|
.bottom-infocard-subtitle {
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-align: center;
|
|
}
|
|
.bottom-infocard-description {
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
.bottom-banner-desktop {
|
|
width: 100%;
|
|
}
|
|
|
|
.page-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #000000;
|
|
padding: 38px 0 38px;
|
|
}
|
|
|
|
.footer-icons {
|
|
display: flex;
|
|
list-style: none;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.footer-icon {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.footer-text {
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
color: #bdbdbd;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.main-banner-desktop {
|
|
display: none;
|
|
}
|
|
.bottom-banner-desktop {
|
|
display: none;
|
|
}
|
|
.top-infocard {
|
|
padding: 73px 32px 90px;
|
|
margin: 0 auto 0;
|
|
max-width: 100%;
|
|
}
|
|
.top-infocard-text {
|
|
margin-bottom: 65px;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
.top-infocard-title {
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
margin-bottom: 14px;
|
|
}
|
|
.top-infocard-description {
|
|
line-height: 24px;
|
|
margin-bottom: 0;
|
|
}
|
|
.top-infocard-image {
|
|
width: 100%;
|
|
}
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
margin: 0 auto 80px;
|
|
width: 84%;
|
|
}
|
|
.middle-banners {
|
|
margin-bottom: 112px;
|
|
}
|
|
.middle-banners-wrapper {
|
|
grid-template-areas: "image02 image01 " "image03 image03";
|
|
bottom: -32px;
|
|
row-gap: 24px;
|
|
column-gap: 14px;
|
|
margin: 0 24px 0;
|
|
}
|
|
|
|
.bottom-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin: 0 auto 98px;
|
|
width: 88%;
|
|
}
|
|
|
|
.bottom-card-description {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.bottom-infocard {
|
|
flex-direction: column-reverse;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
.bottom-infocard-text {
|
|
margin-top: 50px;
|
|
max-width: 100%;
|
|
margin: 50px 32px 88px;
|
|
}
|
|
.bottom-infocard-subtitle {
|
|
font-size: 24px;
|
|
line-height: 29px;
|
|
margin-bottom: 9px;
|
|
}
|
|
.bottom-banner-mobile {
|
|
width: 100%;
|
|
}
|
|
.page-footer {
|
|
padding: 32px 76px;
|
|
}
|
|
.footer-text {
|
|
width: 260px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1024px) {
|
|
.main-banner-mobile {
|
|
display: none;
|
|
}
|
|
.bottom-banner-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 2500px) {
|
|
.page-header {
|
|
padding: 56px 0;
|
|
}
|
|
.header-logo {
|
|
width: 200%;
|
|
}
|
|
.top-infocard-text {
|
|
margin-bottom: 0;
|
|
}
|
|
.top-infocard-subtitle {
|
|
font-size: 64px;
|
|
line-height: 78px;
|
|
}
|
|
.top-infocard-title {
|
|
font-size: 96px;
|
|
line-height: 116px;
|
|
}
|
|
.top-infocard-description {
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
.top-infocard-image {
|
|
height: 600px;
|
|
margin: 20px 0 84px;
|
|
}
|
|
.top-card-description {
|
|
font-size: 40px;
|
|
line-height: 40px;
|
|
margin: 50px 30px;
|
|
}
|
|
.top-card-image {
|
|
height: 200px;
|
|
margin-top: 100px;
|
|
}
|
|
}
|