forked from M3-Academy/challenge-landing-page
343 lines
6.0 KiB
CSS
343 lines
6.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
color: #000000;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
background: #000000;
|
|
}
|
|
|
|
.logo-header {
|
|
display: block;
|
|
max-width: 226px;
|
|
width: 100%;
|
|
}
|
|
|
|
.image-main {
|
|
width: 100%;
|
|
}
|
|
|
|
.first-infocard {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.first-infocard-text {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
padding: 73px 0 73px 0;
|
|
}
|
|
|
|
.first-infocard-subtitle {
|
|
text-transform: uppercase;
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
line-height: 39px;
|
|
}
|
|
|
|
.first-infocard-title {
|
|
text-transform: uppercase;
|
|
font-size: 48px;
|
|
font-weight: 500;
|
|
line-height: 58px;
|
|
}
|
|
|
|
.first-infocard-description {
|
|
max-width: 766px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
padding-top: 28px;
|
|
}
|
|
|
|
.first-infocard-image {
|
|
margin-bottom: 180px;
|
|
}
|
|
|
|
.second-infocard {
|
|
display: grid;
|
|
justify-content: center;
|
|
grid-template-columns: repeat(3,350px);
|
|
gap: 22px;
|
|
}
|
|
|
|
.second-infocard-middle {
|
|
width: 350px;
|
|
height: 288px;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.second-infocard-image {
|
|
margin: 0 auto;
|
|
display: block;
|
|
padding-top: 36px;
|
|
}
|
|
|
|
.second-infocard-text {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
padding: 26px;
|
|
}
|
|
|
|
.banner-middle {
|
|
background: #E0E0E0;
|
|
margin-top: 80px;
|
|
}
|
|
.banner-middle-align {
|
|
display: flex;
|
|
gap: 40px
|
|
}
|
|
.banner-middle-images {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 0 72px;
|
|
position: relative;
|
|
top: 62px;
|
|
gap: 40px;
|
|
}
|
|
|
|
.banner-middle-image {
|
|
max-width: 566px;
|
|
width: 100%;
|
|
}
|
|
|
|
.infocards-bottom {
|
|
display: grid;
|
|
justify-content: center;
|
|
grid-template-columns: repeat(4,432px);
|
|
gap: 16px;
|
|
padding: 192px 72px 0 72px;
|
|
}
|
|
|
|
.infocard-bottom {
|
|
height: 332px;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.infocards-bottom-image {
|
|
margin: 0 auto;
|
|
display: block;
|
|
padding-top: 35px;
|
|
}
|
|
|
|
.infocards-bottom-text {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.second-bottom-infocard {
|
|
margin-top: 108px;
|
|
padding: 32px;
|
|
}
|
|
|
|
.second-bottom-infocard-title {
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.second-bottom-infocard-description {
|
|
max-width: 550px;
|
|
text-align: center;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
padding-bottom: 50px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.second-bottom-infocard-banner {
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
}
|
|
.second-bottom-infocard-image {
|
|
padding: 50px;
|
|
max-width: 1360px;
|
|
width: 100%;
|
|
}
|
|
|
|
.page-footer {
|
|
background: #000000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
.page-footer-text {
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
color: #BDBDBD;
|
|
padding-bottom: 38px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.page-footer-icone {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding-top: 38px;
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 769px) and (max-width: 1270px) {
|
|
|
|
.second-infocard {
|
|
grid-template-columns: repeat(2, 350px);
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 769px) and (max-width: 1780px) {
|
|
|
|
.infocards-bottom {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 368px);
|
|
max-width: 368px;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width:768px){
|
|
.first-infocard-title {
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.first-infocard-subtitle {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.first-infocard-description {
|
|
margin: 28px;
|
|
}
|
|
|
|
.first-infocard-image {
|
|
max-width: 239px;
|
|
max-height: 239px;
|
|
margin-bottom: 90px;
|
|
}
|
|
|
|
.second-infocard {
|
|
grid-template-columns: 350px;
|
|
}
|
|
|
|
.banner-middle-image {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
top: 32px;
|
|
}
|
|
|
|
.banner-middle-images {
|
|
display: flex;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
row-gap: 24px;
|
|
|
|
}
|
|
|
|
.image2, .image1 {
|
|
max-width: 177px;
|
|
}
|
|
|
|
.image3 {
|
|
max-width: 368px;
|
|
}
|
|
|
|
.banner-middle-align {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
column-gap: 14px;
|
|
|
|
}
|
|
|
|
.infocards-bottom {
|
|
display: grid;
|
|
grid-template-columns: repeat(1, 368px);
|
|
max-width: 368px;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.infocards-bottom-text {
|
|
font-size: 14px;
|
|
max-width: 302px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.second-bottom-infocard-text {
|
|
padding: 50px 32px 88px;
|
|
}
|
|
.second-bottom-infocard-title {
|
|
font-size: 24px;
|
|
line-height: 29px;
|
|
}
|
|
|
|
.second-bottom-infocard {
|
|
display: flex;
|
|
padding: 0;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.second-bottom-infocard-image {
|
|
content: url(../imagem/bottom-banner-mobile.png);
|
|
padding: 0;
|
|
max-width: 414px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 415px) {
|
|
.image-main-desktop {
|
|
content: url(../imagem/banner-main-mobile.png);
|
|
}
|
|
.page-footer {
|
|
padding: 32px 18.35%;
|
|
}
|
|
|
|
.page-footer-text {
|
|
max-width: 261px;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.infocards-bottom {
|
|
display: grid;
|
|
grid-template-columns: repeat(1, max-content);
|
|
max-width: 368px;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
|
|
}
|
|
} |