forked from M3-Academy/challenge-landing-page
369 lines
5.5 KiB
CSS
369 lines
5.5 KiB
CSS
* {
|
|
margin:0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body{
|
|
font-family: 'Inter', sans-serif;
|
|
color:#000000;
|
|
}
|
|
|
|
/* Header */
|
|
|
|
.page-header{
|
|
background: #000000;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
}
|
|
|
|
.header-logo{
|
|
display: block;
|
|
}
|
|
|
|
/* Banner Principal */
|
|
.main-banner{
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/*Top Infocard*/
|
|
.top-infocard{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 0 96px;
|
|
gap: 73px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width:40%;
|
|
}
|
|
|
|
.top-infocard-subtitle{
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
margin-bottom: 28px;
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-subtitle,
|
|
.top-infocard-title{
|
|
text-align: center;
|
|
}
|
|
|
|
.figure-infocard{
|
|
min-width: 17%;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
min-width: 100%;
|
|
}
|
|
|
|
/* Top Cards */
|
|
.top-cards{
|
|
display: flex;
|
|
gap: 21px;
|
|
justify-content: center;
|
|
padding: 74px 0;
|
|
}
|
|
|
|
.cartao{
|
|
width:18%;
|
|
}
|
|
|
|
.top-card{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 35px 26px 27px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image{
|
|
display: block;
|
|
margin-bottom: 27px;
|
|
width: 29%;
|
|
}
|
|
|
|
.top-card-description{
|
|
width: 85%;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/*Middle Banners*/
|
|
.middle-banners{
|
|
background: #E0E0E0;
|
|
}
|
|
|
|
.middle-banners-wrapper{
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 29%);
|
|
justify-content: center;
|
|
gap: 39px;
|
|
top: 62px;
|
|
|
|
}
|
|
|
|
.middle-banners-image{
|
|
width: 100%;
|
|
}
|
|
|
|
/* Bot Cards */
|
|
.bot-cards{
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding-top: 188px;
|
|
}
|
|
|
|
.cartao-bot{
|
|
width:22%;
|
|
}
|
|
|
|
.bot-card{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 35px 32px 65px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.bot-card-image{
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
width: 24%;
|
|
}
|
|
|
|
.bot-card-image-04{
|
|
width: 19.67%;
|
|
}
|
|
|
|
.bot-card-description{
|
|
width: 85%;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/*Bot Infocard*/
|
|
.bot-infocard{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 108px 0 116px;
|
|
gap: 50px;
|
|
}
|
|
|
|
.bot-infocard-text{
|
|
text-align: center;
|
|
width: 28%;
|
|
}
|
|
|
|
.bot-infocard-title{
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
}
|
|
|
|
.bot-infocard-description{
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.bot-infocard-image{
|
|
width: 100%;
|
|
}
|
|
|
|
/* Footer */
|
|
.page-footer{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 38px 0;
|
|
background: #000000;
|
|
}
|
|
|
|
.footer-icons{
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
.footer-text{
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
text-transform: uppercase;
|
|
color: #BDBDBD;
|
|
}
|
|
|
|
/* BREAKPOINTS */
|
|
|
|
@media screen and (min-width:2500px){
|
|
.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;
|
|
}
|
|
|
|
.top-card-description{
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.bot-card-description{
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.bot-infocard-title{
|
|
font-size: 64px;
|
|
line-height: 78px;
|
|
}
|
|
|
|
.bot-infocard-description{
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.footer-text{
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width:1025px){
|
|
.main-banner-mobile,
|
|
.bot-infocard-image-mobile{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width:1024px) {
|
|
.main-banner-desktop,
|
|
.bot-infocard-image-desktop{
|
|
display: none;
|
|
}
|
|
|
|
.top-infocard{
|
|
gap:65px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width:86%;
|
|
}
|
|
|
|
.top-infocard-subtitle{
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
font-size: 28px;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
text-align: center;
|
|
}
|
|
|
|
.figure-infocard{
|
|
display: flex;
|
|
width: 58%;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
margin: 0 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.top-cards{
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.cartao{
|
|
width: 84%;
|
|
}
|
|
|
|
#image-02{
|
|
order:-1;
|
|
}
|
|
|
|
#image-03{
|
|
grid-area: 2/1/2/3;
|
|
}
|
|
|
|
.middle-banners-wrapper{
|
|
grid-template-columns: repeat(2, 43%);
|
|
column-gap: 14px;
|
|
row-gap: 24px;
|
|
}
|
|
|
|
.bot-cards{
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.cartao-bot{
|
|
width: 88%;
|
|
}
|
|
|
|
.bot-card-image-04{
|
|
width: 23%;
|
|
}
|
|
|
|
.bot-infocard{
|
|
flex-direction: column-reverse;
|
|
padding: 98px 0 87px;
|
|
}
|
|
|
|
.bot-infocard-text{
|
|
width: 84%;
|
|
}
|
|
|
|
.bot-infocard-figure{
|
|
width: 100%;
|
|
}
|
|
|
|
.page-footer{
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
.footer-text{
|
|
width: 63%;
|
|
text-align: center;
|
|
}
|
|
|
|
} |